/*
Theme Name: Archetype
Theme URI: https://archetype.blog
Author: Archetype Team
Author URI: https://archetype.blog
Description: Minimalny, wydajny szablon blogowy z ciemnym motywem. Zaprojektowany z myślą o szybkości i czytelności. Klasyczny szablon WordPress.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-fast-theme
Requires PHP: 7.4
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #161616;
    --bg-card: #0f0f0f;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #555555;
    --accent: #e8e8e8;
    --accent-hover: #ffffff;
    --border-color: #1a1a1a;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== STICKY HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.admin-bar .header {
    top: 32px;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-tagline {
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2px;
}

.logo-custom {
    max-height: 40px;
    width: auto;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 36px;
    align-items: center;
    margin-left: 40px;
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 36px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    line-height: 64px;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav a.active {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
}

.search-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--text-primary);
}

.nav--open {
    display: flex;
}

/* ===== HERO ===== */
.hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-widget .hero-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-widget h1,
.hero-widget h2,
.hero-widget h3 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 800px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-widget p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== MAIN LAYOUT ===== */
.main-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}

.content-area {
    border-right: 1px solid var(--border-color);
}

.sidebar {
    padding-left: 40px;
}

.main-wrapper--full {
    grid-template-columns: 1fr;
}

.main-wrapper--full .content-area {
    border-right: none;
}

/* ===== POSTS GRID ===== */
.posts-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.view-all {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.view-all:hover {
    color: var(--text-primary);
}

/* Post Card */
.post-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--bg-card);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.post-card:hover {
    background: var(--bg-secondary);
}

.post-card:hover .post-thumb img {
    transform: scale(1.05);
}

.post-thumb {
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-thumb .category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
}

.post-body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.post-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
}

.post-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.post-title:hover {
    color: var(--accent-hover);
}

.post-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-time {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.read-more {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--text-primary);
}

.read-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Featured Post (first) */
.post-card.featured {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}

.post-card.featured .post-thumb {
    height: 400px;
}

.post-card.featured .post-thumb img {
    min-height: 400px;
}

.post-card.featured .post-body {
    padding: 40px 36px;
}

.post-card.featured .post-title {
    font-size: 32px;
}

.post-card.featured .post-excerpt {
    font-size: 15px;
    -webkit-line-clamp: 3;
    max-width: 600px;
}

/* ===== SIDEBAR ===== */
.sidebar-block {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-block:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Author Widget */
.author-widget {
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.author-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-role {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.author-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.social-links svg {
    width: 14px;
    height: 14px;
}

/* Popular Posts */
.popular-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-item:first-child {
    padding-top: 0;
}

.popular-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    min-width: 32px;
}

.popular-content {
    flex: 1;
}

.popular-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.popular-title:hover {
    color: var(--accent-hover);
}

.popular-date {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Categories */
.cat-list {
    list-style: none;
}

.cat-list li {
    border-bottom: 1px solid var(--border-color);
}

.cat-list li:last-child {
    border-bottom: none;
}

.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.cat-list a:hover {
    color: var(--text-primary);
}

.cat-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Newsletter */
.newsletter-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.newsletter-form input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    margin-bottom: 0;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--text-muted);
}

.newsletter-form button {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

/* Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* ===== SEARCH PAGE ===== */
.search-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
}

.search-header h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.search-form-inline {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form-inline input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    border-right: none;
}

.search-form-inline button {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 120px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.error-404 h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.error-404 h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.error-404 .back-home {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.error-404 .back-home:hover {
    background: var(--accent-hover);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current {
    background: var(--text-primary);
    color: var(--bg-primary);
    font-weight: 700;
}

.pagination .page-numbers:hover:not(.current):not(.dots) {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.pagination .page-numbers.dots {
    background: transparent;
    color: var(--text-muted);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: auto;
    padding: 0 20px;
}

/* ===== SINGLE POST ===== */
.article-single {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-header .category-tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.article-header .article-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
}

.article-meta .author-avatar-small {
    width: 28px;
    height: 28px;
    overflow: hidden;
}

.article-meta .author-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-featured-image {
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 20px;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 16px;
}

.article-content blockquote {
    border-left: 3px solid var(--text-primary);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--bg-secondary);
    font-style: italic;
    font-size: 18px;
    color: var(--text-primary);
}

.article-content ul,
.article-content ol {
    margin: 20px 0 24px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.article-content a:hover {
    color: var(--accent-hover);
}

.article-content pre {
    background: var(--bg-secondary);
    padding: 20px 24px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.article-content code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    font-size: 13px;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-footer-meta {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    align-items: center;
}

.article-tags-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 8px;
}

.article-tags a {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    letter-spacing: 0.5px;
}

.article-tags a:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Author bio in single */
.article-author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-secondary);
    align-items: center;
}

.article-author-bio .author-avatar {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
}

.article-author-bio .author-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.article-author-bio .author-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== PAGE ===== */
.page-default {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 40px;
    text-align: center;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-content p {
    margin-bottom: 24px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 20px;
    letter-spacing: -0.5px;
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 16px;
}

.page-content ul,
.page-content ol {
    margin: 20px 0 24px 24px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-content a:hover {
    color: var(--accent-hover);
}

/* ===== ARCHIVE ===== */
.archive-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 40px;
    text-align: center;
}

.archive-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.archive-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== COMMENTS ===== */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment-list li {
    margin-bottom: 0;
}

.comment-body {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-author img {
    width: 40px;
    height: 40px;
}

.comment-author .fn {
    font-weight: 600;
    font-size: 14px;
}

.comment-metadata {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.comment-metadata a {
    color: var(--text-muted);
}

.comment-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.comment-content p {
    margin-bottom: 12px;
}

.reply {
    margin-top: 8px;
}

.reply a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.reply a:hover {
    color: var(--text-primary);
}

.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--text-muted);
}

.comment-form .submit {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-form .submit:hover {
    background: var(--accent-hover);
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.no-results p {
    color: var(--text-secondary);
}

/* ===== SCREEN READER ===== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--bg-secondary);
    clip: auto;
    clip-path: none;
    color: var(--text-primary);
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== UTILITY ===== */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 24px;
    margin-bottom: 16px;
}

.alignright {
    float: right;
    margin-left: 24px;
    margin-bottom: 16px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.sticky .post-card {
    border: 1px solid var(--text-muted);
}

.bypostauthor .comment-body {
    border-left: 3px solid var(--text-muted);
    padding-left: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .content-area {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar {
        padding-left: 0;
    }

    .post-card {
        grid-template-columns: 220px 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .article-header .article-title {
        font-size: 32px;
    }

    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        margin-left: 0;
    }

    .nav--open ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-inner {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .main-wrapper {
        padding: 0 20px;
    }

    .post-card,
    .post-card.featured {
        grid-template-columns: 1fr;
    }

    .post-card.featured .post-thumb {
        height: 240px;
    }

    .post-thumb img {
        min-height: 180px;
    }

    .post-body {
        padding: 24px 20px;
    }

    .post-card.featured .post-body {
        padding: 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .article-header .article-title {
        font-size: 26px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .page-title {
        font-size: 28px;
    }

    .archive-header {
        padding: 40px 20px;
    }

    .archive-header h1 {
        font-size: 28px;
    }

    .search-header {
        padding: 30px 20px;
    }

    .pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}