/* ==========================================================================
   Starter Theme - Professional Haber/Blog Tasarimi (AnkHaber Style)
   ========================================================================== */

/* CSS Variables */
:root {
    --color-primary: #1a73e8;
    --color-primary-dark: #1557b0;
    --color-primary-light: #4a90e2;
    --color-accent: #e8f0fe;
    --color-red: #d32f2f;
    --color-red-dark: #b71c1c;

    --color-text: #1a1a1a;
    --color-text-secondary: #555555;
    --color-text-light: #777777;
    --color-text-muted: #999999;

    --color-bg: #f5f5f5;
    --color-bg-white: #ffffff;
    --color-bg-light: #fafafa;
    --color-bg-dark: #1a1a2e;
    --color-bg-darker: #16213e;

    --color-border: #e0e0e0;
    --color-border-light: #eeeeee;

    --font-family: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 15px;
    --line-height: 1.6;

    --container-width: 1240px;
    --spacing: 1.25rem;
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-card: 0 1px 4px rgba(0,0,0,0.06);

    --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* ==========================================================================
   Top Bar (Ust Bilgi Cubugu)
   ========================================================================== */
.top-bar {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--color-primary);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-slogan {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 400;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 4px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.social-icons a:hover {
    background: var(--color-primary);
    color: #fff;
}

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

/* ==========================================================================
   Main Header
   ========================================================================== */
.site-header {
    background: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

.site-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text);
    white-space: nowrap;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo:hover {
    color: var(--color-primary);
}

.site-logo .logo-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
}

/* Header Search */
.header-search {
    flex-shrink: 0;
}

.header-search form {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.header-search form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.header-search input {
    border: none;
    background: none;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-family);
    width: 220px;
    outline: none;
    color: var(--color-text);
}

.header-search input::placeholder {
    color: var(--color-text-muted);
}

.header-search button {
    border: none;
    background: var(--color-primary);
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background var(--transition);
}

.header-search button:hover {
    background: var(--color-primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Category Navigation Bar
   ========================================================================== */
.category-nav {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.category-nav-inner {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.main-nav {
    width: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    width: 100%;
}

.main-nav li {
    flex-shrink: 0;
}

.main-nav a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-primary);
    background: var(--color-accent);
}

.main-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: var(--color-accent);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 1.5rem 0 3rem;
}

/* Home Layout - Main + Sidebar */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

/* ==========================================================================
   Featured / Breaking News Ticker
   ========================================================================== */
.breaking-news {
    background: var(--color-red);
    color: #fff;
    padding: 8px 0;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.breaking-news-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-label {
    background: var(--color-red-dark);
    padding: 4px 14px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: var(--radius-sm);
}

.breaking-text {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Post Cards
   ========================================================================== */
.posts-grid {
    display: grid;
    gap: 1rem;
}

/* Post Card */
.post-card {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: row;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.post-card-image {
    width: 260px;
    min-height: 180px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #e8e8e8 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-image .placeholder-icon {
    color: var(--color-text-muted);
    opacity: 0.3;
}

.post-card-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.post-category {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--color-primary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    width: fit-content;
}

.post-category:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.post-card .post-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

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

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

.post-excerpt {
    color: var(--color-text-light);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.post-meta time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-meta svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
}

.post-meta .post-author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* First post - featured large card */
.post-card.featured {
    flex-direction: column;
}

.post-card.featured .post-card-image {
    width: 100%;
    min-height: 280px;
}

.post-card.featured .post-card-content {
    padding: 1.5rem;
}

.post-card.featured .post-title {
    font-size: 1.4rem;
}

/* Compact post cards (for list view) */
.post-card.compact {
    flex-direction: row;
}

.post-card.compact .post-card-image {
    width: 140px;
    min-height: 100px;
}

.post-card.compact .post-card-content {
    padding: 0.75rem 1rem;
}

.post-card.compact .post-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.post-card.compact .post-excerpt {
    display: none;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-widget {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1rem 1.25rem;
    background: var(--color-bg-dark);
    color: #fff;
    border-bottom: 3px solid var(--color-primary);
    margin: 0;
}

/* Category Widget */
.category-list {
    list-style: none;
    padding: 0;
}

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

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

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.category-list a:hover,
.category-list li.active a {
    color: var(--color-primary);
    background: var(--color-accent);
    padding-left: 1.5rem;
}

.category-list a .count {
    font-size: 0.75rem;
    background: var(--color-bg);
    color: var(--color-text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Popular Posts Widget */
.popular-posts {
    padding: 0;
}

.popular-post-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--color-border-light);
    transition: background var(--transition);
}

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

.popular-post-item:hover {
    background: var(--color-bg-light);
}

.popular-post-num {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.popular-post-content h4 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.popular-post-content h4 a {
    color: var(--color-text);
}

.popular-post-content h4 a:hover {
    color: var(--color-primary);
}

.popular-post-content time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 1.25rem;
}

.tag-cloud a {
    padding: 4px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: all var(--transition);
}

.tag-cloud a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Search Widget */
.widget-search {
    padding: 1.25rem;
}

.widget-search form {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.widget-search form:focus-within {
    border-color: var(--color-primary);
}

.widget-search input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: none;
    background: none;
    font-size: 0.85rem;
    font-family: var(--font-family);
    outline: none;
}

.widget-search button {
    padding: 0.6rem 1rem;
    background: var(--color-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background var(--transition);
}

.widget-search button:hover {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   Single Post Page (inside home-layout grid)
   ========================================================================== */
.single-content-area {
    min-width: 0;
}

.single-post {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.single-post .post-category {
    margin-bottom: 1rem;
}

.single-post .post-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.single-post .post-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    gap: 1.25rem;
}

/* Post Content */
.post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--color-text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
    margin: 1rem 0 1.25rem 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

.post-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9em;
    line-height: 1.6;
}

.post-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
}

.post-content p code {
    background: var(--color-accent);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--color-primary-dark);
}

.post-content a {
    text-decoration: underline;
    text-decoration-color: rgba(26,115,232,0.3);
    text-underline-offset: 3px;
}

.post-content a:hover {
    text-decoration-color: var(--color-primary);
}

.post-content img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

/* Post Footer */
.post-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition);
}

.tag:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

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

.post-share span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: transform var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.pinterest { background: #e60023; }

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

/* ==========================================================================
   Related Posts
   ========================================================================== */
.related-posts {
    margin-top: 1.5rem;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.related-card {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.related-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-card h3 a {
    color: var(--color-text);
}

.related-card h3 a:hover {
    color: var(--color-primary);
}

.related-card time {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Category Page
   ========================================================================== */
.category-header {
    margin-bottom: 1.5rem;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--color-primary);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.category-description {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.category-count {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Search Page
   ========================================================================== */
.search-header {
    margin-bottom: 2rem;
    text-align: center;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
}

.search-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.search-form-large {
    display: flex;
    max-width: 560px;
    margin: 0 auto 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.search-form-large:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.search-form-large input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-family);
    border: none;
    outline: none;
    background: none;
}

.search-form-large button {
    padding: 0.85rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background var(--transition);
    font-size: 0.95rem;
}

.search-form-large button:hover {
    background: var(--color-primary-dark);
}

.search-info {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.search-results {
    max-width: 820px;
    margin: 0 auto;
}

.search-result {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
}

.search-result:hover {
    box-shadow: var(--shadow-md);
}

.result-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.result-title a:hover {
    color: var(--color-primary);
}

.result-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.result-excerpt {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.result-meta time {
    color: var(--color-text-muted);
}

.result-link {
    font-weight: 600;
    color: var(--color-primary);
}

/* ==========================================================================
   Static Page
   ========================================================================== */
.static-page {
    max-width: 820px;
    margin: 0 auto;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.85;
}

.page-content p {
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.pagination-info {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
    margin-top: 3rem;
}

.footer-top {
    padding: 3rem 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about h3,
.footer-col h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-about h3::after,
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer-col ul a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

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

.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    transition: color var(--transition);
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.no-posts {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    color: var(--color-text-light);
}

.no-posts p {
    margin-bottom: 0.5rem;
}

.error-404 {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.error-404 h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404 p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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

    .post-card-image {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .header-inner {
        height: 56px;
    }

    .site-logo {
        font-size: 1.3rem;
    }

    .category-nav {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-white);
        box-shadow: var(--shadow-lg);
        z-index: 200;
        transition: left 0.3s ease;
        padding-top: 1rem;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 0.85rem 1.5rem;
        border-bottom-width: 0;
        border-left: 3px solid transparent;
    }

    .main-nav a:hover,
    .main-nav a.active {
        border-bottom-color: transparent;
        border-left-color: var(--color-primary);
    }

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

    .header-search input {
        width: 140px;
    }

    .post-card {
        flex-direction: column;
    }

    .post-card-image {
        width: 100%;
        min-height: 180px;
    }

    .post-card.featured .post-card-image {
        min-height: 200px;
    }

    .single-post {
        padding: 1.5rem;
    }

    .single-post .post-title {
        font-size: 1.5rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .category-header {
        padding: 1.25rem;
    }

    .search-header {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .header-search {
        display: none;
    }

    .site-logo {
        font-size: 1.15rem;
    }

    .post-card-content {
        padding: 1rem;
    }

    .single-post {
        padding: 1.25rem;
        border-radius: 0;
    }

    .single-post .post-title {
        font-size: 1.3rem;
    }

    .post-content {
        font-size: 0.95rem;
    }

    .search-form-large {
        flex-direction: column;
    }

    .search-form-large input {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .search-form-large button {
        border-radius: 0 0 var(--radius) var(--radius);
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card {
    animation: fadeIn 0.4s ease forwards;
}

.post-card:nth-child(2) { animation-delay: 0.05s; }
.post-card:nth-child(3) { animation-delay: 0.1s; }
.post-card:nth-child(4) { animation-delay: 0.15s; }
.post-card:nth-child(5) { animation-delay: 0.2s; }

/* Print Styles */
@media print {
    .top-bar,
    .site-header,
    .category-nav,
    .sidebar,
    .site-footer,
    .back-to-top,
    .post-share,
    .related-posts,
    .pagination {
        display: none !important;
    }

    .single-post {
        box-shadow: none;
        padding: 0;
    }

    body {
        background: #fff;
    }
}
