/* =========================================
   排版风格系统 - 一键切换前台的布局
   ========================================= */

/* == 标准版 (default) - 不做任何改动 == */

/* == 宽屏版 (fullwidth) == */
.layout-fullwidth aside.shrink-0 { display: none !important; }
.layout-fullwidth main.max-w-6xl { max-width: 100rem !important; }
.layout-fullwidth .theme-card .p-6 { padding: 2rem; }
.layout-fullwidth img.post-thumb { max-height: 22rem; }
.layout-fullwidth .text-xl.font-bold { font-size: 1.75rem; }

/* == 杂志版 (magazine) == */
.layout-magazine aside.shrink-0 { display: none !important; }
.layout-magazine main.max-w-6xl { max-width: 80rem !important; }
.layout-magazine .flex-1.min-w-0 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.layout-magazine .flex-1.min-w-0 article:first-child {
    grid-column: 1 / -1;
}
.layout-magazine .flex-1.min-w-0 article:not(:first-child) img.h-52 {
    height: 14rem;
}
.layout-magazine .flex-1.min-w-0 article:first-child img.h-52 {
    height: 20rem;
}

/* == 紧凑版 (compact) == */
.layout-compact aside.shrink-0 { display: none !important; }
.layout-compact main.max-w-6xl { max-width: 72rem !important; }
.layout-compact article.theme-card .p-6 { padding: 1rem 1.25rem !important; }
.layout-compact .hero-section { padding: 1.25rem !important; }
.layout-compact img.h-52 { height: 10rem; }
.layout-compact .text-xl.font-bold { font-size: 1rem; }
.layout-compact .mb-4.pt-4 { margin-top: 0.5rem; padding-top: 0.5rem; }
.layout-compact .text-3xl { font-size: 1.75rem !important; }
.layout-compact .text-sm.leading-relaxed.line-clamp-2 { display: none; }
.layout-compact .flex-wrap.gap-2.mb-4 { margin-bottom: 0.25rem; }

/* == 大图版 (hero) == */
.layout-hero aside.shrink-0 { display: none !important; }
.layout-hero main.max-w-6xl { max-width: 80rem !important; }
.layout-hero img.h-52 { height: 24rem; }
.layout-hero .text-xl.font-bold { font-size: 1.5rem; }
.layout-hero article .mb-4.pt-4\:border-t { padding-top: 1rem; }

/* 全局过渡动画 */
main, article, aside, [class*="theme-"], img {
    transition: all 0.35s ease;
}
