body {
    background-color: #f8f9fa;
    /* Light gray background from Bootstrap */
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e9ecef;
    /* Light track */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #adb5bd;
    /* Gray thumb */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
    /* Darker gray on hover */
}

/* Styling for content rendered by CKEditor to ensure it looks good within Bootstrap */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    /* rounded-3 from Bootstrap */
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.25;
}

.blog-content p {
    margin-bottom: 1.25em;
}

.blog-content ul,
.blog-content ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.blog-content li {
    margin-bottom: 0.5em;
}

/* Custom class for line clamping in similar blog snippets */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom button styling for social shares */
.btn-social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-twitter {
    background-color: #00acee;
}

.btn-linkedin {
    background-color: #0e76a8;
}

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

.btn-youtube {
    background-color: #FF0000;
}

.btn-social:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}