/**
 * AtoClick Blog Theme - Vercel-Inspired Clean Design
 * Keeping AtoClick brand colors with Vercel's minimal aesthetic
 * @package AtoClick_Blog
 */

/* ==========================================================================
   CONTAINER - Centers all content
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==========================================================================
   HEADER - Clean, minimal
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary-dark);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo svg,
.custom-logo {
    height: 32px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.15s;
}

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

.current-menu-item a {
    color: var(--text-white);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.15s;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s;
}

.lang-dropdown:not([hidden]) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 8px 12px;
    color: var(--text-gray);
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.15s;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.hamburger-line {
    width: 100%;
    height: 1.5px;
    background: var(--text-white);
    transition: all 0.2s;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-dark);
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.mobile-menu:not([hidden]) {
    transform: translateX(0);
}

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

.mobile-nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-menu a:hover {
    color: var(--text-white);
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

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

/* ==========================================================================
   FOOTER - Clean, minimal
   ========================================================================== */
.site-footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo svg {
    height: 32px;
    width: auto;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-gray);
    transition: color 0.15s;
}

.social-link:hover {
    color: var(--text-white);
}

/* Footer Widgets - Side by side */
.footer-widgets {
    display: contents;
}

.footer-widget-area .widget-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.15s;
}

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

.footer-newsletter .widget-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.footer-copyright p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

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

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

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: 1;
    }

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

/* ==========================================================================
   LAYOUT - Vercel-style clean containers
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1;
}

.blog-page,
.archive-page,
.category-page,
.search-page {
    padding: 48px 0 80px;
}

/* Blog Layout - Content + Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

.content-area {
    min-width: 0;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ==========================================================================
   HERO - Clean featured section
   ========================================================================== */
.featured-hero {
    position: relative;
    padding: 80px 0;
    background: var(--primary-medium);
    margin-bottom: 48px;
}

.featured-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.featured-hero .hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-hero .hero-content {
    max-width: 500px;
}

.featured-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-green);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-white);
}

.hero-title a {
    color: inherit;
}

.hero-title a:hover {
    color: var(--accent-green);
}

.hero-excerpt {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-gray);
    font-size: 14px;
}

.meta-separator {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .featured-hero {
        padding: 48px 0;
    }

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

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

/* ==========================================================================
   SECTION HEADER & FILTER
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.category-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--primary-dark);
}

/* ==========================================================================
   POSTS GRID - Clean card layout
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Card - Minimal, clean */
.post-card {
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.post-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.post-card-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    color: var(--text-gray);
}

.post-card-content {
    padding: 20px;
}

.category-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(53, 194, 141, 0.1);
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 12px;
}

.post-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
}

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

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

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

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

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Load More */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   SINGLE POST - Clean, readable layout
   ========================================================================== */
.single-post {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Post Hero - Clean header */
.single-post .post-hero {
    padding: 80px 0 48px;
    background: var(--primary-medium);
    margin-bottom: 48px;
}

.single-post .hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.single-post .post-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.single-post .post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.single-post .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-post .author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-details {
    text-align: left;
}

.author-name {
    color: var(--text-white);
    font-weight: 500;
    font-size: 14px;
}

.post-date {
    color: var(--text-gray);
    font-size: 13px;
}

/* Single Post Layout - Content + Sidebar (REMOVED for Full Width Design) */
/*
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.content-column {
    min-width: 0;
}

@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        max-width: 720px;
    }
}
*/

/* Share Buttons */
.post-share-top {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.15s;
}

.share-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* TOC Inline */
.toc-inline {
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.toc-inline .toc-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 16px;
}

.toc-inline .table-of-contents {
    background: transparent;
    padding: 0;
}

/* Post Content - Clean typography */
.post-content-wrapper {
    max-width: 100%;
}

.post-content {
    background: transparent;
    padding: 0;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-white);
}

.post-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light-gray);
    margin-bottom: 24px;
}

.post-content a {
    color: var(--accent-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content img {
    border-radius: 8px;
    margin: 32px 0;
}

.post-content blockquote {
    border-left: 3px solid var(--accent-green);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-gray);
}

.post-content pre {
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}

.post-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.post-content :not(pre)>code {
    background: var(--primary-medium);
    padding: 2px 6px;
    border-radius: 4px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light-gray);
    margin-bottom: 8px;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tags-label {
    color: var(--text-gray);
    font-size: 14px;
    margin-right: 8px;
}

.tag-link {
    padding: 4px 12px;
    background: var(--primary-medium);
    border-radius: 100px;
    color: var(--text-gray);
    font-size: 13px;
    transition: all 0.15s;
}

.tag-link:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-top: 48px;
}

.author-bio .author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.author-bio .author-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
}

.author-bio .author-name {
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0 8px;
    color: var(--text-white);
}

.author-bio .author-description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

