/* Blog Page Styles - RupIELTS Theme */

/* Main Layout */
.blog-main {
    min-height: 100vh;
    background: inherit;
    position: relative;
}

/* Animated Background with New Pastel Colors */
.blog-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 170, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(253, 255, 182, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(178, 255, 163, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(148, 246, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section */
.blog-hero {
    background: 
        linear-gradient(135deg, rgba(255, 170, 255, 0.3) 0%, rgba(253, 255, 182, 0.25) 30%, rgba(178, 255, 163, 0.25) 60%, rgba(148, 246, 255, 0.3) 100%),
        radial-gradient(ellipse at top left, rgba(255, 170, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(148, 246, 255, 0.2) 0%, transparent 50%);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated Pattern */
.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 170, 255, 0.05) 35px, rgba(255, 170, 255, 0.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(148, 246, 255, 0.05) 35px, rgba(148, 246, 255, 0.05) 70px);
    animation: blogPattern 20s linear infinite;
}

@keyframes blogPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(70px, 70px); }
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Badge with Gradient */
.blog-badge-container {
    display: inline-block;
    margin-bottom: 40px;
    position: relative;
}

.blog-badge {
    width: 140px;
    height: 140px;
    background: 
        linear-gradient(135deg, #ffaaff 0%, #fdffb6 50%, #b2ffa3 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 40px rgba(255, 170, 255, 0.4),
        inset 0 -5px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: blogMorph 8s ease-in-out infinite, float 6s ease-in-out infinite;
}

@keyframes blogMorph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    50% { border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%; }
    75% { border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%; }
}

/* Sparkle Effect */
.blog-badge::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.blog-icon {
    font-size: 70px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    animation: blogWiggle 4s ease-in-out infinite;
}

@keyframes blogWiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Title with Gradient Animation */
.blog-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ffaaff, #fdffb6, #b2ffa3, #94f6ff, #ffaaff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
    animation: blogGradientSlide 6s ease infinite;
}

@keyframes blogGradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--dark-text);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Hero Stats */
.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.blog-stat {
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 25px 35px;
    border-radius: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    min-width: 160px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 170, 255, 0.1), rgba(148, 246, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-stat:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #ffaaff;
    box-shadow: 
        0 15px 40px rgba(255, 170, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-stat:hover::before {
    opacity: 1;
}

.blog-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffaaff, #94f6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.blog-stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Decorative Shapes */
.blog-shape {
    position: absolute;
    width: 120px;
    height: 120px;
    background: 
        linear-gradient(135deg, rgba(255, 170, 255, 0.2), rgba(253, 255, 182, 0.2), rgba(178, 255, 163, 0.2));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.blog-shape-1 {
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.blog-shape-2 {
    bottom: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

/* Container */
.blog-container {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

/* Category Filter */
.blog-categories {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.blog-category-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-category-item {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    color: var(--dark-text);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.blog-category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-category-item:hover,
.blog-category-item.active {
    transform: translateY(-3px);
    color: white;
    border-color: #ffaaff;
    box-shadow: 0 10px 25px rgba(255, 170, 255, 0.3);
}

.blog-category-item:hover::before,
.blog-category-item.active::before {
    opacity: 1;
}

.blog-category-item.active {
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    color: white;
}

.blog-category-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Main Content Wrapper */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

/* Blog Post Card */
.blog-post-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffaaff, #fdffb6, #b2ffa3, #94f6ff);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.blog-post-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(255, 170, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-post-card:hover::before {
    opacity: 1;
}

/* Post Thumbnail */
.blog-post-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .blog-post-thumbnail img {
    transform: scale(1.1);
}

.blog-post-thumbnail-placeholder {
    background: 
        linear-gradient(135deg, rgba(255, 170, 255, 0.2) 0%, rgba(253, 255, 182, 0.2) 50%, rgba(178, 255, 163, 0.2) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffaaff;
    font-weight: 600;
}

.blog-post-thumbnail-placeholder::before {
    content: '🖼️';
    position: absolute;
    font-size: 60px;
    opacity: 0.2;
}

.blog-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-post-category a {
    color: white;
    text-decoration: none;
}

/* Post Content */
.blog-post-content {
    padding: 30px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.blog-post-date,
.blog-post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

.blog-post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--dark-text);
    text-decoration: none;
    background: linear-gradient(to right, #ffaaff 0%, #94f6ff 100%);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.blog-post-title a:hover {
    background-size: 100% 2px;
}

.blog-post-excerpt {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffaaff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #94f6ff;
    gap: 12px;
}

.blog-read-more:hover .blog-arrow {
    transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

/* Widget Styles */
.blog-widget {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.blog-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 170, 255, 0.05) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.blog-widget-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ffaaff, #94f6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

/* Search Form */
.blog-search-form {
    display: flex;
    gap: 0;
    position: relative;
}

.blog-search-field {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 170, 255, 0.3);
    border-radius: 25px 0 0 25px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-search-field:focus {
    outline: none;
    border-color: #ffaaff;
    background: white;
}

.blog-search-submit {
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    border: none;
    padding: 0 25px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.blog-search-submit:hover {
    background: linear-gradient(135deg, #94f6ff, #ffaaff);
    transform: scale(1.05);
}

/* Popular Posts */
.blog-popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-popular-post {
    margin-bottom: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.blog-popular-post a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-text);
    padding: 15px;
    background: rgba(255, 170, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.blog-popular-post:hover a {
    background: rgba(255, 170, 255, 0.15);
    transform: translateX(5px);
}

.blog-popular-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffaaff, #94f6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-popular-title {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

/* Newsletter Widget */
.blog-newsletter {
    background: 
        linear-gradient(135deg, #ffaaff 0%, #fdffb6 50%, #b2ffa3 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-newsletter::after {
    content: '📧';
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.blog-newsletter p {
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.blog-newsletter-btn {
    background: white;
    color: #ffaaff;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.blog-newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Tags Cloud */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    padding: 8px 18px;
    background: 
        linear-gradient(135deg, rgba(255, 170, 255, 0.1) 0%, rgba(148, 246, 255, 0.1) 100%);
    border-radius: 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-tag:hover {
    border-color: #ffaaff;
    background: 
        linear-gradient(135deg, rgba(255, 170, 255, 0.2) 0%, rgba(148, 246, 255, 0.2) 100%);
    transform: translateY(-2px);
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 10px;
    padding: 25px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-pagination li {
    list-style: none;
}

.blog-pagination a,
.blog-pagination .current {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination a {
    color: var(--dark-text);
    background: rgba(255, 170, 255, 0.1);
}

.blog-pagination a:hover {
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .current {
    background: linear-gradient(135deg, #ffaaff, #94f6ff);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 170, 255, 0.3);
}

/* No Posts Message */
.blog-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.blog-no-posts-content {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.blog-no-posts-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 30px;
}

.blog-no-posts h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffaaff, #94f6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CTA Section */
.blog-cta-section {
    margin-top: 80px;
    padding: 0 20px;
}

.blog-cta-card {
    background: 
        linear-gradient(135deg, #ffaaff 0%, #fdffb6 30%, #b2ffa3 60%, #94f6ff 100%);
    color: white;
    padding: 60px 50px;
    border-radius: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(255, 170, 255, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Animated Background Shapes */
.blog-cta-card::before,
.blog-cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.blog-cta-card::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.blog-cta-card::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.blog-cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.blog-cta-card p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.blog-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.blog-cta-btn {
    padding: 18px 45px;
    border-radius: 35px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.blog-cta-primary {
    background: white;
    color: #ffaaff;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 2px transparent;
}

.blog-cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 170, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.blog-cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #ffaaff;
}

.blog-cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.blog-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.blog-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.blog-phone-icon {
    font-size: 1.3rem;
    animation: ring 1s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2.2rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-hero {
        padding: 50px 20px 70px;
    }
    
    .blog-hero-stats {
        gap: 20px;
    }
    
    .blog-stat {
        padding: 20px 25px;
        min-width: 140px;
    }
    
    .blog-stat-number {
        font-size: 1.8rem;
    }
    
    .blog-badge {
        width: 120px;
        height: 120px;
    }
    
    .blog-icon {
        font-size: 60px;
    }
    
    .blog-cta-card {
        padding: 40px 25px;
    }
    
    .blog-cta-card h2 {
        font-size: 2rem;
    }
    
    .blog-category-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .blog-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .blog-sidebar,
    .blog-cta-section,
    .blog-shape,
    .blog-categories {
        display: none;
    }
    
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-hero {
        background: none;
        padding: 20px 0;
    }
    
    .blog-post-card {
        box-shadow: none;
        background: white;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .blog-badge,
    .blog-icon {
        animation: none;
    }
}