:root {
--primary: #00d4ff;
--primary-dark: #00a8cc;
--accent: #7c3aed;
--accent-light: #a78bfa;
--bg-dark: #0a0e1a;
--bg-card: #111827;
--bg-card-hover: #1a2340;
--bg-body: #060b18;
--text-main: #e2e8f0;
--text-muted: #94a3b8;
--text-heading: #f1f5f9;
--border-color: #1e293b;
--border-glow: rgba(0, 212, 255, 0.15);
--gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
--gradient-card: linear-gradient(145deg, #111827 0%, #0f172a 100%);
--shadow-glow: 0 0 20px rgba(0, 212, 255, 0.08);
--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
--radius: 12px;
--radius-sm: 8px;
--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
--font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
--max-width: 1200px;
--sidebar-width: 320px;
--gap: 24px;
} *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: var(--font-sans);
background: var(--bg-body);
color: var(--text-main);
line-height: 1.75;
min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
color: var(--text-heading);
font-weight: 700;
line-height: 1.3;
margin-bottom: 0.6em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1.2em; }
ul, ol { padding-left: 1.5em; margin-bottom: 1.2em; }
blockquote {
border-left: 3px solid var(--primary);
padding: 1em 1.5em;
margin: 1.5em 0;
background: var(--bg-card);
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
color: var(--text-muted);
font-style: italic;
}
code {
font-family: var(--font-mono);
background: var(--bg-card);
padding: 2px 6px;
border-radius: 4px;
font-size: 0.9em;
color: var(--primary);
}
pre {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
padding: 1.2em;
overflow-x: auto;
margin-bottom: 1.5em;
}
pre code {
background: none;
padding: 0;
color: var(--text-main);
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5em;
}
th, td {
padding: 0.75em 1em;
border: 1px solid var(--border-color);
text-align: left;
}
th {
background: var(--bg-card);
color: var(--primary);
font-weight: 600;
} body::before {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background:
radial-gradient(ellipse 600px 400px at 20% 10%, rgba(0, 212, 255, 0.03), transparent),
radial-gradient(ellipse 500px 300px at 80% 80%, rgba(124, 58, 237, 0.03), transparent);
pointer-events: none;
z-index: -1;
} .site-container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 var(--gap);
}
.content-area {
display: grid;
grid-template-columns: 1fr var(--sidebar-width);
gap: var(--gap);
padding-top: var(--gap);
padding-bottom: 60px;
align-items: start;
}
.content-area.full-width {
grid-template-columns: 1fr;
} .site-header {
background: rgba(10, 14, 26, 0.92);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 1000;
transition: box-shadow var(--transition);
}
.site-header.scrolled {
box-shadow: 0 2px 30px rgba(0, 212, 255, 0.06);
}
.header-inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 var(--gap);
display: flex;
align-items: center;
justify-content: space-between;
height: 68px;
}
.site-brand {
display: flex;
align-items: center;
gap: 12px;
}
.site-brand .logo-icon {
width: 36px;
height: 36px;
background: var(--gradient-primary);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 900;
font-size: 18px;
color: #fff;
flex-shrink: 0;
}
.site-brand .site-logo {
height: 36px !important;
width: auto !important;
max-width: 200px !important;
max-height: 36px !important;
flex-shrink: 0;
border-radius: 6px;
object-fit: contain;
}
.site-brand .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-brand .brand-name {
font-size: 1.15rem;
font-weight: 800;
color: var(--text-heading);
letter-spacing: -0.02em;
}
.site-brand .brand-tagline {
font-size: 0.72rem;
color: var(--text-muted);
letter-spacing: 0.02em;
} .main-nav ul {
list-style: none;
display: flex;
gap: 4px;
padding: 0;
margin: 0;
}
.main-nav a {
display: block;
padding: 8px 16px;
color: var(--text-muted);
font-size: 0.9rem;
font-weight: 500;
border-radius: var(--radius-sm);
transition: all var(--transition);
position: relative;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
color: var(--primary);
background: rgba(0, 212, 255, 0.06);
} .main-nav .sub-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
min-width: 180px;
padding: 6px;
box-shadow: var(--shadow-card);
z-index: 100;
}
.main-nav li:hover > .sub-menu { display: block; }
.main-nav .sub-menu li { position: relative; }
.main-nav .sub-menu a { padding: 8px 14px; font-size: 0.85rem; } .menu-toggle {
display: none;
background: none;
border: none;
color: var(--text-main);
font-size: 1.5rem;
cursor: pointer;
padding: 8px;
} .breadcrumbs {
font-size: 0.82rem;
color: var(--text-muted);
padding: 16px 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.4; } .post-card {
background: var(--gradient-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
overflow: hidden;
transition: all var(--transition);
display: flex;
flex-direction: column;
}
.post-card:hover {
border-color: rgba(0, 212, 255, 0.2);
box-shadow: var(--shadow-glow);
transform: translateY(-2px);
}
.post-card .card-thumb {
position: relative;
aspect-ratio: 16/9;
overflow: hidden;
background: var(--bg-card);
}
.post-card .card-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition);
}
.post-card:hover .card-thumb img { transform: scale(1.03); }
.post-card .card-cat {
position: absolute;
top: 12px;
left: 12px;
background: rgba(0, 212, 255, 0.85);
color: #fff;
font-size: 0.72rem;
font-weight: 600;
padding: 3px 10px;
border-radius: 20px;
backdrop-filter: blur(4px);
}
.post-card .card-body {
padding: 18px 20px 20px;
flex: 1;
display: flex;
flex-direction: column;
}
.post-card .card-title {
font-size: 1.05rem;
font-weight: 700;
line-height: 1.45;
margin-bottom: 8px;
color: var(--text-heading);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.post-card .card-title a { color: inherit; }
.post-card .card-title a:hover { color: var(--primary); }
.post-card .card-excerpt {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 14px;
flex: 1;
}
.post-card .card-meta {
font-size: 0.78rem;
color: var(--text-muted);
display: flex;
gap: 16px;
align-items: center;
opacity: 0.7;
}
.post-card .card-meta svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; } .post-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--gap);
} .featured-slider {
position: relative;
border-radius: var(--radius);
overflow: hidden;
margin-bottom: 36px;
background: var(--bg-card);
border: 1px solid var(--border-color);
}
.slider-track {
position: relative;
width: 100%;
aspect-ratio: 2.4 / 1;
min-height: 280px;
}
.slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
}
.slide.active {
opacity: 1;
pointer-events: auto;
z-index: 1;
}
.slide-thumb {
display: block;
width: 100%;
height: 100%;
position: relative;
}
.slide-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.slide-placeholder {
width: 100%;
height: 100%;
background: var(--bg-card-hover);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: 3rem;
font-weight: 900;
}
.slide-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(6, 11, 24, 0.92) 0%, rgba(6, 11, 24, 0.4) 50%, transparent 100%);
}
.slide-content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 28px 32px;
z-index: 2;
}
.slide-cat {
display: inline-block;
background: rgba(0, 212, 255, 0.85);
color: #fff;
font-size: 0.72rem;
font-weight: 600;
padding: 3px 12px;
border-radius: 20px;
margin-bottom: 10px;
}
.slide-title {
font-size: 1.4rem;
font-weight: 800;
line-height: 1.4;
margin-bottom: 8px;
color: #fff;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.slide-title a { color: inherit; }
.slide-title a:hover { color: var(--primary); }
.slide-excerpt {
font-size: 0.88rem;
color: rgba(255, 255, 255, 0.7);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 10px;
max-width: 70%;
}
.slide-meta {
font-size: 0.78rem;
color: rgba(255, 255, 255, 0.5);
display: flex;
gap: 16px;
} .slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 3;
background: rgba(0, 0, 0, 0.45);
color: #fff;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 1.1rem;
cursor: pointer;
transition: all var(--transition);
display: flex;
align-items: center;
justify-content: center;
}
.slider-btn:hover {
background: rgba(0, 212, 255, 0.6);
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; } .slider-dots {
position: absolute;
bottom: 14px;
right: 32px;
z-index: 3;
display: flex;
gap: 8px;
}
.slider-dots .dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.35);
cursor: pointer;
transition: all var(--transition);
}
.slider-dots .dot.active {
background: var(--primary);
width: 22px;
border-radius: 4px;
} .post-grid.cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.post-grid.cols-3 {
grid-template-columns: repeat(3, 1fr);
}
.post-grid.cols-3 .card-title { font-size: 0.95rem; }
.post-grid.cols-3 .card-excerpt { -webkit-line-clamp: 2; font-size: 0.82rem; }
.post-grid.cols-3 .card-body { padding: 14px 16px 16px; } .category-section {
margin-bottom: 40px;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border-color);
}
.section-title {
font-size: 1.15rem;
font-weight: 700;
color: var(--text-heading);
display: flex;
align-items: center;
gap: 8px;
}
.section-title::before {
content: '';
display: inline-block;
width: 4px;
height: 20px;
background: var(--gradient-primary);
border-radius: 2px;
}
.section-more {
font-size: 0.82rem;
color: var(--text-muted);
transition: color var(--transition);
}
.section-more:hover { color: var(--primary); } .single-post-header {
padding: 32px 0 24px;
}
.single-post-header .post-category {
display: inline-block;
background: rgba(0, 212, 255, 0.1);
color: var(--primary);
font-size: 0.8rem;
font-weight: 600;
padding: 4px 14px;
border-radius: 20px;
margin-bottom: 14px;
}
.single-post-header h1 {
font-size: 1.85rem;
line-height: 1.35;
margin-bottom: 16px;
}
.post-meta-bar {
display: flex;
flex-wrap: wrap;
gap: 20px;
font-size: 0.82rem;
color: var(--text-muted);
align-items: center;
}
.post-meta-bar svg { width: 15px; height: 15px; margin-right: 5px; vertical-align: -2px; opacity: 0.6; }
.post-content-wrap {
background: var(--gradient-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 36px 40px;
max-width: 100%;
overflow: hidden;
}
.post-content h2 {
margin-top: 2em;
padding-bottom: 0.5em;
border-bottom: 1px solid var(--border-color);
}
.post-content h3 { margin-top: 1.6em; }
.post-content img {
border-radius: var(--radius-sm);
margin: 1.5em 0;
max-width: 100%;
height: auto;
}
.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--accent-light); } .post-tags {
margin-top: 32px;
padding-top: 20px;
border-top: 1px solid var(--border-color);
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.post-tags a {
display: inline-block;
padding: 4px 14px;
font-size: 0.8rem;
background: rgba(124, 58, 237, 0.1);
color: var(--accent-light);
border-radius: 20px;
transition: all var(--transition);
}
.post-tags a:hover {
background: rgba(124, 58, 237, 0.2);
color: #fff;
} .post-featured-img {
max-width: 100%;
overflow: hidden;
text-align: center;
} .ad-slot {
margin: 20px 0;
text-align: center;
overflow: hidden;
clear: both;
}
.ad-slot:empty { display: none; }
.ad-before_content { margin-bottom: 24px; }
.ad-after_content { margin-top: 24px; }
.ad-after_comments { margin-top: 32px; }
.ad-sidebar {
margin: 0;
text-align: center;
}
.ad-slot img {
max-width: 100%;
height: auto;
}
.ad-slot iframe {
max-width: 100%;
}
.post-featured-img img {
display: block;
max-width: 100%;
width: auto;
height: auto;
max-height: 500px;
object-fit: contain;
border-radius: var(--radius);
margin: 0 auto;
} .author-box {
display: flex;
gap: 20px;
padding: 24px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
margin-top: 32px;
}
.author-box .author-avatar {
width: 64px;
height: 64px;
border-radius: 50%;
flex-shrink: 0;
border: 2px solid var(--primary);
}
.author-box .author-name { font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.author-box .author-bio { font-size: 0.88rem; color: var(--text-muted); } .related-posts {
margin-top: 40px;
}
.related-posts .post-grid {
grid-template-columns: repeat(3, 1fr);
} .post-navigation {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap);
margin-top: 32px;
}
.post-navigation a {
display: block;
padding: 20px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
transition: all var(--transition);
}
.post-navigation a:hover {
border-color: rgba(0, 212, 255, 0.2);
box-shadow: var(--shadow-glow);
}
.post-navigation .nav-label {
display: block;
font-size: 0.78rem;
color: var(--text-muted);
margin-bottom: 6px;
}
.post-navigation .nav-title {
font-size: 0.92rem;
color: var(--text-heading);
font-weight: 600;
} .site-sidebar {
position: sticky;
top: 92px;
}
.widget {
background: var(--gradient-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 22px;
margin-bottom: var(--gap);
}
.widget-title {
font-size: 0.95rem;
font-weight: 700;
margin-bottom: 16px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
gap: 8px;
}
.widget-title::before {
content: '';
display: inline-block;
width: 3px;
height: 16px;
background: var(--gradient-primary);
border-radius: 2px;
}
.widget ul {
list-style: none;
padding: 0;
margin: 0;
}
.widget li {
padding: 8px 0;
border-bottom: 1px solid rgba(30, 41, 59, 0.5);
font-size: 0.88rem;
}
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--text-muted); }
.widget li a:hover { color: var(--primary); } .recent-post-item {
display: flex;
gap: 14px;
padding: 10px 0;
border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-item .rp-thumb {
width: 72px;
height: 54px;
border-radius: 6px;
overflow: hidden;
flex-shrink: 0;
background: var(--bg-dark);
}
.recent-post-item .rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-item .rp-title {
font-size: 0.85rem;
font-weight: 600;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
color: var(--text-main);
}
.recent-post-item .rp-title:hover { color: var(--primary); }
.recent-post-item .rp-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; } .rc-item {
display: flex;
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid rgba(30, 41, 59, 0.5);
align-items: flex-start;
color: var(--text-muted);
}
.rc-item:last-child { border-bottom: none; }
.rc-item:hover { color: var(--primary); }
.rc-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
flex-shrink: 0;
border: 1px solid var(--border-color);
}
.rc-body { flex: 1; min-width: 0; }
.rc-author {
font-size: 0.82rem;
font-weight: 600;
color: var(--text-heading);
margin-bottom: 2px;
}
.rc-text {
font-size: 0.8rem;
color: var(--text-muted);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.rc-post {
font-size: 0.72rem;
color: var(--text-muted);
opacity: 0.6;
margin-top: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .widget-about .about-avatar {
width: 72px;
height: 72px;
border-radius: 50%;
border: 2px solid var(--primary);
margin-bottom: 14px;
}
.widget-about .about-name { font-size: 1.05rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.widget-about .about-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; } .cat-list a {
display: flex;
justify-content: space-between;
padding: 8px 0;
border-bottom: 1px solid rgba(30, 41, 59, 0.5);
color: var(--text-muted);
font-size: 0.88rem;
}
.cat-list a:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--primary); }
.cat-list .count {
background: rgba(0, 212, 255, 0.1);
color: var(--primary);
font-size: 0.75rem;
padding: 1px 8px;
border-radius: 10px;
} .comments-area {
margin-top: 40px;
}
.comments-area .comments-title {
font-size: 1.1rem;
margin-bottom: 24px;
}
.comment-list {
list-style: none;
padding: 0;
}
.comment-list .comment {
padding: 20px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
margin-bottom: 16px;
}
.comment-list .children { margin-left: 32px; margin-top: 16px; }
.comment-author img { border-radius: 50%; margin-right: 12px; float: left; }
.comment-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.comment-respond {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 28px;
margin-top: 28px;
}
.comment-respond label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 6px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
width: 100%;
padding: 10px 14px;
background: var(--bg-dark);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
color: var(--text-main);
font-family: var(--font-sans);
font-size: 0.9rem;
transition: border-color var(--transition);
margin-bottom: 14px;
}
.comment-respond input:focus,
.comment-respond textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}
.comment-respond .submit {
background: var(--gradient-primary);
color: #fff;
border: none;
padding: 10px 28px;
border-radius: var(--radius-sm);
font-weight: 600;
cursor: pointer;
transition: opacity var(--transition);
}
.comment-respond .submit:hover { opacity: 0.9; } .site-footer {
background: var(--bg-card);
border-top: 1px solid var(--border-color);
margin-top: 60px;
}
.footer-inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 32px var(--gap);
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}
.footer-copy {
font-size: 0.82rem;
color: var(--text-muted);
}
.footer-links {
display: flex;
gap: 20px;
list-style: none;
padding: 0;
margin: 0;
}
.footer-links a { color: var(--text-muted); font-size: 0.82rem; }
.footer-links a:hover { color: var(--primary); } .back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 44px;
height: 44px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all var(--transition);
z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); } .pagination {
display: flex;
justify-content: center;
gap: 6px;
margin-top: 40px;
}
.pagination a, .pagination span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
padding: 0 14px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
color: var(--text-muted);
font-size: 0.88rem;
transition: all var(--transition);
}
.pagination a:hover {
border-color: var(--primary);
color: var(--primary);
}
.pagination .current {
background: var(--gradient-primary);
border-color: transparent;
color: #fff;
font-weight: 600;
} .search-form {
display: flex;
gap: 8px;
}
.search-form .search-field {
flex: 1;
padding: 10px 14px;
background: var(--bg-dark);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
color: var(--text-main);
font-size: 0.9rem;
}
.search-form .search-field:focus {
outline: none;
border-color: var(--primary);
}
.search-form .search-submit {
background: var(--gradient-primary);
color: #fff;
border: none;
padding: 10px 20px;
border-radius: var(--radius-sm);
cursor: pointer;
font-weight: 600;
} .archive-header {
padding: 32px 0 24px;
}
.archive-header h1 {
font-size: 1.6rem;
margin-bottom: 8px;
}
.archive-header .archive-desc {
font-size: 0.92rem;
color: var(--text-muted);
} .error-404 {
text-align: center;
padding: 80px 20px;
}
.error-404 .error-code {
font-size: 6rem;
font-weight: 900;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1;
margin-bottom: 16px;
}
.error-404 p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; } .alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1.5em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; padding: 8px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 1.5em; }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: 6px; } .screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
word-wrap: normal !important;
} body.admin-bar .site-header {
top: 32px;
}
@media screen and (max-width: 782px) {
body.admin-bar .site-header {
top: 46px;
}
} @media (max-width: 1024px) {
.content-area {
grid-template-columns: 1fr;
}
.site-sidebar {
position: static;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--gap);
}
.related-posts .post-grid { grid-template-columns: repeat(2, 1fr); }
.post-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
:root {
--gap: 16px;
}
.header-inner { height: 56px; }
.menu-toggle { display: block; }
.main-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-card);
border-bottom: 1px solid var(--border-color);
padding: 12px;
}
.main-nav.open { display: block; }
.main-nav ul { flex-direction: column; }
.main-nav .sub-menu { position: static; box-shadow: none; border: none; padding-left: 20px; }
.main-nav li:hover > .sub-menu { display: block; }
.post-grid { grid-template-columns: 1fr; }
.post-grid.cols-2,
.post-grid.cols-3 { grid-template-columns: 1fr; }
.slider-track { aspect-ratio: 16/9; min-height: 220px; }
.slide-content { padding: 18px 20px; }
.slide-title { font-size: 1.1rem; }
.slide-excerpt { display: none; }
.slider-btn { width: 32px; height: 32px; font-size: 0.9rem; }
.site-sidebar { grid-template-columns: 1fr; }
.post-content-wrap { padding: 24px 20px; }
.single-post-header h1 { font-size: 1.45rem; }
.post-navigation { grid-template-columns: 1fr; }
.related-posts .post-grid { grid-template-columns: 1fr; }
.footer-inner { flex-direction: column; text-align: center; }
}