/*
Theme Name: Bizikimiz
Theme URI: https://bizikimiz.com
Author: Bizikimiz
Author URI: https://bizikimiz.com
Description: Bizikimiz.com icin ozel tasarlanmis modern, cok kategorili blog temasi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bizikimiz
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, custom-logo, editor-style
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #111827;
    --primary-hover: #374151;
    --accent: #111827;
    --text: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --bg: #ffffff;
    --bg-subtle: #f9fafb;
    --bg-muted: #f3f4f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --ring: rgba(17, 24, 39, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1120px;
    --transition: 150ms ease;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-subtle);
    line-height: 1.65;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity var(--transition);
}

a:hover {
    opacity: 0.7;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }

ul, ol {
    padding-left: 1.25em;
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.site-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

.content-area.full-width {
    grid-template-columns: 1fr;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-branding .custom-logo {
    height: 28px;
    width: auto;
}

.site-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-title a {
    color: var(--text);
}

.site-title a:hover {
    opacity: 1;
}

.site-description {
    display: none;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.4rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.87rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition);
}

.main-navigation a:hover {
    color: var(--text);
    background: var(--bg-muted);
    opacity: 1;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--text);
    background: var(--bg-muted);
}

/* Dropdown */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 4px;
    flex-direction: column;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: var(--text);
}

.menu-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Header Search */
.header-search {
    margin-left: 0.25rem;
}

.header-search .search-toggle {
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 6px;
    border-radius: 6px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
}

.header-search .search-toggle:hover {
    color: var(--text);
    border-color: var(--text-tertiary);
}

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

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    width: 90%;
    max-width: 520px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.search-overlay .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    outline: none;
    background: var(--bg-subtle);
    transition: border-color var(--transition);
}

.search-overlay .search-field:focus {
    border-color: var(--text-tertiary);
    background: var(--bg);
}

.search-overlay .search-submit {
    display: none;
}

.search-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO / FEATURED POSTS ===== */
.hero-section {
    padding: 2rem 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--border);
}

.hero-card:first-child {
    grid-row: 1 / 3;
    min-height: 100%;
}

.hero-card .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-image {
    transform: scale(1.02);
}

.hero-card .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

.hero-card .hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
    width: 100%;
}

