/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.blog-header h1 a {
    color: white;
    text-decoration: none;
}

.blog-header .tagline {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Posts List */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.post-summary {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-summary:last-child {
    border-bottom: none;
}

.post-title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.post-title a {
    color: #1a73e8; /* Google Blue */
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #667eea;
}

/* Post Meta */
.post-meta {
    color: #1a73e8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta time {
    font-weight: 500;
}

.post-meta .category,
.post-meta .tags {
    margin-left: 1rem;
}

.post-meta a {
    color: #667eea;
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}

/* Summary */
.summary {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin: 1rem 0;
}

/* Read More Link */
.read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.read-more:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.pagination-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #667eea;
    border: 1px solid #667eea;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #667eea;
    color: white;
}

.pagination .disabled {
    color: #1a73e8;
    border-color: #1a73e8;
    cursor: not-allowed;
}

.page-number {
    border: none;
    color: #1a73e8;
}

/* Full Article */
.post-full {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a73e8;
}

.post-tags {
    margin-top: 1rem;
}

.post-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.post-tags .tag:hover {
    background: #667eea;
    color: white;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    margin: 2rem 0 1rem;
    color: #333;
    font-size: 1.8rem;
}

.post-content h3 {
    margin: 1.5rem 0 0.8rem;
    color: #444;
    font-size: 1.4rem;
}

.post-content p {
    margin: 1rem 0;
}

.post-content a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.post-content a:hover {
    border-bottom-color: #667eea;
}

.post-content pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content code {
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #1a73e8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    border-radius: 8px;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 0.85rem;
    color: #1a73e8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

/* Post Actions */
.post-actions {
    text-align: center;
    margin: 2rem 0;
}

.post-actions a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary {
    background: #1a73e8;
    color: white;
}

.btn-secondary:hover {
    background: #1a73e8;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #764ba2;
}

/* Archives Page */
.archives h1,
.categories h1,
.tags h1 {
    margin-bottom: 2rem;
    color: #1a73e8;
    text-align: center;
}

.archive-list {
    max-width: 600px;
    margin: 0 auto;
}

.archive-list dt {
    font-weight: 600;
    color: #1a73e8;
    margin-top: 1.5rem;
}

.archive-list dd {
    margin: 0.5rem 0 0.5rem 2rem;
}

.archive-list dd a {
    color: #1a73e8;
    text-decoration: none;
}

.archive-list dd a:hover {
    color: #667eea;
}

/* Categories List */
.category-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.category-list li {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: #1a73e8;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.category-list a:hover {
    color: #667eea;
}

.category-list .count {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Tag Cloud */
.tag-cloud {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tag-cloud .tag-item {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.tag-cloud .tag-item:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.tag-cloud .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .pagination-inner {
        flex-direction: column;
        gap: 1rem;
    }
}