/* Blog Content Stylesheet */
/* This stylesheet contains all styling for blog posts */

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.blog-header {
    margin-bottom: 40px;
    margin-top: 100px;
}

.blog-title {
    font-size: 44px;
    font-weight: 700;
    color: #0D1126;
    margin-bottom: 15px;
    font-family: 'BPG Banner Caps', sans-serif;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.blog-date {
    color: #946D43;
    font-weight: 600;
}

.blog-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.blog-hashtags a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f0f0;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.blog-hashtags a:hover {
    background-color: #e0e0e0;
}

.blog-banner {
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.blog-content h2 {
    font-size: 32px;
    color: #1e3c72;
    margin: 40px 0 20px 0;
    font-family: 'BPG Banner Caps', sans-serif;
}

.blog-content h3 {
    font-size: 24px;
    color: #888888;
    margin: 30px 0 15px 0;
    font-family: 'Alk Sanet', sans-serif;
}

.blog-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-content strong {
    font-weight: 600;
    color: #1e3c72;
}

.blog-content em {
    font-style: italic;
    color: #555;
}

.blog-content a {
    display: inline-block;
    padding: 2px 5px;
    color: #ffffff;
    background-color: #1e3c72;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.blog-content a:hover {
    background-color: #946D43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog-content blockquote {
    background-color: #f0f4ff;
    border-left: 4px solid #1e3c72;
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 5px;
}

.blog-content blockquote p {
    margin-bottom: 15px;
    color: #1e3c72;
}

.blog-content blockquote p:last-child {
    margin-bottom: 0;
}

.blog-content ol,
.blog-content ul {
    margin: 20px 0;
    padding-left: 40px;
    color: #333;
    line-height: 1.8;
}

.blog-content ol li,
.blog-content ul li {
    margin-bottom: 12px;
    text-align: justify;
    background-color: #f0f0f0;
    padding: 10px 12px;
    border-radius: 5px;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #1e3c72;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background-color: #1e3c72;
    color: #fff;
    transform: translateY(-3px);
}

/* Blog Grid - Used on main blog page */
.blog-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
}

.blog-post {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.blog-post:hover {
    background-color: #C0C8D5;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-post h3 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-family: 'BPG Banner Caps', sans-serif;
}

.blog-post .blog-date {
    display: block;
    font-size: 13px;
    color: #946D43;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-post p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1e3c72;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #946D43;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 28px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content h3 {
        font-size: 18px;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-grid {
        grid-template-columns: 100%;
        gap: 30px;
    }

    .blog-post h3 {
        font-size: 18px;
    }

    .blog-container {
        padding: 15px;
    }

    .blog-header {
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 24px;
    }

    .blog-content h2 {
        font-size: 20px;
    }

    .blog-content h3 {
        font-size: 16px;
    }

    .blog-post h3 {
        font-size: 16px;
    }

    .social-share {
        gap: 15px;
    }

    .social-share a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
