/* Blog Content Hero Section */
#hero-section {
    /* background-color: #f8f9fa; */
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
}

/* Back to Blog Link */
.back-to-blog-link {
    color: #ff6b35;
    /* font-size: 0.95rem; */
    transition: all 0.2s ease;
}

.back-to-blog-link:hover {
    color: #e55a2a;
    transform: translateX(-4px);
}

.back-to-blog-link i {
    font-size: 1rem;
}

/* Blog Content Title */
.blog-content-title {
    font-size: 3rem;
    /* color: #2c3e50; */
    line-height: 1.2;
}

/* Blog Content Description */
.blog-content-description {
    /* font-size: 1.1rem; */
    line-height: 1.7;
    /* color: #6c757d; */
}

/* Blog Hero Image Container */
.blog-hero-image-container {
    position: relative;
    width: 100%;
    height: 380px;
    background: #f5f5f5;
    border-radius: 1rem;
    overflow: hidden;
}

.blog-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 1399px) {
    #hero-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .blog-hero-image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 991.98px) {
    #hero-section {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }
    
    .blog-content-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-image-container {
        height: 390px;
        margin-top: 2rem;
    }
    
    .blog-hero-decoration {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 767.98px) {
    #hero-section {
        padding-top: 6rem !important;
        padding-bottom: 2rem !important;
    }
    
    .blog-content-title {
        font-size: 2rem;
    }
    
    .blog-content-description {
        font-size: 1rem;
    }
    
    .blog-hero-image-container {
        height: 350px;
        margin-top: 2rem;
    }
    
    .blog-hero-image-container::after {
        width: 220px;
        height: 60%;
    }
    
    .blog-hero-image-container::before {
        width: 250px;
        height: 250px;
    }
    
    .blog-hero-decoration {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 575.98px) {
    .blog-content-title {
        font-size: 1.75rem;
    }
    
    .blog-content-description {
        font-size: 0.95rem;
    }
    
    .blog-hero-image-container {
        height: 300px;
    }
    
    .blog-hero-image-container::after {
        width: 180px;
        height: 50%;
    }
    
    .blog-hero-image-container::before {
        width: 200px;
        height: 200px;
    }
    
    .blog-hero-decoration {
        width: 200px;
        height: 200px;
    }
}

/* Blog Content Section */
#blog-content-section {
    background-color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Blog Article */
.blog-article {
    padding-right: 2rem;
}

/* Blog Section */
.blog-section {
    margin-bottom: 3rem;
}

.blog-section-title {
    font-size: 2rem;
    color: #2c3e50;
    line-height: 1.3;
}

.blog-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Table of Contents */
.blog-toc-wrapper {
    padding-left: 2rem;
    height: 100%;
}

.blog-toc {
    padding: 1.5rem;
    background-color: #ffffff;
    border-left: 3px solid #e5e7eb;
    top: 100px;
}

.blog-toc-title {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.blog-toc-nav ul {
    margin: 0;
    padding: 0;
}

.blog-toc-item {
    position: relative;
}

.blog-toc-link {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    display: block;
}

.blog-toc-link:hover {
    color: #2c3e50;
}

.blog-toc-link.active {
    color: #ff6b35;
    font-weight: 600;
}

/* Responsive Adjustments for Blog Content */
@media (max-width: 991.98px) {
    .blog-article {
        padding-right: 0;
    }
    
    .blog-toc-wrapper {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .blog-toc {
        position: static !important;
        border-left: none;
        border-top: 3px solid #e5e7eb;
        padding: 1.5rem 0;
    }
    
    .blog-section-title {
        font-size: 1.75rem;
    }
    
    .blog-paragraph {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    #blog-content-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .blog-section {
        margin-bottom: 2rem;
    }
    
    .blog-section-title {
        font-size: 1.5rem;
    }
    
    .blog-paragraph {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .blog-section-title {
        font-size: 1.35rem;
    }
    
    .blog-paragraph {
        font-size: 0.9rem;
    }
    
    .blog-toc-link {
        font-size: 0.9rem;
    }
}

/* Related Blogs Section */
#related-blogs-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Related Blog Card */
.related-blog-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.related-blog-card .card-body {
    /* padding: 2rem; */
}

/* Icon Wrapper */
.related-blog-icon-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
}

/* Icon Decorations */
.related-blog-icon-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.related-blog-icon-decoration.decoration-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    top: -20px;
    left: -30px;
    opacity: 0.9;
}

.related-blog-icon-decoration.decoration-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    bottom: -10px;
    right: -20px;
    opacity: 0.9;
}

.related-blog-icon-decoration.decoration-3 {
    width: 40px;
    height: 40px;
    background: #ff6b35;
    top: 30px;
    right: 50px;
    opacity: 0.5;
}

.related-blog-icon-decoration.decoration-4 {
    width: 25px;
    height: 25px;
    background: #6b5b3a;
    bottom: 40px;
    left: 40px;
    opacity: 0.4;
}

/* Main Icons */
.related-blog-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.related-blog-icon.icon-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.related-blog-icon.icon-secondary {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    top: 55%;
    left: 55%;
}

.related-blog-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

/* Blog Card Content */
.related-blog-title {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.4;
    min-height: 3.5rem;
}

.related-blog-meta {
    font-size: 0.95rem;
}

.related-blog-link {
    color: #ff6b35;
    /* font-weight: 500; */
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.related-blog-link:hover {
    color: #e55a2a;
    transform: translateX(4px);
}

.related-blog-link i {
    transition: transform 0.2s ease;
}

.related-blog-link:hover i {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #related-blogs-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .related-blogs-title {
        font-size: 2rem;
    }
    
    .related-blog-icon-wrapper {
        height: 180px;
    }
    
    .related-blog-icon {
        width: 85px;
        height: 85px;
    }
    
    .related-blog-icon.icon-secondary {
        width: 100px;
        height: 100px;
    }
    
    .related-blog-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    #related-blogs-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .related-blogs-title {
        font-size: 1.75rem;
        margin-bottom: 1rem !important;
    }
    
    .related-blog-card .card-body {
        /* padding: 1.5rem; */
    }
    
    .related-blog-icon-wrapper {
        height: 160px;
    }
    
    .related-blog-icon {
        width: 75px;
        height: 75px;
    }
    
    .related-blog-icon.icon-secondary {
        width: 90px;
        height: 90px;
    }
    
    .related-blog-icon i {
        font-size: 1.75rem;
    }
    
    .related-blog-title {
        font-size: 1.15rem;
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .related-blogs-title {
        font-size: 1.5rem;
    }
    
    .related-blog-card .card-body {
        padding: 1.25rem;
    }
    
    .related-blog-icon-wrapper {
        height: 140px;
    }
    
    .related-blog-icon {
        width: 65px;
        height: 65px;
    }
    
    .related-blog-icon.icon-secondary {
        width: 80px;
        height: 80px;
    }
    
    .related-blog-icon i {
        font-size: 1.5rem;
    }
    
    .related-blog-icon-decoration.decoration-1 {
        width: 90px;
        height: 90px;
    }
    
    .related-blog-icon-decoration.decoration-2 {
        width: 60px;
        height: 60px;
    }
    
    .related-blog-icon-decoration.decoration-3 {
        width: 30px;
        height: 30px;
    }
    
    .related-blog-icon-decoration.decoration-4 {
        width: 20px;
        height: 20px;
    }
    
    .related-blog-title {
        font-size: 1.1rem;
    }
    
    .related-blog-meta {
        font-size: 0.9rem;
    }
}
