/* Blog Page - Light Professional Theme */

/* CSS Variables */
:root {
    --primary: #151644;
    --secondary: #2563eb;
    --accent: #3b82f6;
    --danger: #dc2626;
    --light: #ffffff;
    --lighter: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border: rgba(21, 22, 68, 0.1);
}

/* Base Styles */
body {
    background: var(--lighter);
    color: var(--dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21, 22, 68, 0.05), rgba(37, 99, 235, 0.05));
    position: relative;
    overflow: hidden;
    padding: 5rem 5%;
    margin-top: 60px;
    text-align: center;
}

/* Animated Grid Background */
.blog-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(21, 22, 68, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 22, 68, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Scanning Line Effect */
.blog-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 0;
    animation: scan 3s linear infinite;
    opacity: 0.3;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) drop-shadow(0 0 20px var(--primary)); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Featured Post */
.featured-post {
    padding: 5rem 5%;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

/* Floating Particles for Featured Section */
.featured-post::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23151644' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float-up 15s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.featured-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.featured-content .post-categorys {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(21, 22, 68, 0.2);
}

.featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.featured-image:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Glowing Border Effect */
.featured-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.featured-image:hover::before {
    opacity: 1;
    animation: glow-border 2s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Blog Categories */
.blog-categories {
    padding: 2rem 5%;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Professional pattern effect for categories */
.blog-categories::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        var(--primary),
        var(--primary) 2px,
        transparent 2px,
        transparent 20px
    );
    opacity: 0.02;
    animation: pattern-move 15s linear infinite;
}

@keyframes pattern-move {
    to {
        top: 100%;
    }
}

.categories-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.category-link {
    color: var(--gray);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: var(--light);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(21, 22, 68, 0.05);
}

/* Scanning effect on category links */
.category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(21, 22, 68, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-link:hover::before {
    left: 100%;
}

.category-link:hover,
.category-link.active {
    color: var(--primary);
    background: rgba(21, 22, 68, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(21, 22, 68, 0.15);
}

/* Blog Grid */
.blog-grid {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--lighter) 0%, rgba(248, 250, 252, 0.95) 100%);
    position: relative;
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(21, 22, 68, 0.08);
}

/* Hover Effect with Glow */
.blog-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.blog-card:hover::before {
    opacity: 0.03;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-card:hover::after {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(21, 22, 68, 0.15);
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.blog-card:hover .post-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(21, 22, 68, 0.2);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.post-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.post-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .post-content h3 {
    color: var(--primary);
}

.excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(21, 22, 68, 0.05), rgba(37, 99, 235, 0.05));
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Professional pattern effect for newsletter */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        var(--primary),
        var(--primary) 2px,
        transparent 2px,
        transparent 20px
    );
    opacity: 0.03;
    animation: pattern-move 10s linear infinite;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

.newsletter-content p {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: stretch;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--light);
    color: var(--dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(21, 22, 68, 0.05);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(21, 22, 68, 0.15);
    background: var(--light);
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(21, 22, 68, 0.2);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(21, 22, 68, 0.3);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Blog Post Styles */
.blog-post {
    max-width: 1200px;
    margin: 120px auto 5rem;
    padding: 0 5%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(21, 22, 68, 0.1);
}

.blog-post::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.02;
    pointer-events: none;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.post-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: rgba(21, 22, 68, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(21, 22, 68, 0.2);
}

.post-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    line-height: 1.8;
    color: var(--dark);
}

.post-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.post-content h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.post-content h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--gray);
}

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

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--dark);
    background: rgba(21, 22, 68, 0.05);
    padding: 1rem 2rem;
    border-radius: 0 10px 10px 0;
}

.post-content code {
    background: rgba(21, 22, 68, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(21, 22, 68, 0.05);
}

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

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

.nav-previous {
    text-align: left;
}

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

.nav-link {
    display: block;
    padding: 1.5rem;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(21, 22, 68, 0.05);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(21, 22, 68, 0.05), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(21, 22, 68, 0.15);
}

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

.nav-title {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

/* Related Posts Section */
.related-posts {
    padding: 5rem 5%;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, var(--lighter) 100%);
    position: relative;
    overflow: hidden;
}

.related-posts .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.related-posts .section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.related-posts .section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Enhanced Share Buttons */
.share-button.facebook {
    background: linear-gradient(135deg, #1877F2, #166FE5);
}

.share-button i {
    margin-right: 0.5rem;
}

/* Copy URL Button */
.copy-url-button {
    background: linear-gradient(135deg, var(--gray), #94a3b8);
    color: var(--light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-url-button:hover {
    background: linear-gradient(135deg, #94a3b8, var(--gray));
    transform: translateY(-2px);
}

.post-featured-image {
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.post-featured-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.author-bio {
    display: flex;
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(21, 22, 68, 0.08);
}

.author-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(21, 22, 68, 0.05), transparent);
    transition: left 0.5s ease;
}

.author-bio:hover::before {
    left: 100%;
}

.author-image {
    width: 150px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    position: relative;
}

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

.author-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-title {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.share-button {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.share-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.share-button:hover::before {
    left: 100%;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.share-button.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

/* Pagination Styles */
.pagination {
    margin-top: 4rem;
    text-align: center;
}

.pagination .page-link {
    color: var(--gray);
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(21, 22, 68, 0.05);
}

.pagination .page-link:hover,
.pagination .page-link.active {
    color: var(--primary);
    background: rgba(21, 22, 68, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
    font-size: 1.2rem;
}

.no-posts p {
    margin: 0;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .author-image {
        margin: 0 auto;
    }

    .share-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .categories-nav {
        gap: 0.5rem;
    }

    .category-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .blog-card {
        margin-bottom: 1rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-image {
        height: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .blog-card,
    .author-bio,
    .newsletter-section {
        border: 1px solid #ccc;
        box-shadow: none;
        background: white;
    }

    .cta-button,
    .share-button {
        display: none;
    }

    .hero-content h1,
    .featured-content h2,
    .newsletter-content h2,
    .post-header h1 {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}
