/* BLOG DETAILS */

.blog-details {
    padding: 10rem 0 60px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-badge {
    display: inline-block;
    padding: 8px 24px;
    background: #CCD3E5;
    color: #425CA6;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    color: #425CA6;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #666;
    font-size: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item svg {
    color: #425CA6;
}

.blog-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-layout {
    display: flex;
    gap: 100px;
    justify-content: center;
    align-items: flex-start;
}

.blog-content {
    flex: 1;
    max-width: 800px;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #425CA6;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #425CA6;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-content ul,
.blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.quote {
    background: #f0f4ff;
    border-left: 4px solid #425CA6;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #425CA6;
    font-size: 18px;
    line-height: 1.6;
    border-radius: 8px;
}

.section-image {
    width: 100%;
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-content blockquote {
    border-left: 4px solid #425CA6;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.blog-content a {
    color: #425CA6;
    text-decoration: none;
    border-bottom: 1px solid #425CA6;
    transition: opacity 0.3s ease;
}

.blog-content a:hover {
    opacity: 0.7;
}


/* SHARE SECTION */

.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
}

.share-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.email {
    background: #666;
    color: white;
}

.share-btn.copy_link {
    background: #333;
    color: white;
}


/* TAGS SECTION */

.tags-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.tag {
    padding: 8px 20px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #425CA6;
    color: white;
}


/* SIDEBAR */

.blog-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    width: 300px;
    flex-shrink: 0;
}

.sidebar-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}


/* AUTHOR SECTION */

.author-section {
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #425CA6;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.author-title {
    font-size: 14px;
    color: #425CA6;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.author-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* RELATED ARTICLES SECTION */

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.related-article {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.related-article:last-child {
    margin-bottom: 0;
}

.related-article:hover {
    transform: translateY(-5px);
}

.related-image {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    display: flex;
    flex-direction: column;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: #425CA6;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-title a {
    color: #425CA6;
    text-decoration: none;
    border-bottom: none;
}

.related-title a:hover {
    opacity: 0.7;
}

.related-date {
    font-size: 12px;
    color: #999;
}
 

/* NEWSLETTER SIDEBAR SECTION */

.newsletter-section {
    background: linear-gradient(132.77deg, #5B75BE 0.94%, #364B87 99.93%);
    color: white;
    border-radius: 30px;
}

.newsletter-sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    text-align: center;
}

.newsletter-sidebar-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    line-height: 1.5;
    text-align: center;
}

.newsletter-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-sidebar-input {
    padding: 16px 24px;
    border: none;
    border-radius: 70px;
    font-size: 14px;
    background: #FFFFFF1A;
    color: white;
}

.newsletter-sidebar-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-sidebar-btn {
    padding: 16px;
    border: none;
    border-radius: 70px;
    background: #5EC2C9;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-sidebar-btn:hover {
    background: #4db1b8;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .blog-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-image {
        border-radius: 20px;
    }

    .blog-details {
        padding: 40px 0;
    }

    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-section {
        padding: 25px;
    }
}
