.breadcrumb,
.breadcrumb li {
    align-items: center;
    display: flex
}

#blogheading,
#featured-post-content,
.blog-publish-date,
.blog-update-date {
    position: relative
}

#category-list,
#table-of-contents ul {
    list-style-type: none;
    padding: 0
}

#blog-categories,
#categoryButtons,
#explore-topics p,
h1,
h2,
p {
    margin-bottom: 10px
}

.breadcrumb {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    list-style: none;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

@media screen and (max-width:768px) {
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 8px;
        background-color: transparent
    }

    .breadcrumb li {
        margin-bottom: 5px
    }

    .breadcrumb li:not(:last-child)::after {
        margin: 0 5px
    }

    .breadcrumb .active,
    .breadcrumb li a {
        font-size: 14px
    }

    .breadcrumb li i {
        margin-right: 5px
    }

    #categoryButtons {
        position: relative;
        margin: 20px
    }
}

@media screen and (max-width:480px) {
    .breadcrumb {
        flex-direction: column;
        align-items: flex-start
    }

    .breadcrumb li {
        margin-bottom: 8px
    }

    .breadcrumb li:not(:last-child)::after {
        display: none
    }

    .breadcrumb .active,
    .breadcrumb li a {
        font-size: 12px
    }
}

.breadcrumb li {
    color: #555
}

.breadcrumb li a {
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center
}

.breadcrumb li a:hover {
    color: #2980b9
}

.breadcrumb li i {
    margin-right: 8px
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #888
}

.breadcrumb .active {
    color: #333
}

.breadcrumb .active i {
    color: #e74c3c
}

.breadcrumb-container {
    margin: 0 auto
}

#explore-topics h2,
.blog-dates,
li {
    margin-bottom: 10px
}

.blog-dates {
    font-size: 16px;
    display: flex;
    justify-content: space-around;
    justify-items: center
}

.blog-publish-date::before,
.blog-update-date::before {
    content: "\f073";
    font-family: FontAwesome;
    margin-right: 5px;
    color: #3498db
}

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


#category-articles-container,
#more-articles-container,
#more-caterory-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px
}

@media (max-width:1024px) {
    .full-article {
        max-width: 800px
    }
}

.full-article {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    transition: box-shadow .3s;
    width: 100%;
    box-sizing: border-box
}

#category-list li,
.category-btn {
    background-color: #f0f0f0;
    transition: background-color .3s
}

.full-article img {
    max-width: 100%;
    height: auto;
    border-radius: 4px
}


/* General styles for .full-article */
.full-article h1 {
    font-size: 1.8em;
    /* Smaller font size for mobile */
    text-align: center;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    /* Reduced margin for mobile */
}

.full-article h2 {
    font-size: 1.4em;
    /* Smaller font size for mobile */
    border-bottom: 2px solid var(--accent);
    margin-bottom: 15px;
    /* Reduced margin for mobile */
}

.full-article h3 {
    font-size: 1.1em;
    /* Slightly larger for better readability */
    margin-bottom: 10px;
    /* Reduced margin for mobile */
}

.full-article p {
    font-size: 0.95em;
    /* Slightly smaller font size for mobile */
    line-height: 1.6;
    /* Tighter line height for mobile */
    color: #555;
    margin-bottom: 15px;
    /* Reduced margin for mobile */
}

.full-article ul {
    list-style-type: disc;
    margin-left: 15px;
}

.full-article li {
    font-size: 1em;
    margin-bottom: 10px;
}

.full-article blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #e74c3c;
    padding: 10px 15px;
    /* Reduced padding for mobile */
    margin: 15px 0;
    /* Reduced margin for mobile */
    font-style: italic;
    color: #666;
}

.full-article hr {
    border: 0;
    height: 1px;
    background-color: #23a094;
    margin: 20px 0;
    /* Reduced margin for mobile */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .full-article h1 {
        font-size: 1.6em;
        /* Even smaller for very small screens */
        margin-bottom: 10px;
    }

    .full-article h2 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .full-article h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }

    .full-article p {
        font-size: 0.9em;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .full-article ul {
        margin-left: 10px;
    }

    .full-article li {
        font-size: 0.95em;
        margin-bottom: 8px;
    }

    .full-article blockquote {
        padding: 8px 12px;
        margin: 12px 0;
    }

    .full-article hr {
        margin: 15px 0;
    }
}

.blog-author,
.blog-date {
    text-align: center;
    font-size: .9em;
    color: #666
}

.blog-author {
    font-weight: 700
}

