/* ========================================
   BLOGS PAGE — PSYCH SERENE
======================================== */

#blogs-page {
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: var(--ivory);
}

/* Ambient Background Orbs */
.blog-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.blog-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--teal);
    top: -60px;
    left: -150px;
}

.blog-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--green);
    bottom: 25%;
    right: -100px;
}

#blogs-page .container {
    position: relative;
    z-index: 1;
}

/* Blogs Header */
.blogs-header {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.blogs-header .section-title {
    color: var(--teal);
}

.blogs-header .section-title em {
    color: var(--green);
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(27, 58, 75, 0.05);
    border: 1px solid rgba(232, 237, 226, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(27, 58, 75, 0.12);
}

/* Blog Featured Image */
.blog-featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mist) 0%, var(--white) 100%);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
    color: var(--leaf);
    font-size: 48px;
    opacity: 0.9;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--leaf);
    color: var(--green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(27, 58, 75, 0.2);
}

/* Blog Content */
.blog-content {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: var(--text);
}

.blog-date {
    font-weight: 500;
    color: var(--green);
}

.blog-read-time {
    font-weight: 400;
    opacity: 0.8;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--teal);
    margin: 0 0 12px 0;
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--green);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0 0 18px 0;
    line-height: 1.7;
    font-weight: 300;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.blog-read-more:hover {
    color: var(--teal);
    transform: translateX(4px);
}

/* CTA Section */
.blogs-cta {
    background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
    color: var(--leaf);
    padding: 70px 50px;
    border-radius: 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    box-shadow: 0 20px 50px rgba(27, 58, 75, 0.15);
}

.blogs-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 15px 0;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--leaf);
}

.blogs-cta p {
    font-size: 1.05rem;
    margin: 0 0 35px 0;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    color: var(--leaf);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    #blogs-page {
        padding: 100px 0 70px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blogs-cta {
        padding: 50px 35px;
    }

    .blogs-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    #blogs-page {
        padding: 80px 0 60px;
    }

    .blogs-header .section-title {
        font-size: clamp(24px, 3vw, 32px);
    }

    .blogs-header .section-sub {
        font-size: 0.95rem;
    }

    .blog-featured-image {
        aspect-ratio: 4 / 3;
    }

    .blog-image-placeholder {
        font-size: 36px;
    }

    .blog-category {
        font-size: 10px;
        padding: 5px 12px;
    }

    .blog-content {
        padding: 24px 20px;
    }

    .blog-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .blogs-cta {
        padding: 40px 25px;
    }

    .blogs-cta h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .blogs-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    #blogs-page {
        padding: 60px 0 50px;
    }

    .blogs-header {
        margin-bottom: 24px;
    }

    .blogs-header .section-eyebrow {
        font-size: 10px;
    }

    .blogs-header .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .blogs-header .section-sub {
        font-size: 0.9rem;
    }

    .blog-featured-image {
        aspect-ratio: 3 / 2;
    }

    .blog-image-placeholder {
        font-size: 32px;
    }

    .blog-category {
        font-size: 9px;
        padding: 4px 10px;
        top: 12px;
        right: 12px;
    }

    .blog-content {
        padding: 20px 16px;
    }

    .blog-meta {
        gap: 8px;
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    .blog-title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        margin-bottom: 14px;
        line-height: 1.6;
    }

    .blog-read-more {
        font-size: 0.85rem;
    }

    .blogs-cta {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .blogs-cta h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .blogs-cta p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}
