/* Blog Styles */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Main */
.blog-main {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card.featured .blog-card-image img {
    height: 100%;
    min-height: 400px;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #6c5ce7;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #444;
}

.blog-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-time {
    color: #6c5ce7;
    font-weight: 600;
}

.blog-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #6c5ce7;
}

.blog-card.featured h2 {
    font-size: 2rem;
}

.blog-card p {
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c5ce7;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more::after {
    content: '→';
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form .btn {
    padding: 15px 30px;
    background: #1a1a2e;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form .btn:hover {
    background: #16213e;
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 140px 0 80px;
    color: white;
}

.article-header .container {
    max-width: 900px;
}

.article-category {
    display: inline-block;
    background: #6c5ce7;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    opacity: 0.8;
}

.article-date, .article-read-time {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #ffffff !important;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #111111 !important;
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #000000 !important;
    margin: 3rem 0 1.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000 !important;
    margin: 2.5rem 0 1rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #111111 !important;
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: #000000 !important;
    font-weight: 700;
}

.article-content blockquote {
    border-left: 4px solid #6c5ce7;
    padding: 20px 30px;
    margin: 2rem 0;
    background: #f0f0f5;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #111111 !important;
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content a {
    color: #6c5ce7;
    text-decoration: underline;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content .highlight-box h3 {
    color: white;
    margin-top: 0;
}

.article-content .highlight-box p {
    color: rgba(255, 255, 255, 0.95);
}

.article-content .highlight-box a {
    color: white;
    font-weight: 600;
}

/* CTA Box */
.article-cta {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    margin-top: 0;
    color: #1a1a2e;
}

.article-cta .btn {
    display: inline-block;
    background: #6c5ce7;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.article-cta .btn:hover {
    background: #5b4cdb;
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-articles h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Share Buttons */
.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
}

.share-section span {
    font-weight: 600;
    color: #1a1a2e;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-card.featured .blog-card-image img {
        height: 250px;
        min-height: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-content {
        padding: 40px 15px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}
