:root {
    --ink: #211714;
    --muted: #756960;
    --paper: #fbf7ef;
    --paper-deep: #efe3d0;
    --line: rgba(42, 30, 22, 0.14);
    --red: #a4252d;
    --red-deep: #7e1d23;
    --green: #2f614d;
    --shadow: 0 18px 48px rgba(45, 31, 20, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.58) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px),
        radial-gradient(circle at 15% 8%, rgba(164, 37, 45, 0.08), transparent 28rem),
        linear-gradient(180deg, #fbf8f1 0%, #f4ead9 100%);
    background-size: 24px 24px, 24px 24px, auto, auto;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 2.6vw, 28px);
    min-height: 86px;
    padding: 14px clamp(18px, 5vw, 66px);
    border-bottom: 1px solid rgba(164, 37, 45, 0.24);
    background: rgba(252, 248, 241, 0.94);
    backdrop-filter: blur(18px);
}

.site-brand {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(164, 37, 45, 0.38);
    border-radius: 999px;
    background: #fffaf2;
    box-shadow: 0 10px 30px rgba(93, 39, 25, 0.12);
    color: var(--red-deep);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.site-brand span {
    display: block;
    width: 44px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px clamp(14px, 1.8vw, 24px);
    margin: 0;
    padding: 0;
    color: #40322b;
    font-size: 16px;
    font-weight: 700;
}

.site-nav a,
.site-nav li {
    list-style: none;
}

.site-nav .nav-item {
    position: relative;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
}

.site-nav .has-children > a::before {
    margin-left: 6px;
    order: 2;
    color: var(--muted);
    content: "⌄";
    font-size: 13px;
}

.site-nav .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 30;
    display: grid;
    width: 220px;
    margin: 0;
    padding: 10px;
    transform: translateX(-50%) translateY(8px);
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-nav .sub-menu::before {
    position: absolute;
    top: -14px;
    right: 0;
    left: 0;
    height: 14px;
    content: "";
}

.site-nav .nav-item:hover > .sub-menu,
.site-nav .nav-item:focus-within > .sub-menu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-nav .sub-menu a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 0 10px;
    color: #40322b;
    font-size: 14px;
}

.site-nav .sub-menu a:hover {
    background: rgba(164, 37, 45, 0.08);
    color: var(--red);
}

.site-nav .sub-menu a::after {
    display: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
    color: var(--red);
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    background: var(--red);
    transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.script-toggle {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(164, 37, 45, 0.24);
    background: #fffaf2;
}

.script-toggle button {
    min-width: 34px;
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--red-deep);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
}

.script-toggle button + button {
    border-left: 1px solid rgba(164, 37, 45, 0.16);
}

.script-toggle button.is-active {
    background: var(--red);
    color: #fff;
}

.site-search-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.account-links {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: #40322b;
    font-size: 15px;
    font-weight: 700;
}

.account-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
}

.account-links .account-primary {
    border: 1px solid rgba(164, 37, 45, 0.34);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.72);
    color: var(--red);
}

.site-search-panel {
    position: fixed;
    top: 86px;
    right: clamp(18px, 5vw, 66px);
    z-index: 19;
    width: min(420px, calc(100vw - 36px));
    transform: translateY(-115%);
    transition: transform 0.18s ease;
}

.site-search-panel:focus-within {
    transform: translateY(0);
}

.site-search-panel form {
    display: grid;
    grid-template-columns: 1fr 82px;
    border: 1px solid var(--line);
    background: #fffaf2;
    box-shadow: var(--shadow);
}

.site-search-panel input,
.site-search-panel button {
    min-height: 48px;
    border: 0;
    font: inherit;
}

.site-search-panel input {
    min-width: 0;
    padding: 0 14px;
    background: transparent;
}