.hero-card .hero-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.hero-card .hero-title {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.hero-card:first-child .hero-title {
    font-size: 1.5rem;
}

.hero-card .hero-title a {
    color: #fff;
}

.hero-card .hero-title a:hover {
    opacity: 1;
}

.hero-card .hero-meta {
    font-size: 0.78rem;
    opacity: 0.7;
    font-weight: 400;
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 1.5rem 0 0.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.category-tab:hover {
    color: var(--text);
    background: var(--bg-muted);
    opacity: 1;
}

.category-tab.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.category-tab .cat-count {
    margin-left: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.category-tab.active .cat-count {
    color: rgba(255,255,255,0.6);
}

/* ===== POST CARDS ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.post-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition);
}

.post-card:hover {
    border-color: #d1d5db;
}

.post-card .card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-muted);
}

.post-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .card-image img {
    transform: scale(1.02);
}

.post-card .card-image .card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--bg);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-card .card-body {
    padding: 1rem 1.15rem 1.15rem;
}

.post-card .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    line-height: 1.4;
}

.post-card .card-title a {
    color: var(--text);
}

.post-card .card-title a:hover {
    opacity: 1;
}

.post-card .card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.post-card .card-meta .meta-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card .card-meta .author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card .card-meta .read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-card .card-meta .read-time svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

/* No thumbnail placeholder */
.post-card .card-image.no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card .card-image.no-thumb svg {
    width: 32px;
    height: 32px;
    color: var(--text-tertiary);
    opacity: 0.3;
}

/* ===== SINGLE POST ===== */
.single-header {
    text-align: center;
    padding: 3rem 0 1.5rem;
    max-width: 680px;
    margin: 0 auto;
}

.single-header .post-categories {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.single-header .post-categories a {
    background: var(--bg-muted);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-header .entry-title {
    font-size: 2.25rem;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.single-header .entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.single-header .entry-meta .author-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.single-header .entry-meta .author-info span {
    color: var(--text);
    font-weight: 500;
}

.single-header .entry-meta .author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.single-featured-image {
    max-width: 780px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.single-featured-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.entry-content {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}

.entry-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 2px solid var(--border);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content pre {
    background: var(--text);
    color: #e5e7eb;
    padding: 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.85rem;
    margin: 1.25rem 0;
}

.entry-content code {
    background: var(--bg-muted);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.88em;
}

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

.entry-content figure {
    margin: 1.5rem 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

.entry-content .wp-block-image img {
    border-radius: var(--radius);
}

/* Tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.post-tags a {
    background: var(--bg-muted);
    color: var(--text-secondary);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--transition);
}

.post-tags a:hover {
    background: var(--text);
    color: #fff;
    opacity: 1;
}

/* Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 1rem 0;
}

.post-share .share-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.post-share a:hover {
    border-color: var(--text);
    color: var(--text);
    opacity: 1;
}

.post-share a svg {
    width: 14px;
    height: 14px;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 2.5rem auto;
    max-width: 680px;
}

.author-box .author-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.author-box .author-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.author-box .author-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 680px;
    margin: 1.5rem auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.post-navigation .nav-item {
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.post-navigation .nav-item:hover {
    border-color: #d1d5db;
    opacity: 1;
}

.post-navigation .nav-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.post-navigation .nav-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.post-navigation .nav-item.next {
    text-align: right;
}

/* Related Posts */
.related-posts {
    max-width: 780px;
    margin: 1.5rem auto 2.5rem;
}

.related-posts h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.related-posts .posts-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.widget {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li a {
    color: var(--text);
    font-size: 0.87rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 450;
}

.widget ul li a:hover {
    opacity: 0.6;
}

.widget ul li .count {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Search Widget */
.widget .search-form {
    display: flex;
    gap: 0;
}

.widget .search-field {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    outline: none;
    background: var(--bg-subtle);
    transition: border-color var(--transition);
}

.widget .search-field:focus {
    border-color: var(--text-tertiary);
    background: var(--bg);
}

.widget .search-submit {
    padding: 0.55rem 0.85rem;
    background: var(--text);
    color: #fff;
    border: 1px solid var(--text);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: opacity var(--transition);
}

.widget .search-submit:hover {
    opacity: 0.85;
}

/* Popular Posts Widget */
.popular-post-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.popular-post-item .pop-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-post-item .pop-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.popular-post-item .pop-title a {
    color: var(--text);
}

.popular-post-item .pop-date {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.newsletter-widget .widget-title {
    color: rgba(255,255,255,0.6);
    border-bottom-color: rgba(255,255,255,0.1);
}

.newsletter-widget p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.newsletter-widget input[type="email"] {
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--font);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-widget input[type="email"]::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-widget input[type="email"]:focus {
    border-color: rgba(255,255,255,0.3);
}

.newsletter-widget button {
    padding: 0.55rem;
    background: #fff;
    color: var(--text);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font);
    transition: opacity var(--transition);
}

.newsletter-widget button:hover {
    opacity: 0.9;
}

/* ===== COMMENTS ===== */
.comments-area {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border);
}

.comments-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.comment-list .comment {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.comment-list .children {
    list-style: none;
    padding-left: 1.75rem;
    margin: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.comment-author .fn {
    font-weight: 600;
    font-size: 0.88rem;
}

.comment-metadata {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.comment-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply a {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Comment Form */
.comment-respond {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.comment-respond .comment-reply-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 0.88rem;
    outline: none;
    background: var(--bg-subtle);
    transition: all var(--transition);
    margin-bottom: 0.75rem;
}

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

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

.comment-form .submit {
    background: var(--text);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: opacity var(--transition);
}

.comment-form .submit:hover {
    opacity: 0.85;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 2rem 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.pagination .page-numbers:hover {
    border-color: var(--text);
    color: var(--text);
    opacity: 1;
}

.pagination .page-numbers.current {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.pagination .page-numbers.dots {
    border: none;
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 0.85rem;
}

/* ===== ARCHIVE HEADER ===== */
.archive-header {
    padding: 2.5rem 0 0.5rem;
    text-align: center;
}

.archive-header .archive-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.archive-header .archive-title {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.archive-header .archive-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ===== 404 PAGE ===== */
.error-404-content {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 460px;
    margin: 0 auto;
}

.error-404-content .error-number {
    font-size: 6rem;
    font-weight: 800;
    color: var(--bg-muted);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.error-404-content h1 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.error-404-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.error-404-content .search-form {
    max-width: 360px;
    margin: 0 auto 1.5rem;
    display: flex;
}

.error-404-content .search-field {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    background: var(--bg);
}

.error-404-content .search-submit {
    padding: 0.6rem 1rem;
    background: var(--text);
    color: #fff;
    border: 1px solid var(--text);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 500;
    cursor: pointer;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--text);
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: opacity var(--transition);
}

.btn-home:hover {
    opacity: 0.85;
    color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 0;
}

.footer-widget {
    color: var(--text-secondary);
}

.footer-widget .widget-title {
    color: var(--text);
    border-bottom: none;
    margin-bottom: 0.85rem;
    padding-bottom: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-widget p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    padding: 0.25rem 0;
    border: none;
}

.footer-widget ul li a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--text);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--text);
    color: var(--text);
    opacity: 1;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.footer-bottom a {
    color: var(--text-secondary);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    border-color: var(--text);
}

.back-to-top svg {
    width: 16px;
    height: 16px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb .sep {
    margin: 0 0.35rem;
    color: var(--text-tertiary);
    opacity: 0.5;
}

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

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card:first-child {
        grid-row: auto;
    }

    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }

    .related-posts .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0.5rem;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0.75rem;
    }

    .header-inner {
        flex-wrap: wrap;
        position: relative;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .related-posts .posts-grid {
        grid-template-columns: 1fr;
    }

    .single-header .entry-title {
        font-size: 1.6rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

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

    .single-header .entry-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0 1rem;
    }

    .hero-card {
        min-height: 220px;
    }

    .comments-area {
        padding: 1.25rem;
    }

    .category-tabs {
        gap: 0.25rem;
    }
}

/* ===== PAGE TEMPLATE ===== */
.page-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.page-content .entry-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ===== ACCESSIBILITY ===== */
.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 !important;
}

.screen-reader-text:focus {
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    clip: auto !important;
    clip-path: none;
    color: var(--text);
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 20px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== WORDPRESS DEFAULTS ===== */
.alignleft {
    float: left;
    margin-right: 1.25rem;
    margin-bottom: 0.75rem;
}

.alignright {
    float: right;
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.aligncenter {
    display: block;
    margin: 1.25rem auto;
}

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

.wp-caption-text {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 0.4rem;
}

.gallery-caption {
    font-size: 0.82rem;
}

.bypostauthor {
    background: var(--bg-subtle);
    border-radius: var(--radius);
    padding: 0.35rem;
}

.sticky .post-card {
    border-color: var(--text);
}

/* Print styles */
@media print {
    .site-header, .sidebar, .site-footer,
    .post-navigation, .comments-area,
    .back-to-top, .post-share, .breadcrumb {
        display: none !important;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .entry-content {
        max-width: 100%;
    }
}
