/* ==========================================
   Liviu Man Blog - WordPress Theme Styles
   Identical to main site design
   ========================================== */

/* CSS Variables - Same as main site */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-card: #1a1f3a;
    --text-primary: #e8eaf6;
    --text-secondary: #b0b8d4;
    --accent-cyan: #00d9ff;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --gradient-1: linear-gradient(135deg, #00d9ff 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.3);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-cyan: #0891b2;
    --accent-purple: #9333ea;
    --accent-blue: #2563eb;
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-purple);
}

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

/* Navigation - Same as main site */
.main-navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .main-navigation {
    background: rgba(248, 250, 252, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-cyan);
}

.nav-controls {
    display: flex;
    gap: 1rem;
}

.lang-switch, .theme-switch {
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-switch:hover, .theme-switch:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs-container {
    margin-top: 80px;
    padding: 1rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--accent-cyan);
}

.breadcrumbs .separator {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

.breadcrumbs .current {
    color: var(--text-primary);
}

/* Site Content */
.site-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px);
}

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: var(--bg-secondary);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    padding: 3rem 0;
}

.blog-main {
    min-width: 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    gap: 2rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-cyan);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-meta svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.post-excerpt .read-more {
    color: var(--accent-cyan);
    font-weight: 600;
}

.post-footer {
    margin-top: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 40px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.widget {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--accent-cyan);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0, 217, 255, 0.2);
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.search-field {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    background: var(--bg-primary);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-field:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.search-submit {
    position: absolute;
    right: 0.3rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-submit:hover {
    transform: scale(1.05);
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(5px);
}

.category-count {
    background: var(--gradient-1);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Popular/Recent Posts */
.popular-posts,
.recent-posts {
    list-style: none;
}

.popular-post-item,
.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

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

.popular-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-title a,
.recent-post-title {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.4rem;
}

.popular-post-date,
.recent-post-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.popular-post-date svg,
.recent-post-date svg {
    width: 14px;
    height: 14px;
}

/* Tags Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--bg-primary);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-cyan);
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--accent-cyan);
    color: white;
}

/* Newsletter Widget */
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-primary);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.newsletter-form button {
    width: 100%;
}

/* Social Links Vertical */
.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link-vertical {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--bg-primary);
    border: 2px solid;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-link-vertical.linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.social-link-vertical.youtube {
    border-color: #ff0000;
    color: #ff0000;
}

.social-link-vertical.tiktok {
    border-color: #00f2ea;
    color: #00f2ea;
}

.social-link-vertical:hover {
    transform: translateX(5px);
}

.social-link-vertical svg {
    width: 20px;
    height: 20px;
}

/* About Widget */
.widget-about .about-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.widget-about .about-avatar img {
    border-radius: 50%;
    border: 3px solid var(--accent-cyan);
}

.widget-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* CTA Widget */
.widget-cta {
    background: var(--gradient-2);
    border-color: var(--accent-purple);
}

.widget-cta .widget-title {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.widget-cta p {
    color: rgba(255, 255, 255, 0.9);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: white;
}

.pagination-dots {
    border: none;
    background: transparent;
}

/* Single Post Styles */
.single-post {
    padding: 3rem 0;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-category {
    margin-bottom: 1rem;
}

.article-category a {
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-cyan);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body img {
    border-radius: 10px;
    margin: 2rem 0;
}

.article-body a {
    color: var(--accent-cyan);
    font-weight: 600;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 217, 255, 0.2);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-tags svg {
    color: var(--accent-cyan);
}

.article-tags .tag {
    background: var(--bg-card);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    border: 1px solid var(--accent-cyan);
    font-size: 0.9rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    margin: 3rem 0;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--accent-cyan);
}

.author-name {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-previous,
.nav-next {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.nav-label {
    display: block;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.nav-previous a,
.nav-next a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Archive Page */
.archive-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.archive-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto;
    line-height: 1.7;
}

.archive-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.archive-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

/* Page Content */
.page-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.page-featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
}

.page-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Error 404 */
.error-404 {
    padding: 5rem 2rem;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-title {
    font-size: 6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.error-search {
    margin: 3rem 0;
}

.error-search h3 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.error-suggestions {
    margin-top: 4rem;
}

.error-suggestions h3 {
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.suggestion-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.suggestion-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.suggestion-content {
    padding: 1rem;
}

.suggestion-content h4 {
    margin-bottom: 0.5rem;
}

.suggestion-content h4 a {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.suggestion-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 5rem 2rem;
}

.no-posts h2 {
    color: var(--accent-cyan);
    font-size: 2rem;
    margin: 1rem 0;
}

.no-posts p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer - Same as main site */
.site-footer {
    background: var(--bg-secondary);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    margin-top: 5rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: var(--accent-cyan);
    color: white;
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.5);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.copyright {
    color: var(--text-secondary);
    margin-top: 2rem;
}

/* Cookie Consent - Same as main site */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 58, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 999;
    border-top: 2px solid var(--accent-cyan);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
}

.cookie-text strong {
    color: var(--accent-cyan);
}

.cookie-text p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* WordPress Comments */
.comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(0, 217, 255, 0.2);
}

.comments-title {
    color: var(--accent-cyan);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.comment-body {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

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

.comment-author img {
    border-radius: 50%;
}

.comment-author .fn {
    color: var(--accent-cyan);
    font-weight: 600;
    font-style: normal;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 1rem;
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 1rem 0;
}

.comment-reply a {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
}

.comment-form {
    margin-top: 3rem;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    display: block;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    margin-bottom: 1.5rem;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-submit {
    margin-top: 1rem;
}

.form-submit input[type="submit"] {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        padding: 2rem;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        max-height: none;
    }

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

    .post-thumbnail {
        min-height: 250px;
    }

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

    .article-title {
        font-size: 2rem;
    }

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

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

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

    .error-title {
        font-size: 4rem;
    }
}

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

    .page-hero {
        padding: 3rem 1rem 2rem;
    }

    .post-card {
        border-radius: 15px;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-meta {
        gap: 1rem;
    }

    .widget {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .main-navigation,
    .sidebar,
    .cookie-consent,
    .site-footer,
    .breadcrumbs-container,
    .post-navigation,
    .article-share,
    .author-box,
    .comments-area {
        display: none;
    }

    .site-content {
        margin-top: 0;
    }

    body {
        background: white;
        color: black;
    }

    .article-body {
        color: black;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent-cyan);
    color: white;
    padding: 1rem 2rem;
    z-index: 10000;
}

.skip-link:focus {
    left: 0;
}

/* Selection */
::selection {
    background: var(--accent-cyan);
    color: white;
}

::-moz-selection {
    background: var(--accent-cyan);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card,
.widget {
    animation: fadeIn 0.6s ease;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}