﻿ 
:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
}

 
/* Blog Details Wrapper */
.blog-details-wrapper {
    background: var(--moif-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(13, 27, 62, 0.08);
    margin-bottom: 40px;
}

/* Featured Image */
.blog-featured-image {
    position: relative;
    overflow: hidden;
    max-height: 500px;
}

    .blog-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .blog-featured-image:hover img {
        transform: scale(1.05);
    }

.image-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(13, 27, 62, 0.8), transparent);
}

/* Blog Details Content */
.blog-details-content {
    padding: 40px;
}

/* Meta Bar */
.blog-meta-bar {
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(13, 27, 62, 0.15);
}

.blog-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

    .meta-item i {
        color: var(--moif-gold-bright);
        font-size: 18px;
    }

    .meta-item a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .meta-item a:hover {
            color: var(--moif-gold-bright);
        }

/* Main Title */
.blog-main-title {
    color: var(--moif-blue-dark);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

    .blog-main-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
        border-radius: 2px;
    }

/* Content Text */
.blog-content-wrapper {
    margin-bottom: 40px;
}

.blog-content-text {
    color: #444;
    font-size: 17px;
    line-height: 1.9;
}

    .blog-content-text p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }

    .blog-content-text h2,
    .blog-content-text h3,
    .blog-content-text h4 {
        color: var(--moif-blue-dark);
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .blog-content-text h2 {
        font-size: 28px;
        border-right: 5px solid var(--moif-gold);
        padding-right: 15px;
    }

    .blog-content-text h3 {
        font-size: 24px;
    }

    .blog-content-text h4 {
        font-size: 20px;
    }

    .blog-content-text img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 2rem 0;
        box-shadow: 0 8px 25px rgba(13, 27, 62, 0.12);
    }

    .blog-content-text ul,
    .blog-content-text ol {
        margin: 1.5rem 0;
        padding-right: 25px;
    }

    .blog-content-text li {
        margin-bottom: 0.8rem;
        line-height: 1.8;
    }

    .blog-content-text blockquote {
        background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(244, 208, 63, 0.05));
        border-right: 5px solid var(--moif-gold);
        padding: 25px 30px;
        margin: 2rem 0;
        border-radius: 10px;
        font-style: italic;
        color: var(--moif-blue-dark);
        position: relative;
    }

        .blog-content-text blockquote::before {
            content: "\201D";
            font-size: 60px;
            color: var(--moif-gold);
            opacity: 0.3;
            position: absolute;
            top: 10px;
            right: 20px;
            font-family: Georgia, serif;
        }

.blog-content-english {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px dashed rgba(13, 27, 62, 0.1);
}

.content-section-title {
    color: var(--moif-blue-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--moif-gold);
    display: inline-block;
}

/* Share Section */
.blog-share-section {
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03), rgba(26, 43, 74, 0.05));
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(201, 162, 39, 0.2);
}

.share-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.share-title {
    color: var(--moif-blue-dark);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .share-title i {
        color: var(--moif-gold);
        font-size: 22px;
    }

.social-share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--moif-white);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .share-btn.facebook {
        background: #3b5998;
    }

    .share-btn.twitter {
        background: #1da1f2;
    }

    .share-btn.linkedin {
        background: #0077b5;
    }

    .share-btn.whatsapp {
        background: #25d366;
    }

    .share-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

/* Related Posts Section */
.related-posts-section {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.02) 0%, rgba(26, 43, 74, 0.03) 100%);
    border-radius: 15px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: var(--moif-blue-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    border-radius: 50%;
    color: var(--moif-white);
    font-size: 24px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
    margin: 0 auto;
    border-radius: 2px;
}

/* Related Blog Card */
.related-blog-card {
    background: var(--moif-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(13, 27, 62, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .related-blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(13, 27, 62, 0.15);
    }

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-blog-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.8), rgba(201, 162, 39, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-blog-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    color: var(--moif-white);
    font-size: 40px;
    animation: slideRight 0.5s ease;
}

@keyframes slideRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.card-content {
    padding: 25px;
}

.card-title {
    margin-bottom: 15px;
}

    .card-title a {
        color: var(--moif-blue-dark);
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s ease;
    }

        .card-title a:hover {
            color: var(--moif-gold);
        }

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

    .card-meta i {
        color: var(--moif-gold);
        font-size: 16px;
    }

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-details-content {
        padding: 30px 25px;
    }

    .blog-main-title {
        font-size: 28px;
    }

    .related-posts-section {
        padding: 30px 20px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .page-title-heading {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .blog-meta-list {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .blog-details-content {
        padding: 25px 20px;
    }

    .blog-main-title {
        font-size: 24px;
    }

    .blog-content-text {
        font-size: 16px;
    }

    .share-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 24px;
    }

    .related-posts-section {
        padding: 25px 15px;
    }
}

/* Print Styles */
@media print {
    .blog-share-section,
    .related-posts-section,
    .blog-sidebar {
        display: none;
    }

    .blog-details-wrapper {
        box-shadow: none;
    }
}

 