.blog-author::before {
    content: "\f007";
    font-family: FontAwesome;
    margin-right: 5px;
    color: #3498db
}

.blog-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #23a094
}

#blogheading {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 40px 0 30px;
    overflow: hidden
}

#blogheading::after,
#blogheading::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20%;
    height: 2px;
    background-color: #e65c00
}

.highlight {
    color: #3498db;
    font-weight: 700;
    font-size: 2.5rem
}

#categoryButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.category-btn {
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center
}

.category-btn i {
    margin-right: 5px
}

#category-list li:hover,
.category-btn:hover {
    background-color: #e0e0e0
}

.category-i {
    color: #fff !important;
    transition: .3s
}

.category-i:hover {
    color: var(--color-nav) !important
}

.category-dropdown-btn {
    display: none
}

#blogheading::before {
    left: -50px
}

#blogheading::after {
    right: -50px
}

#blogheading i {
    margin: 0 15px;
    vertical-align: middle
}

#toc-list a.active {
    font-weight: 700;
    color: #007bff !important;
    padding: 5px;
    background-color: rgba(0, 123, 255, .1);
    border-radius: 4px;
    transition: background-color .3s;
    border-left: 5px solid #007bff
}

#table-of-contents::-webkit-scrollbar {
    width: 8px
}

#table-of-contents::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px
}

#table-of-contents::-webkit-scrollbar-thumb {
    background-color: #f60;
    border-radius: 4px;
    border: 2px solid #f0f0f0
}

#explore-topics,
.featured-article img {
    border-radius: 8px
}

#table-of-contents::-webkit-scrollbar-thumb:hover {
    background-color: #e65c00
}

#table-of-contents h3 {
    font-size: 1.5em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

#table-of-contents li {
    margin-bottom: 10px;
    color: #2c3e50
}


#table-of-contents a:not(.cta-toc) {
    color: #f60 !important;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    position: relative;
    transition: color .3s
}



#table-of-contents a:hover:not(.cta-toc) {
    color: #e65c00 !important
}



#toc-list li::before {
    content: "\f054";
    font-family: FontAwesome;
    margin-right: 8px
}

.container-blog {
    max-width: 1200px;
    margin: 0 auto
}



#blog-content {
    width: 100%
}

#table-of-contents {
    flex: 1;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff6600 #f0f0f0;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px
}

#toc-list {
    list-style-type: none;
    padding-left: 0
}

#toc-list li {
    margin-bottom: .5rem
}

#toc-list a {
    color: #333;
    text-decoration: none
}



@media (min-width:768px) {
    .container-blog {
        padding: 2rem
    }

    #table-of-contents {
        margin-top: 3rem
    }
}

@media (min-width:1024px) {
    .container-blog {
        display: flex;
        gap: 1rem
    }

    #blog-content {
        flex: 3
    }

    #table-of-contents {
        flex: 1;
        margin-top: 0;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
        max-height: calc(100vh - 4rem);
        overflow-y: auto
    }
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 10px
}

#more-articles-container,
#more-caterory-container {
    margin-top: 20px
}

.scale:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 20px rgba(0, 0, 0, .493)
}

.paraBlog {
    font-size: .875rem
}

#pagination button {
    padding: 8px 16px;
    font-size: .875rem
}

#blog-content h2,
#blog-content h3 {
    margin-top: 0
}

#category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

#category-list li {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px
}

#category-list li.active {
    background-color: #007bff;
    color: #fff
}

#featured-post {
    margin: 2rem auto;
    padding: 2rem;
    background:  #f9fafb;
    /* Gradient background */
    border-radius: 16px;
    /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Subtle border for contrast */
    backdrop-filter: blur(10px);
    /* Blur effect for a modern glass-like look */
}

.featured-article {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    position: relative
}

.featured-title {
    font-size: 1.5rem;
    color: #032e6d;
    margin-bottom: .5rem;
    text-align: center;
    text-transform: uppercase
}

.slick-dots {
    bottom: -30px
}

#featured-post {
    padding: 20px;
    background-color: #f9f9f9;
    /* Light background for contrast */
}

#featured-post-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* Space out the items */
}

.featured-post {
    flex: 1 1 calc(33% - 20px);
    /* Responsive width */
    margin: 10px;
    /* Space between items */
    text-decoration: none;
    /* Remove underline from links */
    color: #333;
    /* Text color */
    transition: transform 0.3s;
    /* Smooth hover effect */
}


.featured-image {
    width: 100%;
    /* Full width */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 8px;
    /* Rounded corners */
}