.site-search-panel button {
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.site-main {
    min-height: 70vh;
}

body.home .site-main {
    overflow: hidden;
}

.archive-head,
.single-wrap,
.page-wrap {
    width: min(1080px, calc(100% - 36px));
    margin: 42px auto;
}

.archive-head {
    padding: 46px 0 18px;
    text-align: center;
}

.archive-head p,
.single-head p {
    margin: 0 0 10px;
    color: var(--red);
    font-weight: 800;
}

.archive-head h1,
.single-head h1,
.page-head h1 {
    margin: 0;
    color: var(--red-deep);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.18;
}

.post-grid {
    display: grid;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto 70px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.post-card {
    min-width: 0;
}

.post-card a {
    display: block;
    height: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.78);
    box-shadow: 0 8px 24px rgba(42, 30, 22, 0.06);
}

.post-card-cover {
    display: grid;
    min-height: 178px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #5b251f, #2d1d18);
    color: #ead9bd;
    font-size: 34px;
    font-weight: 900;
}

.post-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body {
    padding: 20px;
}

.post-card-body p {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.post-card-body h2 {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.35;
}

.post-card-body span {
    color: var(--red);
    font-weight: 800;
}

.single-wrap,
.page-wrap {
    max-width: 980px;
    margin-top: 56px;
    padding: clamp(22px, 4vw, 54px);
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.82);
    box-shadow: var(--shadow);
}

.single-head,
.page-head {
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.single-head span {
    display: block;
    margin-top: 16px;
    color: var(--muted);
}

.single-content,
.page-content {
    color: #382d27;
    font-size: 18px;
    line-height: 1.9;
}

.single-content p,
.page-content p {
    margin-top: 0;
    margin-bottom: 1.15em;
}

.single-content img,
.page-content img {
    max-width: 100%;
    height: auto;
}

.single-like {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 30px auto 10px;
}

.single-like-button {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #1e73ff;
    border-radius: 50%;
    background: #fff;
    color: #1e73ff;
    cursor: pointer;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.single-like-button:hover {
    transform: translateY(-1px);
    background: #eef5ff;
}

.single-like-button.is-liked,
.single-like-button:disabled {
    background: #1e73ff;
    color: #fff;
    cursor: default;
}

.single-like-button.is-liked:hover,
.single-like-button:disabled:hover {
    transform: none;
}

.single-like p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.single-share,
.comments-wrap {
    max-width: 980px;
    margin: 24px auto 0;
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.86);
    box-shadow: var(--shadow);
}

.single-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 18px;
}

.single-share strong {
    margin-right: 4px;
    color: var(--red-deep);
}

.single-share a,
.single-share button,
.comment-login-box a,
.form-submit input {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(164, 37, 45, 0.22);
    padding: 0 16px;
    background: #fffaf2;
    color: var(--red-deep);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.single-share button,
.form-submit input {
    background: var(--red);
    color: #fff;
}

.comments-wrap {
    padding: clamp(22px, 4vw, 42px);
}

.comments-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 22px;
}

.comments-head h2 {
    margin: 0;
    color: var(--red-deep);
}

.comments-head p,
.comment-meta,
.comment-login-box p,
.no-comments {
    color: var(--muted);
}

.comment-list {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.comment-list .comment {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.comment-author img {
    border-radius: 999px;
}

.comment-content {
    color: #382d27;
    line-height: 1.8;
}

.comment-login-box {
    border-left: 4px solid var(--red);
    padding: 18px;
    background: rgba(164, 37, 45, 0.06);
}

.comment-login-box a + a {
    margin-left: 10px;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    color: var(--red-deep);
    font-weight: 800;
}

.comment-form-comment textarea {
    width: 100%;
    border: 1px solid var(--line);
    padding: 14px;
    background: #fff;
    color: #382d27;
    font: inherit;
    line-height: 1.7;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 34px clamp(18px, 5vw, 66px);
    border-top: 1px solid var(--line);
    background: rgba(63, 42, 28, 0.08);
    color: var(--muted);
}

.site-footer strong {
    display: block;
    color: var(--red-deep);
    font-size: 20px;
}

.site-footer a {
    color: var(--red);
    font-weight: 800;
}

.fallback-home {
    min-height: 72vh;
    padding: 140px 24px;
    text-align: center;
}

@media (max-width: 860px) {
    .site-header {
        grid-template-columns: auto auto;
        gap: 18px;
        min-height: 82px;
        padding: 10px 14px 8px;
    }

    .site-brand {
        width: 74px;
        height: 74px;
        font-size: 18px;
    }

    .site-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        width: calc(100vw - 28px);
        padding: 2px 0 8px;
        font-size: 15px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav .nav-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .site-nav a {
        min-height: 38px;
        border: 1px solid rgba(164, 37, 45, 0.18);
        padding: 0 12px;
        background: rgba(255, 250, 242, 0.82);
    }

    .site-nav .sub-menu {
        display: none;
    }

    .site-actions {
        justify-content: flex-end;
    }

    .site-search-panel {
        top: 132px;
        right: 14px;
        width: calc(100vw - 28px);
    }

    .account-links a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .archive-head,
    .single-wrap,
    .page-wrap,
    .post-grid {
        width: calc(100% - 24px);
    }

    .archive-head {
        margin-top: 24px;
        padding-top: 24px;
    }

    .archive-head h1,
    .single-head h1,
    .page-head h1 {
        font-size: 32px;
    }

    .single-wrap,
    .page-wrap {
        margin-top: 22px;
        padding: 22px 18px;
    }

    .single-content,
    .page-content {
        font-size: 16px;
        line-height: 1.82;
    }

    .single-share,
    .comments-wrap {
        width: calc(100% - 24px);
    }

    .single-share {
        align-items: stretch;
    }

    .single-like {
        margin-top: 24px;
    }

    .single-like-button {
        width: 54px;
        height: 54px;
        font-size: 28px;
    }

    .single-share strong,
    .single-share a,
    .single-share button {
        width: 100%;
    }

    .comments-head {
        display: block;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    body {
        background:
            radial-gradient(circle at 18% 4%, rgba(164, 37, 45, 0.08), transparent 18rem),
            linear-gradient(180deg, #fbf8f1 0%, #f4ead9 100%);
    }

    .site-header {
        grid-template-columns: 58px 1fr;
        gap: 10px;
    }

    .site-brand {
        width: 58px;
        height: 58px;
        font-size: 15px;
    }

    .site-brand span {
        width: 36px;
    }

    .site-actions {
        gap: 8px;
    }

    .script-toggle button {
        min-width: 30px;
        min-height: 30px;
        font-size: 13px;
    }

    .site-search-toggle {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .account-links {
        gap: 4px;
    }

    .account-links a {
        min-height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }

    .site-nav {
        font-size: 14px;
    }

    .site-search-panel {
        top: 112px;
    }

    .site-search-panel form {
        grid-template-columns: 1fr 72px;
    }

    .post-card-cover {
        min-height: 142px;
    }

    .post-card-body {
        padding: 16px;
    }

    .post-card-body h2 {
        font-size: 19px;
    }

    .site-footer {
        padding: 26px 14px;
    }
}


/* Layout polish: lighter chrome, calmer reading, clearer archive cards. */
:root {
    --paper-soft: #fffaf2;
    --gold: #a87b38;
    --soft-shadow: 0 8px 22px rgba(48, 32, 20, 0.07);
}

.site-header {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(252, 248, 241, 0.96);
}

.site-brand {
    width: 70px;
    height: 70px;
    font-size: 17px;
}

.site-brand span {
    width: 42px;
}

.site-nav {
    font-size: 15px;
}

.site-nav a {
    white-space: nowrap;
}

.site-nav .sub-menu {
    border-color: rgba(164, 37, 45, 0.16);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.99);
}

.script-toggle {
    border-radius: 6px;
}

.site-search-toggle {
    width: 42px;
    height: 42px;
}

.site-search-panel {
    top: 78px;
}

.archive-head,
.single-wrap,
.page-wrap {
    margin-top: 34px;
}

.archive-head {
    padding-top: 34px;
    padding-bottom: 12px;
}

.archive-head h1,
.single-head h1,
.page-head h1 {
    font-size: clamp(30px, 4.2vw, 52px);
}

.post-grid {
    gap: 22px;
}

.post-card a {
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.9);
    box-shadow: var(--soft-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card a:hover {
    transform: translateY(-3px);
    border-color: rgba(164, 37, 45, 0.28);
    box-shadow: var(--shadow);
}

.post-card-cover {
    min-height: 172px;
    background:
        linear-gradient(135deg, rgba(168, 123, 56, 0.32), transparent 42%),
        linear-gradient(135deg, #5b251f, #2d1d18);
}

.post-card-body {
    padding: 18px;
}

.post-card-body h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

.post-card-body span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(164, 37, 45, 0.18);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(164, 37, 45, 0.06);
    font-size: 14px;
}

.single-wrap,
.page-wrap {
    margin-top: 38px;
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.9);
}

.single-content,
.page-content {
    font-size: 17px;
    line-height: 1.92;
}

.single-content img,
.page-content img {
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(42, 30, 22, 0.08);
}

.single-content h2,
.single-content h3,
.page-content h2,
.page-content h3 {
    margin: 1.55em 0 0.72em;
    color: var(--red-deep);
    line-height: 1.35;
}

.single-share,
.comments-wrap {
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.9);
}

.single-share a,
.single-share button,
.comment-login-box a,
.form-submit input {
    border-radius: 6px;
}

@media (max-width: 860px) {
    .site-header {
        min-height: 78px;
    }

    .site-brand {
        width: 64px;
        height: 64px;
        font-size: 16px;
    }

    .site-nav a {
        border-radius: 999px;
    }

    .site-search-panel {
        top: 126px;
    }

    .single-wrap,
    .page-wrap {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 560px) {
    body {
        background: linear-gradient(180deg, #fbf8f1 0%, #f4ead9 100%);
    }

    .site-brand {
        font-size: 14px;
    }

    .post-card-cover {
        min-height: 136px;
    }

    .single-head,
    .page-head {
        margin-bottom: 24px;
        padding-bottom: 18px;
    }
}

/* Homepage and download polish, kept in the theme so it overrides plugin defaults. */
:root {
    --cdls-radius: 8px;
    --cdls-soft-shadow: 0 8px 22px rgba(48, 32, 20, 0.07);
}

.cdls-hero {
    min-height: min(620px, calc(100vh - 64px));
    padding-top: 70px;
    padding-bottom: 54px;
}

.cdls-hero::after {
    height: 88px;
}

.cdls-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    font-size: 22px;
}

.cdls-hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.12;
}

.cdls-hero p {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.78;
}

.cdls-search {
    margin-top: 28px;
    overflow: hidden;
    border-width: 6px;
    border-radius: var(--cdls-radius);
}

.cdls-search input,
.cdls-search button {
    min-height: 56px;
}

.cdls-hero-actions a,
.cdls-disk,
.cdls-disk-button,
.cdls-card-link {
    border-radius: 6px;
}

.cdls-hero-stats span {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(18, 12, 9, 0.36);
}

.cdls-values {
    gap: 26px;
    padding-top: 58px;
    padding-bottom: 38px;
}

.cdls-values article {
    border-bottom: 1px solid rgba(32, 23, 19, 0.08);
    padding-bottom: 18px;
}

.cdls-focus {
    gap: 14px;
    margin-bottom: 22px;
}

.cdls-focus a,
.cdls-category-grid a,
.cdls-card,
.cdls-download,
.cdls-page,
.cdls-book {
    border-radius: var(--cdls-radius);
    box-shadow: var(--cdls-soft-shadow);
}

.cdls-focus a {
    padding: 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cdls-focus a:hover,
.cdls-category-grid a:hover,
.cdls-card:hover {
    transform: translateY(-2px);
    border-color: rgba(208, 24, 45, 0.22);
    box-shadow: var(--shadow);
}

.cdls-focus strong {
    font-size: 22px;
}

.cdls-section {
    padding-top: 46px;
    padding-bottom: 46px;
}

.cdls-section-head {
    max-width: 820px;
    margin-bottom: 22px;
}

.cdls-section h2,
.cdls-download h2,
.cdls-book h2 {
    font-size: clamp(27px, 3.4vw, 38px);
}

.cdls-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 12px;
}

.cdls-category-grid a {
    min-height: 68px;
    padding: 18px;
    background:
        linear-gradient(90deg, rgba(208, 24, 45, 0.055), transparent 52%),
        rgba(255, 250, 242, 0.94);
}

.cdls-category-grid a::after {
    content: "\2192";
}

.cdls-card-grid,
.cdls-post-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.cdls-card {
    min-height: 0;
    overflow: hidden;
    border-top: 0;
    padding: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cdls-card > a {
    display: grid;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cdls-card-cover {
    display: grid;
    min-height: 96px;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(168, 123, 56, 0.3), transparent 48%),
        linear-gradient(135deg, #5b251f, #241814);
    color: #f8ead2;
    font-weight: 900;
}

.cdls-card-body {
    display: grid;
    padding: 18px;
    gap: 10px;
}

.cdls-card-body span {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.cdls-card h3 {
    min-height: 0;
    margin: 0;
    font-size: 21px;
}

.cdls-card p {
    margin: 0;
}

.cdls-card strong {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(164, 37, 45, 0.16);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(164, 37, 45, 0.06);
    color: var(--red-deep);
    font-size: 14px;
}

.cdls-download {
    padding: 26px;
}

.cdls-download h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--red-deep);
    font-size: 24px;
}

.cdls-disk-grid {
    gap: 14px;
}

.cdls-disk {
    min-height: 54px;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.cdls-disk:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

@media (max-width: 860px) {
    .cdls-hero {
        padding-top: 46px;
    }

    .cdls-values {
        gap: 18px;
    }

    .cdls-values article {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .cdls-hero {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .cdls-mark {
        width: 74px;
        height: 74px;
        font-size: 18px;
    }

    .cdls-hero h1 {
        font-size: 36px;
    }

    .cdls-hero p {
        font-size: 15px;
    }

    .cdls-search {
        margin-top: 18px;
    }

    .cdls-hero-stats {
        gap: 6px;
    }

    .cdls-focus strong {
        font-size: 20px;
    }

    .cdls-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .cdls-category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cdls-card-body,
    .cdls-download {
        padding: 16px;
    }
}


/* Download compliance notice. */
.cdls-download::after {
    content: "温馨提示：本资源来源于互联网，仅供参考学习使用。若该资源侵犯了您的权益，请通过联系方式反馈处理。";
    display: block;
    margin-top: 18px;
    border: 1px dashed rgba(164, 37, 45, 0.22);
    border-radius: 6px;
    padding: 12px 14px;
    background: rgba(164, 37, 45, 0.045);
    color: #7a6256;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}
