/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 12 2026 | 12:06:01 */
/* ============================================================
   桌面版在手机上显示优化
   问题：手机"电脑版"模式下，viewport=980px，物理屏幕=375-430px
   所有内容等比缩小，文字不可读
   
   策略：针对 .puock-auto body 添加基础可读性保障
   ============================================================ */

/* 1. 全局基础：确保最小字号可读 */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 2. Hero轮播图：在桌面版缩小后高度过大 */
.ds-hero-carousel {
    height: 240px !important;
}

.ds-slide-content {
    padding: 20px 24px !important;
}

.ds-slide-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
}

.ds-slide-excerpt {
    font-size: 13px !important;
    -webkit-line-clamp: 1 !important;
}

.ds-slide-cat {
    font-size: 11px !important;
}

/* 3. Hero品牌区：减小整体尺寸 */
.ds-hero {
    padding: 12px 12px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.ds-hero-title {
    font-size: 22px !important;
    letter-spacing: 1px !important;
}

.ds-hero-subtitle {
    font-size: 14px !important;
}

.ds-hero-brand {
    margin-bottom: 12px !important;
}

.ds-hero-shield {
    width: 36px !important;
    height: 42px !important;
}

/* 4. 搜索框：适配缩放后的尺寸 */
.ds-search-input-wrap {
    border-radius: 8px !important;
}

.ds-search-input {
    padding: 10px 8px !important;
    font-size: 14px !important;
}

.ds-search-btn {
    padding: 10px 16px !important;
    font-size: 14px !important;
}

/* 5. 标签区：缩小间距 */
.ds-hero-tags {
    gap: 6px !important;
    margin-bottom: 12px !important;
}

.ds-tag-item {
    padding: 3px 8px !important;
    font-size: 12px !important;
}

.ds-hero-stats {
    gap: 16px !important;
}

.ds-stat-num {
    font-size: 22px !important;
}

.ds-stat-label {
    font-size: 12px !important;
}

/* 6. 文章卡片：确保标题可读 */
.post-item-card .info-title .a-link {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.post-item-card .info-meta {
    font-size: 13px !important;
}

.post-item-card .info-footer {
    font-size: 12px !important;
}

/* 7. 导航栏：确保菜单可点击 */
#header .navbar {
    min-height: 48px !important;
}

/* 8. 侧边栏：在桌面版缩放时优化 */
#sidebar .popular-post-item {
    padding: 8px 0 !important;
}

/* 9. 分类导航标签 */
.ds-cat-tabs {
    gap: 6px !important;
}

.ds-cat-tab {
    padding: 6px 14px !important;
    font-size: 13px !important;
}

/* 10. 确保链接最小点击区域44px（WCAG标准） */
a, button, .ds-tag-item, .ds-cat-tab, .ds-search-btn {
    min-height: 32px !important;
    min-width: 32px !important;
}

/* 11. 轮播分页点：增大点击区域 */
.ds-hero-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
}

