/* ====== Blog-Specific Styles ====== */

/* Blog Header */
.blog-header {
    position: relative;
    z-index: 10;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 2rem;
}

.blog-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-header .logo-link {
    text-decoration: none;
}

.blog-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: var(--gradient-love);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.blog-nav a:hover,
.blog-nav a.active {
    color: var(--primary);
}

/* Blog Main Content */
.blog-main {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Article Styles */
.blog-article {
    margin-bottom: 3rem;
}

.article-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-love);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Article Content */
.article-content {
    padding: 2.5rem;
    border-radius: 20px;
    line-height: 1.8;
}

.article-content .intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 2rem 0 0.8rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

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

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.article-content a:hover {
    border-bottom-color: var(--primary);
}

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

/* CTA Box */
.cta-box {
    background: var(--gradient-love);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2.5rem 0;
}

.cta-box h3 {
    color: white !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary) !important;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Blog Footer */
.blog-footer {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.blog-footer .footer-tagline {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.blog-footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-footer .footer-links a:hover {
    color: var(--primary);
}

.blog-footer .copyright {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Blog Index Page Styles */
.blog-hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    background: var(--gradient-love);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.blog-hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

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

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

/* Guide Pages */
.guide-section {
    margin-bottom: 3rem;
}

.guide-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--card-border);
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.type-card {
    padding: 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-3px);
}

.type-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.type-card .type-name {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.type-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header {
        padding: 1rem;
    }

    .blog-header .logo {
        font-size: 1.5rem;
    }

    .blog-nav {
        gap: 1rem;
    }

    .blog-nav a {
        font-size: 0.9rem;
    }

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

    .article-content {
        padding: 1.5rem;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