.author-website {
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 500;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.nav-link {
    display: block;
    padding: 20px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: border-color 0.15s;
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.nav-title {
    color: var(--text-white);
    font-weight: 500;
    font-size: 15px;
}

.nav-next {
    text-align: right;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

/* Related Posts */
.related-posts {
    background: var(--primary-medium);
    padding: 64px 0;
    margin-top: 64px;
}

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

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SIDEBAR - Clean widgets
   ========================================================================== */
.sidebar {
    position: sticky;
    top: 88px;
}

.widget {
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.search-input-wrapper {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 10px 40px 10px 12px;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
}

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

.search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 32px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

/* Categories */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.categories-list a:hover {
    color: var(--text-white);
}

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

.category-count {
    background: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 12px;
}

/* Popular Posts */
.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.popular-post-thumb img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.popular-post-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-date {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Newsletter Widget */
.widget-newsletter {
    background: linear-gradient(135deg, var(--accent-green), #2a9d6e);
    border: none;
}

.widget-newsletter .widget-title {
    color: var(--primary-dark);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.newsletter-description {
    color: var(--primary-dark);
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form-inner {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    color: var(--primary-dark);
    font-size: 14px;
}

.newsletter-submit {
    padding: 10px 16px;
    background: var(--primary-dark);
    border: none;
    border-radius: 6px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.newsletter-notice {
    font-size: 12px;
    color: var(--primary-dark);
    opacity: 0.6;
    margin-top: 8px;
}

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

/* ==========================================================================
   OTHER PAGES
   ========================================================================== */

/* Comments */
.comments-area {
    margin-top: 48px;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.comment-item {
    margin-bottom: 20px;
}

.comment-body {
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

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

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 500;
    color: var(--text-white);
}

.comment-content {
    color: var(--text-gray);
    margin-top: 12px;
    font-size: 15px;
}

.comment-footer {
    margin-top: 12px;
    font-size: 13px;
}

/* Archive Pages */
.archive-header,
.category-hero,
.search-header {
    padding: 48px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-title,
.category-title,
.search-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-hero {
    text-align: center;
}

.category-badge-large {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-green);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
}

/* 404 Page */
.error-404-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    max-width: 480px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 16px;
}

.quick-links-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.15s;
}

.quick-link:hover {
    border-color: var(--accent-green);
    color: var(--text-white);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 24px;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-gray);
    font-size: 14px;
}

.breadcrumb-item a:hover {
    color: var(--text-white);
}

.breadcrumb-item.current span {
    color: var(--text-gray);
    font-size: 14px;
}

.breadcrumb-separator {
    color: var(--text-gray);
    opacity: 0.3;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--primary-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.15s;
}

.page-numbers:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.page-numbers.current {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--primary-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 64px 24px;
}

.no-results-icon {
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* Print */
@media print {

    .site-header,
    .site-footer,
    .sidebar,
    .related-posts {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* ==========================================================================
   SINGLE POST - Vercel Blog Style (Centered, No Sidebar)
   ========================================================================== */

/* Post Header - Clean, centered */
.post-header {
    padding: 64px 0 48px;
    background: var(--primary-dark);
}

.post-header-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.post-header .category-badge {
    margin-bottom: 24px;
}

.post-header .post-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--text-white);
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.post-header .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-header .author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-header .author-details {
    text-align: left;
}

.post-header .author-name {
    color: var(--text-white);
    font-weight: 500;
    font-size: 14px;
    display: block;
}

.post-header .post-date {
    color: var(--text-gray);
    font-size: 13px;
}

.post-header .meta-separator {
    color: var(--text-gray);
    opacity: 0.5;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 48px;
}

.post-featured-image img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Post Content Area - Centered */
.post-content-area {
    padding-bottom: 64px;
}

.post-content-area>.container {
    max-width: 720px;
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: var(--primary-medium);
    border-radius: 12px;
}

.share-label {
    color: var(--text-gray);
    font-size: 14px;
}
/* ==========================================================================
   HOMEPAGE - Vercel Blog Style (Full Width)
   ========================================================================== */

/* Blog Header */
.blog-header {
    padding: 64px 0 32px;
    text-align: center;
}

.blog-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter - Minimal */
.category-filter-wrapper {
    margin-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 16px;
    overflow-x: auto;
}

.filter-btn {
    background: transparent;
    color: var(--text-gray);
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.15s;
}

.filter-btn:hover {
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--primary-medium);
    color: var(--text-white);
}

/* Featured Post - Split Layout */
.featured-post {
    margin-bottom: 80px;
}

.featured-post-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    background: var(--primary-medium);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 48px;
    transition: transform 0.2s;
}

.featured-post-inner:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.1);
}

.featured-content {
    order: 1;
}

.featured-image {
    order: 2;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.featured-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.featured-title a {
    color: var(--text-white);
    text-decoration: none;
}

.featured-excerpt {
    color: var(--text-light-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-green);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .featured-post-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    
    .featured-image {
        order: 1;
        aspect-ratio: 16/9;
    }
    
    .featured-content {
        order: 2;
    }
    
    .featured-title {
        font-size: 24px;
    }
}

/* Posts Grid - Clean 3 Columns */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 64px;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
