/* ═══════════════════════════════════════════════════════
   BLOG PAGE STYLES
   Extends the main style.css design system
   ═══════════════════════════════════════════════════════ */

/* ─── BLOG HERO ─── */
.blog-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(212, 168, 85, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.75rem 0 1rem;
}

.blog-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* ─── CATEGORY FILTERS ─── */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--purple);
    color: var(--purple-light);
    background: rgba(139, 92, 246, 0.06);
}

.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 85, 0.1);
}

/* ─── FEATURED POST ─── */
.blog-featured {
    padding: 0 0 80px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.featured-card:hover {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
}

.featured-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.featured-image-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1050 0%, #0d0830 60%, #12163a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-inner i {
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.1));
}

.blog-category-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(10, 14, 23, 0.85);
    color: var(--gold);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-gold);
}

.featured-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    gap: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.featured-meta i {
    margin-right: 0.35rem;
    color: var(--gold);
}

.featured-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.featured-title a:hover {
    color: var(--gold);
}

.featured-excerpt {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ─── BLOG GRID ─── */
.blog-listing {
    padding: 0 0 100px;
}

.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card-full:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
    box-shadow: var(--glow-purple);
}

.blog-card-full.hidden {
    display: none;
}

.blog-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-meta i {
    margin-right: 0.3rem;
    color: var(--gold);
    font-size: 0.7rem;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-body h3 a {
    color: var(--text-primary);
    transition: var(--transition);
}

.blog-card-body h3 a:hover {
    color: var(--gold);
}

.blog-card-body>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.read-more {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

.read-more:hover {
    color: var(--gold-light);
    gap: 0.6rem;
}

.read-more i {
    font-size: 0.7rem;
    transition: var(--transition);
}

/* ─── BLOG NEWSLETTER CTA ─── */
.blog-newsletter {
    margin-top: 2rem;
}

.newsletter-inner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(212, 168, 85, 0.05));
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.newsletter-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

.newsletter-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.newsletter-inner>p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.newsletter-form-wide {
    display: flex;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form-wide input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form-wide input::placeholder {
    color: var(--text-muted);
}

.newsletter-form-wide input:focus {
    border-color: var(--purple);
    box-shadow: var(--glow-purple);
}

/* ─── BLOG POST PAGE ─── */
.post-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.post-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.post-breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.post-breadcrumb a {
    color: var(--gold);
}

.post-breadcrumb a:hover {
    color: var(--gold-light);
}

.post-category-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(212, 168, 85, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    margin-bottom: 1.25rem;
}

.post-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-meta i {
    margin-right: 0.35rem;
    color: var(--gold);
}

.post-cover {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-cover-inner {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, #1a1050 0%, #0d0830 60%, #12163a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-cover-inner i {
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.15;
}

/* ─── ARTICLE CONTENT ─── */
.post-content-wrapper {
    max-width: 740px;
    margin: 0 auto;
    padding: 60px 1.5rem 100px;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold);
    margin: 2rem 0 0.75rem;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-content em {
    color: var(--gold-light);
    font-style: italic;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.post-content li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 3px solid var(--gold);
    background: rgba(212, 168, 85, 0.05);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.post-content blockquote p {
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 0;
}

.post-content hr {
    border: none;
    height: 1px;
    background: var(--border-subtle);
    margin: 2.5rem 0;
}

/* Zodiac info cards */
.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.zodiac-card:hover {
    border-color: var(--purple);
    box-shadow: var(--glow-purple);
}

.zodiac-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.zodiac-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.65;
}

/* ─── POST SHARING ─── */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 2rem;
}

.post-share span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.share-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 85, 0.1);
}

/* ─── RELATED POSTS ─── */
.related-posts {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
}

.related-posts .section-header {
    margin-bottom: 2.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ─── NAV ACTIVE STATE ─── */
.nav-links a.active {
    color: var(--gold) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 240px;
    }

    .featured-content {
        padding: 0 2rem 2rem;
    }

    .blog-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-grid-full {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .featured-content {
        padding: 0 1.5rem 1.5rem;
    }

    .featured-title {
        font-size: 1.35rem;
    }

    .newsletter-inner {
        padding: 2rem 1.5rem;
    }

    .newsletter-form-wide {
        flex-direction: column;
    }

    .post-cover-inner {
        height: 240px;
    }

    .post-content-wrapper {
        padding: 40px 1.5rem 60px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .post-share {
        flex-wrap: wrap;
    }
}