/*
Theme Name: Universal Info
Theme URI: https://example.com/universal-info
Author: Universal Info
Description: 现代综合资讯 WordPress 主题。
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: universal-info
*/
.site-logo { display: block; width: auto; height: 2rem; max-width: min(14rem, 45vw); object-fit: contain; }
.header-search { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--card); }
.header-search input { width: 9rem; border: 0; outline: 0; background: transparent; padding: .45rem .75rem; font-size: .8rem; }
.header-search button { color: var(--muted-foreground); }
.header-search button { border: 0; background: transparent; padding: .35rem .7rem; cursor: pointer; }
.universal-menu-toggle { border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
.universal-menu-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.universal-menu-list > li > a { display: block; border-radius: 999px; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; }
.universal-menu-list > li.current-menu-item > a,
.universal-menu-list > li.current_page_item > a,
.universal-menu-list > li.current-menu-ancestor > a,
.universal-menu-list > li.current-menu-parent > a { background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.universal-menu-list > li { position: relative; }
.universal-menu-list .sub-menu { display: none; position: absolute; top: calc(100% + .35rem); left: 0; z-index: 60; min-width: 11rem; margin: 0; padding: .4rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); box-shadow: 0 12px 30px rgb(15 23 42 / 12%); }
.universal-menu-list > li:hover > .sub-menu,
.universal-menu-list > li:focus-within > .sub-menu { display: block; }
.universal-menu-list .sub-menu a { display: block; border-radius: .5rem; padding: .5rem .65rem; font-size: .8125rem; white-space: nowrap; }
.universal-menu-list .sub-menu a:hover { background: var(--accent); color: var(--accent-foreground); }
.universal-mobile-menu-list { display: flex; flex-direction: column; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.universal-mobile-menu-list a { display: block; border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; }
.universal-mobile-menu-list a:hover { background: var(--accent); }
.universal-mobile-menu-list .sub-menu { display: flex; flex-direction: column; gap: .25rem; margin: .25rem 0 0 .75rem; padding: 0; }
.universal-mobile-panel .header-search input { width: auto; }
@media (max-width: 639px) { .desktop-header-search { display: none; } }
.universal-info-theme a { transition: color .2s ease, border-color .2s ease; }
/* The exported HTML stylesheet does not include the space-y-6 utility. */
.universal-info-theme .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.universal-info-theme .space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }
.universal-info-theme .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: .625rem; }
.universal-info-theme .h-14 { height: 3.5rem; }
.universal-info-theme .left-\[1\.4rem\] { left: 1.4rem; }
.universal-info-theme .left-\[1\.85rem\] { left: 1.85rem; }
.universal-info-theme .text-foreground\/\[0\.035\] { color: color-mix(in oklab, var(--foreground) 3.5%, transparent); }
.universal-info-theme .text-foreground\/90 { color: color-mix(in oklab, var(--foreground) 90%, transparent); }
.universal-info-theme .md\:text-\[2\.6rem\] { font-size: 2.6rem; }
.universal-info-theme .placeholder\:text-white\/70::placeholder { color: rgb(255 255 255 / 70%); }
.universal-info-theme .focus\:border-primary:focus { border-color: var(--primary); }
.universal-info-theme .hover\:border-primary\/40:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.universal-info-theme .sm\:p-4 { padding: 1rem; }
.universal-info-theme .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; }
.universal-info-theme .prose-slate { color: color-mix(in oklab, var(--foreground) 90%, transparent); }
.universal-info-theme .max-w-none { max-width: none; }
.universal-info-theme .lg\:grid-cols-\[minmax\(0\,1fr\)_260px\] { grid-template-columns: minmax(0, 1fr) 260px; }
.universal-info-theme .lg\:grid-cols-\[1fr_300px\] { grid-template-columns: 1fr 300px; }
.universal-info-theme .lg\:grid-cols-\[minmax\(0\,1fr\)_360px\] { grid-template-columns: minmax(0, 1fr) 360px; }
.universal-info-theme .xl\:grid-cols-\[minmax\(0\,1fr\)_400px\] { grid-template-columns: minmax(0, 1fr) 400px; }
@media (min-width: 64rem) {
  .universal-info-theme .lg\:grid-cols-\[minmax\(0\,1fr\)_260px\] { display: grid; }
  .universal-info-theme .lg\:grid-cols-\[1fr_300px\] { display: grid; }
  .universal-info-theme .lg\:grid-cols-\[minmax\(0\,1fr\)_360px\] { display: grid; }
}
@media (min-width: 80rem) {
  .universal-info-theme .xl\:grid-cols-\[minmax\(0\,1fr\)_400px\] { display: grid; }
}
.universal-info-theme .prose img { max-width: 100%; height: auto; }
.universal-info-theme .universal-post-content > p { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.9; color: var(--foreground); }
.universal-info-theme .universal-post-content > h2,
.universal-info-theme .universal-post-content > h3 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 1.25; font-weight: 800; scroll-margin-top: 6rem; }
.universal-info-theme .universal-post-content > blockquote { margin: 2rem 0; padding: 1rem 1.25rem 1rem 1.5rem; border-left: 4px solid var(--primary); border-radius: 0 1rem 1rem 0; background: color-mix(in oklab, var(--primary) 8%, var(--card)); font-size: 1.25rem; line-height: 1.625; }
.universal-info-theme .universal-page-content p { margin-top: 1.25rem; line-height: 1.9; color: color-mix(in oklab, var(--foreground) 90%, transparent); }
.universal-info-theme .universal-page-content h2,
.universal-info-theme .universal-page-content h3 { margin-top: 2.5rem; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.universal-info-theme .page-numbers { display: inline-flex; min-width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; padding: 0 .75rem; color: var(--foreground); text-decoration: none; }
.universal-info-theme .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.universal-info-theme .page-numbers.current { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.universal-info-theme .page-numbers.dots { border-color: transparent; }
/* Reveal 组件依赖 IntersectionObserver；内容在无 JS/静态预览时也必须可见。 */
.reveal { opacity: 1; transform: none; }