.featured-title {
    margin-top: 10px;
    /* Space above title */
    font-size: 1.2em;
    /* Increase font size */
    text-align: center;
    /* Center align title */
}

#explore-topics {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center
}

#explore-topics h2 {
    font-size: 1.8em;
    color: #333
}

#explore-topics p {
    font-size: 1.1em;
    color: #666
}

.topics {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap
}

#category-name {
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    font-size: 3rem
}

@media (max-width:768px) {

    #blog-content,
    #table-of-contents,
    .blog-dates {
        font-size: 14px
    }

    section {
        padding: 15px
    }

    #blog-content,
    .container {
        width: 100%
    }

    .full-article {
        background-color: transparent;
        border: none;
        padding: 12px;
        margin: 0
    }


    .blog-author,
    .blog-date {
        font-size: .8em
    }

    .blog-thumbnail {
        height: 150px
    }

    .container-blog {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-areas: "main" "sidebar";
        gap: 5px;
        padding: 0 10px
    }

    #table-of-contents h2 {
        font-size: 18px
    }

    #table-of-contents a {
        font-size: 12px
    }

    #table-of-contents {
        position: relative;
        width: 100%;
        padding: 0;
        margin-bottom: 90px
    }

    #featured-post {
        padding: .5rem;
        margin: 10px
    }

    .featured-article h3 {
        font-size: 1.2rem
    }

    .featured-article p {
        font-size: .9rem
    }

    .caterory-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: .8rem
    }

    #category-name {
        font-size: 1.5rem
    }


}



.edit-page h1,
.edit-page h2,
.edit-page h3,
.edit-page h4,
.edit-page p,
.edit-page ul,
.edit-page li,
.edit-page a {
    margin: 0;
    color: var(--text);
}

.article-qrcode {
    margin-bottom: 20px;
}

/* Social Sharing Buttons Container */
.social-sharing {
    display: flex;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base Button Style with Modern Styling */
.resp-sharing-button__link {
    display: inline-flex;
    text-decoration: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-color);
}

/* Hover Effect */
.resp-sharing-button__link:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Facebook Button */
.resp-sharing-button--facebook {
    background-color: #3b5998;
}

.resp-sharing-button--facebook:hover {
    background-color: #344e86;
}

/* Twitter Button */
.resp-sharing-button--twitter {
    background-color: #1da1f2;
}

.resp-sharing-button--twitter:hover {
    background-color: #1991db;
}

/* LinkedIn Button */
.resp-sharing-button--linkedin {
    background-color: #0077b5;
}

.resp-sharing-button--linkedin:hover {
    background-color: #00669c;
}

/* Pinterest Button */
.resp-sharing-button--pinterest {
    background-color: #bd081c;
}

.resp-sharing-button--pinterest:hover {
    background-color: #a30718;
}

/* Tumblr Button */
.resp-sharing-button--tumblr {
    background-color: #35465c;
}

.resp-sharing-button--tumblr:hover {
    background-color: #2a384b;
}

/* Icon Styling (Optional) */
.resp-sharing-button__link i {
    font-size: 1.2rem;
}

#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #f3f3f3;
    z-index: 1000;
}

#progress-bar {
    height: 100%;
    background: #f80;
    width: 0;
}

/* Author Bio Container */
.author-bio {
    max-width: 800px;
    padding: 1.5rem;
    border-radius: 12px;

    display: flex;
    gap: 2rem;
}

/* Author Image Styles */
.author-image {
    flex-shrink: 0;
}

.author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #f3f4f6;
}

/* Author Details Container */
.author-details {
    flex: 1;
}

/* Author Name Styles */
.author-name {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    transition: color 0.2s ease;
}

.author-name:hover {
    color: #2563eb;
}

/* Author Description Styles */
.author-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}


.author-social-links .list-inline {
    display: flex;
    gap: 1rem;
    align-items: center;

}

.author-social-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-social-links a:hover {
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 640px) {
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .author-image {
        margin-bottom: 1rem;
    }

    .author-img {
        width: 100px;
        height: 100px;
    }

    .author-social-links {
        justify-content: center;
    }
}

/* Links within description */
.author-description a {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.author-description a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.caterory-title {
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 1rem;
}
.cta-container {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.cta-button {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.cta-button.primary {
    background-color: #007bff;
    color: #fff;
}
.cta-button.secondary {
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #007bff;
}

#breadcrumb-category {
    font-size: 1.2rem;
    text-transform: capitalize;
}