/* 文章页与独立下载页分离 */
.resource-article-header { padding-bottom: 28px; }
.resource-download-cta { margin-top: 22px; padding: 18px 20px; border: 1px solid #dbeafe; border-radius: 12px; background: #f8fbff; }
.resource-download-cta p { margin: 0 0 12px; color: #475569; font-size: 14px; }
.resource-download-cta .btn { border-radius: 8px; padding: 9px 18px; }

/* 独立下载页：按参考站的文件信息、下载地址卡片布局 */
.pc528-download-page { padding: 28px 26px 34px; }
.pc528-download-heading { margin: 0 0 16px; color: #333; font-size: 22px; font-weight: 700; }
.pc528-download-title { margin: 0 0 26px; color: #2ea8f5; font-size: 20px; line-height: 1.5; font-weight: 700; }
.pc528-file-info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 15px; border: 1px solid #dfe5eb; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.pc528-file-row { min-width: 0; color: #009d91; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.pc528-file-row span { color: #009d91; }
.pc528-file-row strong { font-weight: 400; }
.pc528-address-heading { margin-top: 24px; margin-bottom: 16px; }
.pc528-download-notice { margin: 0 0 24px; padding: 10px 16px; border: 1px solid #25d366; border-radius: 10px; color: #087f50; background: #dcfce7; font-size: 15px; line-height: 1.7; }
.pc528-download-notice strong { font-weight: 700; }
.pc528-download-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; padding: 30px 26px; border: 1px solid #dbeafe; border-radius: 15px; background: #f3f7ff; }
.pc528-download-buttons > .pc528-address-heading { margin: 0; flex: 0 0 auto; font-size: 20px; color: #243e68; line-height: 1.4; }
.pc528-download-page > .pc528-section-divider {
    height: 0;
    margin: 12px 0;
    border: 0;
    border-top: 1px dashed #d6e1f0;
    background: transparent;
    opacity: 1;
}
.pc528-download-item { display: inline-flex; align-items: stretch; }
.pc528-download-item > a { display: inline-flex; align-items: center; padding: 12px 19px; border-radius: 10px 0 0 10px; color: #fff; background: #09a9ed; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 5px 14px rgba(14,165,233,.2); }
.pc528-download-page .pc528-download-item > a { background: #2563eb; color: #fff; box-shadow: 0 5px 14px rgba(37,99,235,.18); }
.pc528-download-page .pc528-download-item > a:hover { background: #1d4ed8; color: #fff; }
.pc528-download-page .pc528-download-item > .pc528-pwd { background: #dfeaff; color: #2455cc; border: 0; border-left: 1px solid #c5d8fc; }
.pc528-download-page .pc528-download-item > .pc528-pwd:hover { background: #cdddff; color: #1e40af; }
.pc528-download-page .pc528-download-item > a:focus-visible,
.pc528-download-page .pc528-download-item > .pc528-pwd:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 3px; }
.pc528-pwd { border: 0; border-left: 2px solid rgba(255,255,255,.9); border-radius: 0 10px 10px 0; padding: 0 12px; color: #9a5715; background: #f8d66d; font-weight: 700; cursor: pointer; }
.pc528-pay-box { padding: 22px; border: 1px solid #dbeafe; border-radius: 12px; background: #f8fbff; }
.pc528-pay-box p { margin: 0 0 12px; color: #475569; }
@media (max-width: 767.98px) {
    .pc528-download-page { padding: 20px 15px 26px; }
    .pc528-file-info { grid-template-columns: 1fr; }
    .pc528-download-title { font-size: 17px; }
    .pc528-download-buttons { gap: 12px; padding: 20px 14px; }
    .pc528-download-item > a { font-size: 14px; padding: 10px 13px; }
}
.license-guide-rules { margin: 0 0 15px; padding-left: 20px; color: #475569; font-size: 13px; line-height: 1.85; }
.license-guide-rules li { margin: 2px 0; }

/* 下载页内嵌授权码四套餐 */
.license-mini-packages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #dbeafe; }
.license-mini-package { padding: 12px; border: 1px solid #dbeafe; border-radius: 10px; background: rgba(255,255,255,.72); }
.license-mini-package-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; color: #1e3a8a; font-size: 14px; }
.license-mini-package-head b { color: #2563eb; font-size: 20px; white-space: nowrap; }
.license-mini-package-head small { margin-left: 2px; color: #64748b; font-size: 11px; font-weight: 400; }
.license-mini-package-meta { min-height: 38px; margin: 7px 0 10px; color: #64748b; font-size: 12px; line-height: 1.55; }
.license-mini-package .btn { width: 100%; padding: 6px 8px; border: 1px solid #bfdbfe; border-radius: 7px; background: #eff6ff; color: #2563eb; font-size: 12px; }
.license-mini-package .btn:hover { background: #2563eb; color: #fff; }
@media (max-width: 991.98px) { .license-mini-packages { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575.98px) { .license-mini-packages { grid-template-columns: 1fr; } }

/* 下载页授权说明：重新整理层级与留白 */
.license-guide-card { align-items: flex-start; gap: 22px; margin-top: 30px; padding: 26px 28px 28px; border: 1px solid #d6e5fb; border-radius: 16px; background: linear-gradient(145deg,#f8fbff 0%,#eef6ff 100%); box-shadow: 0 10px 28px rgba(30,64,175,.08); }
.license-guide-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg,#2563eb,#0ea5e9); box-shadow: 0 6px 14px rgba(37,99,235,.22); font-size: 21px; }
.license-guide-body h3 { margin: 1px 0 8px; color: #173b82; font-size: 21px; letter-spacing: -.01em; }
.license-guide-body > p { margin-bottom: 17px; color: #475569; font-size: 15px; line-height: 1.8; }
.license-guide-rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; margin: 0 0 19px; padding: 0; list-style: none; }
.license-guide-rules li { position: relative; margin: 0; padding: 9px 12px 9px 29px; border: 1px solid #dbeafe; border-radius: 9px; background: rgba(255,255,255,.72); color: #475569; font-size: 13px; line-height: 1.55; }
.license-guide-rules li::before { content: '✓'; position: absolute; left: 11px; top: 8px; color: #10b981; font-weight: 800; }
.license-guide-steps { gap: 9px 26px; margin-bottom: 16px; padding-top: 2px; color: #334155; font-size: 13px; }
.license-guide-steps span { font-weight: 600; }
.license-guide-actions { gap: 14px; }
.license-guide-actions .btn { padding: 9px 18px; border-radius: 9px; box-shadow: 0 5px 12px rgba(37,99,235,.2); }
.license-mini-packages { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 22px; padding-top: 20px; }
.license-mini-package { padding: 14px; border: 1px solid #d7e5f7; border-radius: 11px; background: #fff; box-shadow: 0 4px 12px rgba(15,23,42,.04); transition: transform .2s ease, box-shadow .2s ease; }
.license-mini-package:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30,64,175,.1); }
.license-mini-package-head strong { color: #1e3a8a; font-size: 14px; }
.license-mini-package-head b { color: #2563eb; font-size: 21px; }
.license-mini-package-meta { min-height: 42px; margin: 8px 0 11px; color: #64748b; font-size: 12px; line-height: 1.6; }
.license-mini-package .btn { min-height: 34px; font-weight: 600; }
@media (max-width: 767.98px) { .license-guide-card { gap: 14px; padding: 20px 16px; } .license-guide-body h3 { font-size: 18px; } .license-guide-rules { grid-template-columns: 1fr; } }

/* 授权说明区 UI 重绘 v2：简洁套餐面板 */
.license-guide-card {
    display: block;
    margin: 28px 0 8px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.07);
}
.license-guide-card > .license-guide-icon { display: none; }
.license-guide-body { padding: 0; }
.license-guide-body::before {
    content: 'ئىجازەت ۋە سېتىۋېلىش ئۇچۇرى';
    display: block;
    padding: 18px 24px;
    color: #fff;
    background: linear-gradient(110deg,#172554,#1d4ed8);
    font-size: 18px;
    font-weight: 700;
}
.license-guide-body h3 { margin: 0; padding: 20px 24px 4px; color: #172554; font-size: 20px; }
.license-guide-body > p { margin: 0; padding: 0 24px 17px; color: #64748b; font-size: 14px; line-height: 1.7; }
.license-guide-rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; margin: 0 24px 18px; padding: 14px; border: 1px solid #edf2f7; border-radius: 10px; background: #f8fafc; list-style: none; }
.license-guide-rules li { position: relative; margin: 0; padding: 5px 8px 5px 22px; color: #475569; font-size: 12px; line-height: 1.55; }
.license-guide-rules li::before { content: '✓'; position: absolute; left: 0; color: #2563eb; font-weight: 800; }
.license-guide-steps { display: flex; gap: 20px; margin: 0 24px 17px; padding: 0; color: #475569; font-size: 12px; }
.license-guide-steps b { width: 20px; height: 20px; color: #fff; background: #2563eb; }
.license-guide-actions { margin: 0 24px 18px; }
.license-guide-actions .btn { padding: 8px 16px; border-radius: 7px; box-shadow: none; font-size: 13px; }
.license-guide-link { font-size: 12px; }
.license-mini-packages { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0; padding: 18px 24px 24px; border-top: 1px solid #edf2f7; background: #fbfdff; }
.license-mini-package { position: relative; padding: 15px 14px 13px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.license-mini-package::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; border-radius: 10px 10px 0 0; background: #2563eb; }
.license-mini-package:nth-child(2)::before { background: #0ea5e9; }
.license-mini-package:nth-child(3)::before { background: #8b5cf6; }
.license-mini-package:nth-child(4)::before { background: #f59e0b; }
.license-mini-package-head { align-items: center; padding-top: 2px; }
.license-mini-package-head strong { color: #334155; font-size: 14px; }
.license-mini-package-head b { color: #1d4ed8; font-size: 20px; }
.license-mini-package-meta { min-height: 38px; margin: 8px 0 11px; color: #64748b; font-size: 11px; line-height: 1.55; }
.license-mini-package .btn { min-height: 32px; border: 0; border-radius: 6px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 700; }
.license-mini-package .btn:hover { background: #1d4ed8; color: #fff; }
@media (max-width: 991.98px) { .license-mini-packages { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575.98px) { .license-guide-body h3,.license-guide-body > p { padding-left: 16px; padding-right: 16px; } .license-guide-rules { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; } .license-guide-steps,.license-guide-actions { margin-left: 16px; margin-right: 16px; } .license-mini-packages { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; } }

/* 文件信息卡片：紧凑标签式布局 */
.pc528-file-info { gap: 8px 12px; padding: 12px; background: #f8fafc; }
.pc528-file-row { display: flex; align-items: baseline; min-height: 38px; padding: 7px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #0f766e; font-size: 14px; line-height: 1.45; }
.pc528-file-row span { flex: 0 0 auto; margin-right: 7px; color: #475569; font-weight: 700; }
.pc528-file-row strong { overflow-wrap: anywhere; color: #0f766e; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-weight: 500; }
/* 授权说明：减少装饰和冗余留白 */
.license-guide-body::before { padding: 14px 24px; font-size: 16px; }
.license-guide-body h3 { padding-top: 17px; padding-bottom: 3px; font-size: 18px; }
.license-guide-body > p { padding-bottom: 13px; font-size: 13px; }
.license-guide-rules { gap: 6px 10px; margin-bottom: 14px; padding: 11px; }
.license-guide-rules li { padding: 5px 8px 5px 21px; font-size: 12px; }
.license-guide-steps { margin-bottom: 13px; }
.license-mini-packages { padding-top: 15px; padding-bottom: 18px; }
@media (max-width: 767.98px) { .pc528-file-info { grid-template-columns: 1fr; } }

/* 下载页底部网站声明 */
.pc528-site-declaration { margin-top: 24px; padding: 14px 16px; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 12px; line-height: 1.8; text-align: center; }
.pc528-site-declaration strong { color: #475569; font-weight: 700; }

/* 网站声明：参考简洁版权声明样式 */
.pc528-site-declaration { margin-top: 28px; padding: 26px 28px 8px; border-top: 1px dashed #cbd5e1; color: #9ca3af; font-size: 15px; line-height: 1.9; text-align: left; }
.pc528-site-declaration strong { display: block; margin-bottom: 4px; color: #9ca3af; font-size: 16px; }
.pc528-site-declaration p { margin: 0; }
@media (max-width: 575.98px) { .pc528-site-declaration { padding: 20px 15px 6px; font-size: 13px; } }

.pc528-license-mini { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e2e8f0; }
.pc528-license-note { margin: 0 0 12px; color: #475569; font-size: 17px; line-height: 1.8; }
.pc528-download-page .pc528-license-mini { margin-bottom: 0; padding-bottom: 0; }
.pc528-download-page .pc528-license-mini .license-mini-packages { margin-bottom: 0; padding-bottom: 0; }
.pc528-download-page .pc528-site-declaration { margin-top: 12px; padding-top: 16px; }
.pc528-license-mini .license-mini-packages { padding: 0; border-top: 0; background: transparent; }

/* 套餐卡片柔和配色 */
.pc528-license-mini .license-mini-package:nth-child(1) .license-mini-package-head { background: #fff1f2; }
.pc528-license-mini .license-mini-package:nth-child(2) .license-mini-package-head { background: #fff7ed; }
.pc528-license-mini .license-mini-package:nth-child(3) .license-mini-package-head { background: #ecfdf5; }
.pc528-license-mini .license-mini-package:nth-child(4) .license-mini-package-head { background: #eff6ff; }
.pc528-license-mini .license-mini-package:nth-child(1) { border-color: #fecdd3; }
.pc528-license-mini .license-mini-package:nth-child(2) { border-color: #fed7aa; }
.pc528-license-mini .license-mini-package:nth-child(3) { border-color: #a7f3d0; }
.pc528-license-mini .license-mini-package:nth-child(4) { border-color: #bfdbfe; }
.pc528-license-mini .license-mini-package-head strong { color: #334155; }
.pc528-license-mini .license-mini-package-head b { color: #1d4ed8; }

/* 下载页授权卡片整卡柔和填充色 */
.pc528-license-mini .license-mini-package {
    overflow: hidden;
    box-shadow: 0 5px 14px rgba(15,23,42,.06);
}
.pc528-license-mini .license-mini-package:nth-child(1) { background: linear-gradient(145deg, #fff7f8 0%, #fff 72%); }
.pc528-license-mini .license-mini-package:nth-child(2) { background: linear-gradient(145deg, #fffaf1 0%, #fff 72%); }
.pc528-license-mini .license-mini-package:nth-child(3) { background: linear-gradient(145deg, #f1fff8 0%, #fff 72%); }
.pc528-license-mini .license-mini-package:nth-child(4) { background: linear-gradient(145deg, #f1f7ff 0%, #fff 72%); }
.pc528-license-mini .license-mini-package-head { border-radius: 7px; }
.pc528-license-mini .license-mini-package .btn { background: rgba(255,255,255,.72); }
.pc528-license-mini .license-mini-package:nth-child(1) .btn { color: #e11d48; }
.pc528-license-mini .license-mini-package:nth-child(2) .btn { color: #c2410c; }
.pc528-license-mini .license-mini-package:nth-child(3) .btn { color: #047857; }
.pc528-license-mini .license-mini-package:nth-child(4) .btn { color: #1d4ed8; }
.pc528-license-mini .license-mini-package .btn:hover { color: #fff; }

/* Match the download panel: pale blue surfaces and consistent blue accents. */
.pc528-download-page .pc528-license-mini .license-mini-package:nth-child(n) {
    background: #f3f7ff;
    border-color: #dbe7ff;
    box-shadow: 0 4px 12px rgba(37,99,235,.05);
}
.pc528-download-page .pc528-license-mini .license-mini-package::before { background: #3b6df6; }
.pc528-download-page .pc528-license-mini .license-mini-package:nth-child(n) .license-mini-package-head {
    background: transparent;
    padding-bottom: 8px;
}
.pc528-download-page .pc528-license-mini .license-mini-package-head strong { color: #243e68; }
.pc528-download-page .pc528-license-mini .license-mini-package-meta {
    min-height: 94px;
    box-sizing: border-box;
    margin: 4px 0 14px;
    padding: 12px;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    background: #eaf1ff;
    color: #405779;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.pc528-download-page .pc528-license-mini .license-mini-package:nth-child(n) .btn {
    background: #dfeaff;
    color: #2455cc;
}
.pc528-download-page .pc528-license-mini .license-mini-package:nth-child(n) .btn:hover,
.pc528-download-page .pc528-license-mini .license-mini-package:nth-child(n) .btn:focus-visible {
    background: #2563eb;
    color: #fff;
}

/* 文章页底部简洁下载入口 */
.resource-download-cta { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border: 1px solid #dbeafe; border-radius: 12px; background: linear-gradient(110deg,#f8fbff,#eef6ff); }
.resource-download-cta-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; color: #fff; background: #2563eb; font-size: 18px; }
.resource-download-cta-body { min-width: 0; }
.resource-download-cta h3 { margin: 0 0 3px; color: #1e3a8a; font-size: 17px; }
.resource-download-cta p { margin: 0 0 10px; color: #64748b; font-size: 13px; }
.resource-download-cta .btn { border-radius: 7px; padding: 7px 14px; font-size: 13px; }
@media (max-width: 575.98px) { .resource-download-cta { align-items: flex-start; padding: 15px; } }


/* ?????????????????? */
.single .resource-download-frame,
.single .article-declaration-frame {
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15,23,42,.05);
}
.single .resource-download-frame .resource-download-cta {
    margin-top: 0;
    border: 0;
    border-radius: 14px;
}
.single .article-declaration-frame .entry-copyright {
    margin: 0;
    border: 0;
    border-radius: 14px;
}
@media (max-width: 575.98px) {
    .single .resource-download-frame,
    .single .article-declaration-frame { margin-top: 16px; }
}


/* ???????????????????? */
.single .resource-download-frame {
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(118deg, #1d4ed8 0%, #2563eb 52%, #4f46e5 100%);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .22);
}
.single .resource-download-frame .resource-download-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    margin: 0;
    padding: 26px 30px;
    border: 0;
    border-radius: 16px;
    background: transparent;
}
.single .resource-download-frame .resource-download-cta::after {
    content: '';
    position: absolute;
    right: -34px;
    top: -56px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(255,255,255,.045), 0 0 0 42px rgba(255,255,255,.035);
    pointer-events: none;
}
.single .resource-download-frame .resource-download-cta-icon {
    z-index: 1;
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 14px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 7px 16px rgba(15,23,42,.15);
}
.single .resource-download-frame .resource-download-cta-body { z-index: 1; }
.single .resource-download-frame .resource-download-cta h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px;
    letter-spacing: .02em;
}
.single .resource-download-frame .resource-download-cta p {
    margin: 0 0 15px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
}
.single .resource-download-frame .resource-download-cta .btn {
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 8px;
    padding: 9px 18px;
    background: #fff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 7px 14px rgba(15,23,42,.16);
    transition: transform .2s ease, box-shadow .2s ease;
}
.single .resource-download-frame .resource-download-cta .btn:hover {
    transform: translateY(-1px);
    color: #1e40af;
    box-shadow: 0 10px 18px rgba(15,23,42,.22);
}
@media (max-width: 575.98px) {
    .single .resource-download-frame .resource-download-cta { align-items: flex-start; min-height: 0; padding: 22px 20px; }
    .single .resource-download-frame .resource-download-cta h3 { font-size: 19px; }
}


/* ??????????? */
.single .resource-download-frame {
    background: linear-gradient(118deg, #eaf3ff 0%, #e8efff 55%, #f0edff 100%);
    box-shadow: 0 10px 24px rgba(59, 91, 165, .13);
}
.single .resource-download-frame .resource-download-cta::after {
    border-color: rgba(37, 99, 235, .14);
    box-shadow: 0 0 0 20px rgba(37, 99, 235, .035), 0 0 0 42px rgba(37, 99, 235, .025);
}
.single .resource-download-frame .resource-download-cta-icon {
    border-color: rgba(37,99,235,.18);
    background: #dbeafe;
    color: #2563eb;
    box-shadow: 0 6px 14px rgba(37,99,235,.13);
}
.single .resource-download-frame .resource-download-cta h3 { color: #173b82; }
.single .resource-download-frame .resource-download-cta p { color: #425779; }
.single .resource-download-frame .resource-download-cta .btn {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 6px 13px rgba(37,99,235,.22);
}
.single .resource-download-frame .resource-download-cta .btn:hover { background: #1d4ed8; color: #fff; }


/* ??????????????? */
.single .resource-download-frame {
    width: min(100%, 860px);
}
.single .resource-download-frame .resource-download-cta {
    min-height: 124px;
    padding: 20px 24px;
}
.single .resource-download-frame .resource-download-cta h3 { font-size: 20px; }
.single .resource-download-frame .resource-download-cta p { margin-bottom: 12px; }
@media (max-width: 575.98px) {
    .single .resource-download-frame { width: 100%; }
    .single .resource-download-frame .resource-download-cta { min-height: 0; padding: 20px; }
}

/* 恢复下载卡片的大尺寸布局 */
.single .resource-download-frame { width: 100%; }
.single .resource-download-frame { position: relative; }
.single .resource-download-frame .resource-download-cta { min-height: 150px; padding: 26px 30px; }
.single .resource-download-frame .resource-download-cta { padding-right: 48%; }
.single .resource-download-frame .resource-download-cta-body {
    display: flex;
    align-items: center;
    gap: 18px;
}
.single .resource-download-frame .resource-download-cta h3 { margin: 0; white-space: nowrap; }
.single .resource-download-frame .resource-download-cta .btn { white-space: nowrap; }
.single .resource-download-frame .resource-category-intro {
    position: absolute;
    left: 30px;
    right: auto;
    top: auto;
    bottom: 14px;
    width: min(48%, 560px);
    color: #31558f;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
.single .resource-download-frame .resource-download-cta h3 { font-size: 22px; }
.single .resource-download-frame .resource-download-cta p { margin-bottom: 15px; }
@media (max-width: 575.98px) {
    .single .resource-download-frame { width: 100%; }
    .single .resource-download-frame .resource-download-cta { min-height: 0; padding: 22px 20px; }
}

/* 下载入口分类标签 */
.single .resource-download-frame .resource-category-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    position: absolute;
    right: 30px;
    top: 50%;
    width: min(58%, 650px);
    margin: 0;
    transform: translateY(-50%);
}
.single .resource-download-frame .resource-category-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #c7d9f8;
    border-radius: 9px;
    background: rgba(255,255,255,.64);
    color: #31558f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.single .resource-download-frame .resource-category-list a:hover {
    background: #fff;
    transform: translateY(-1px);
}
.single .resource-download-frame .resource-category-list a:nth-child(2) { border-color: #c7e1f5; color: #27607f; }
.single .resource-download-frame .resource-category-list a:nth-child(3) { border-color: #cddcf5; color: #40558f; }
.single .resource-download-frame .resource-category-list a:nth-child(4) { border-color: #d9d1f5; color: #5b4c91; }
.single .resource-download-frame .resource-category-list a:nth-child(5) { border-color: #d5d9ed; color: #4d587e; }
.single .resource-download-frame-top { margin-top: 0; margin-bottom: 20px; }
.single .resource-download-frame-top .resource-download-cta { min-height: 88px; padding: 16px 22px; }
.single .resource-download-frame-top .resource-download-cta-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 18px; }
.single .resource-download-frame-top .resource-download-cta h3 { font-size: 20px; }
.single .resource-download-frame-top .resource-category-list { right: 22px; width: min(62%, 780px); }
.single .resource-download-frame-top .resource-category-list a { min-height: 36px; padding: 6px 8px; font-size: 12px; }
@media (max-width: 900px) {
    .single .resource-download-frame .resource-category-list { width: 54%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .single .resource-download-frame .resource-category-list { position: static; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 20px 20px; transform: none; }
    .single .resource-download-frame .resource-category-intro { position: static; width: auto; margin: 0 20px 10px; text-align: left; }
    .single .resource-download-frame-top { margin-bottom: 16px; }
    .single .resource-download-frame-top .resource-download-cta { min-height: 0; padding: 16px 20px; }
    .single .resource-download-frame .resource-download-cta-body { display: block; }
    .single .resource-download-frame .resource-download-cta h3 { margin-bottom: 12px; }
}

/* Balance the main row above the bottom explanatory line. */
@media (min-width: 576px) {
    .single .resource-download-frame:not(.resource-download-frame-top) .resource-download-cta {
        padding-top: 16px;
        padding-bottom: 36px;
        align-items: center;
    }
    .single .resource-download-frame:not(.resource-download-frame-top) .resource-category-list {
        top: calc(50% - 10px);
        align-items: stretch;
    }
}
.single .resource-download-frame .resource-download-cta-body {
    align-items: center;
}
.single .resource-download-frame .resource-download-cta .btn {
    justify-content: center;
    line-height: 1.5;
}
.single .resource-download-frame .resource-category-list a {
    align-items: center;
    margin-bottom: 0;
}

body.single-post .site-width-related {
    margin-top: 0;
    padding-top: 0;
}

body.single-post .site-width-related > .related-posts {
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

body.single-post .site-width-related .related-posts-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    margin: 12px 0 14px;
    padding: 12px 18px;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    background: linear-gradient(110deg, #eaf2ff, #f3f6ff);
    color: #243e68;
    font-size: 20px;
    line-height: 1.4;
    box-shadow: 0 3px 10px rgba(37,99,235,.04);
}
body.single-post .site-width-related .related-posts-title::before {
    content: none;
}
body.single-post .site-width-related .related-posts-title i {
    color: #3b6ff5;
}

/* Keep the end of the article close to its action buttons. */
body.single-post .content-wrapper .post-content {
    padding-bottom: 0;
    margin-bottom: 0;
}
body.single-post .post-content > :last-child,
body.single-post .post-content > section:last-child > :last-child {
    margin-bottom: 0 !important;
}
body.single-post .content-wrapper .entry-social {
    margin-top: 12px;
    padding-top: 0;
}
body.single-post .content-wrapper .entry-social > .row {
    margin-top: 0 !important;
}


/* Shared download controls: preserve the document's language direction. */
.pc528-download-page { text-align: start; }
.pc528-download-page .pc528-site-declaration { text-align: start; }
.pc528-download-item > a { border-radius: 0; border-start-start-radius: 10px; border-end-start-radius: 10px; }
.pc528-download-page .pc528-download-item > .pc528-pwd { border: 0; border-inline-start: 1px solid #c5d8fc; border-radius: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; }
.pc528-download-item > a:only-child { border-radius: 10px; }
.pc528-download-page .license-mini-package { display: flex; flex-direction: column; }
.pc528-download-page .license-mini-package-meta { flex: 1; }
.pc528-download-page .license-mini-package .btn { margin-top: auto; }
.pc528-pwd bdi { direction: ltr; unicode-bidi: isolate; }
.pc528-download-item img, .btn img.pc-baidu-icon { margin: 0; margin-inline-end: 6px; flex-shrink: 0; object-fit: contain; vertical-align: middle; }
html[dir="rtl"] .pc528-download-page { font-family: inherit; line-height: 1.9; }
html[dir="rtl"] .pc528-file-row { gap: 7px; }
html[dir="rtl"] .pc528-file-row span { margin: 0; }
html[dir="rtl"] .pc528-file-row strong { font-family: inherit; unicode-bidi: plaintext; }
html[dir="rtl"] .pc528-download-page .license-mini-package-meta { font-size: 14px; line-height: 1.9; }
html[dir="rtl"] .pc528-download-page .license-mini-package-head { flex-wrap: wrap; }
html[dir="rtl"] .pc528-download-page .license-mini-package-head strong { font-size: 16px; }
html[dir="rtl"] .license-mini-package-head small { margin: 0; margin-inline-start: 3px; }
html[dir="rtl"] .pc528-download-page .btn { font-family: inherit; }
/* Grid lets longer Uyghur labels grow without covering the download button. */
html[dir="rtl"] .single .resource-download-frame {
    display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: 10px 20px; padding: 22px 26px; min-height: 150px;
}
html[dir="rtl"] .single .resource-download-frame .resource-download-cta {
    min-height: 0; padding: 0; margin: 0; gap: 12px; align-self: center;
}
html[dir="rtl"] .single .resource-download-frame .resource-download-cta::after { display: none; }
html[dir="rtl"] .single .resource-download-frame .resource-download-cta-icon { display: grid; place-items: center; flex-shrink: 0; }
html[dir="rtl"] .single .resource-download-frame .resource-download-cta-body { display: flex; flex-wrap: wrap; gap: 10px; }
html[dir="rtl"] .single .resource-download-frame .resource-download-cta h3 { font-size: 20px; margin: 0; }
html[dir="rtl"] .single .resource-download-frame .resource-download-cta h3 { letter-spacing: normal; }
html[dir="rtl"] .single .resource-download-frame .resource-download-cta .btn { font-size: 15px; padding: 9px 14px; }
html[dir="rtl"] .single .resource-download-frame .resource-category-list {
    position: static; width: 100%; margin: 0; transform: none; align-self: center;
    grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
html[dir="rtl"] .single .resource-download-frame .resource-category-list a { font-size: 14px; line-height: 1.6; padding: 7px 9px; }
html[dir="rtl"] .single .resource-download-frame .resource-category-intro {
    position: static; width: auto; margin: 0; grid-column: 1; grid-row: 2;
    text-align: start; font-size: 14px; line-height: 1.8;
}
html[dir="rtl"] .single .resource-download-frame-top { min-height: 88px; padding: 16px 22px; }
html[dir="rtl"] .single .resource-download-frame-top .resource-category-list { grid-row: 1; }
html[dir="rtl"] .single .article-declaration-frame { margin-top: 16px; }
html[dir="rtl"] body.single-post .article-declaration-frame .entry-copyright { margin-top: 0; margin-bottom: 12px; }
@media (max-width: 767.98px) {
    html[dir="rtl"] .single .resource-download-frame { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 18px; min-height: 0; }
    html[dir="rtl"] .single .resource-download-frame .resource-category-list { grid-column: 1; grid-row: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
    html[dir="rtl"] .single .resource-download-frame .resource-category-intro { grid-row: auto; }
    html[dir="rtl"] .pc528-download-page .license-mini-packages { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
    html[dir="rtl"] .pc528-download-page .license-mini-packages { grid-template-columns: minmax(0,1fr); }
    .pc528-download-item { max-width: 100%; }
    .pc528-download-item > a { overflow-wrap: anywhere; }
}

/* Uyghur download entry: correct font shaping and a single category row. */
html[dir="rtl"] .single .resource-download-frame .resource-download-cta .btn {
    font-family: "UKIJTuz", "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif !important;
    font-weight: 400;
    font-synthesis: none;
    letter-spacing: normal !important;
    text-transform: none;
    white-space: nowrap;
    gap: 8px;
    line-height: 1.8;
}
html[dir="rtl"] .single .resource-download-frame .resource-download-cta .btn > i {
    margin: 0 !important;
    flex: 0 0 auto;
}
html[dir="rtl"] .single .resource-download-frame {
    grid-template-columns: max-content minmax(0, 1fr);
}
html[dir="rtl"] .single .resource-download-frame .resource-download-cta-body {
    flex-wrap: nowrap;
}
html[dir="rtl"] .single .resource-download-frame .resource-category-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-block: 2px;
}
html[dir="rtl"] .single .resource-download-frame .resource-category-list a {
    flex: 1 0 auto;
    min-width: max-content;
    white-space: nowrap;
    font-weight: 400;
    font-size: 13px;
    padding: 7px 10px;
}
@media (max-width: 1199.98px) {
    html[dir="rtl"] .single .resource-download-frame {
        grid-template-columns: minmax(0, 1fr);
    }
    html[dir="rtl"] .single .resource-download-frame .resource-category-list {
        grid-column: 1;
        grid-row: auto;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-category-intro {
        grid-row: auto;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-category-list a {
        flex: 0 0 auto;
    }
}
@media (max-width: 575.98px) {
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta h3 {
        font-size: 17px;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta {
        gap: 8px;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta-body {
        gap: 8px;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta .btn {
        padding-inline: 10px;
        font-size: 14px;
    }
}

/* Align the category buttons with the download controls, above the intro. */
@media (min-width: 1200px) {
    html[dir="rtl"] .single .resource-download-frame .resource-download-cta {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }
    html[dir="rtl"] .single .resource-download-frame .resource-category-list {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }
}

/* Uyghur header login: preserve joined letters and the separate user icon. */
html[dir="rtl"] .action-btn.login-btn {
    font-family: "UKIJTuz", "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif !important;
    letter-spacing: normal !important;
    font-weight: 400;
    font-synthesis: none;
    text-transform: none;
    white-space: nowrap;
}
