/* ============ BLOG STYLES ============ */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, var(--hot-pink), #c084fc);
    padding: 8rem 2rem 4rem;
    text-align: center;
    margin-top: 60px;
    color: var(--white);
}

.blog-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-title {
    font-family: var(--font-poppins);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-subtitle {
    font-family: var(--font-inter);
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Featured Post */
.featured-post {
    margin-bottom: 4rem;
}

.post-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 95, 162, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 95, 162, 0.2);
}

.post-card.featured .post-image {
    position: relative;
    overflow: hidden;
}

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

.post-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--hot-pink);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(255, 95, 162, 0.4);
}

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(255, 95, 162, 0.15);
}

.post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card.featured .post-content {
    padding: 2rem;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-family: var(--font-inter);
}

.post-category {
    background: var(--light-pink);
    color: var(--hot-pink);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.post-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card.featured .post-title {
    font-size: 2rem;
}

.post-card .post-title {
    font-size: 1.35rem;
}

.post-title a {
    color: var(--navy-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--hot-pink);
}

.post-excerpt {
    font-family: var(--font-inter);
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.post-card.featured .post-excerpt {
    font-size: 1.05rem;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card.featured .author-avatar {
    width: 40px;
    height: 40px;
}

.author-name {
    font-family: var(--font-poppins);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-black);
}

.read-more {
    font-family: var(--font-poppins);
    font-weight: 600;
    color: var(--hot-pink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

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

/* Section Title */
.section-title {
    font-family: var(--font-poppins);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-black);
    margin-bottom: 2rem;
    text-align: center;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--light-pink), #ffe2f1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.newsletter-title {
    font-family: var(--font-poppins);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-black);
    margin-bottom: 0.5rem;
}

.newsletter-text {
    font-family: var(--font-inter);
    color: var(--gray-text);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-inter);
    font-size: 1rem;
    background: var(--white);
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--hot-pink);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--hot-pink), var(--secondary-pink));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 95, 162, 0.35);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 162, 0.45);
}

/* Footer */
.blog-footer {
    background: var(--navy-black);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--hot-pink), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-family: var(--font-inter);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-title {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-family: var(--font-inter);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--hot-pink);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-inter);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--hot-pink);
}

.nav-links a.active::after {
    width: 100%;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .post-card.featured {
        grid-template-columns: 1fr;
    }
    
    .post-card.featured .post-image {
        height: 300px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 1.5rem 3rem;
    }
    
    .blog-container {
        padding: 2rem 1.5rem;
    }
    
    .post-card.featured .post-content {
        padding: 1.5rem;
    }
    
    .post-card.featured .post-title {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
}



