
h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

p {
    font-size: 16px;
}

.container {
    max-width: 1200px;
}


.blog-detail {
    padding: 20px 0;
    /*text-align: justify;*/
}

.blog-post {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-header {
    text-align: center;
    /* margin: 40px 0; */
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.blog-meta-a {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.hero-content .meta-item {
    color: white;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 8px;
}

.featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    margin: 5px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* max-width: 1200px; */
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-image:hover img {
    transform: scale(1.05);
}

/*word break by hyphens(-) */
.blog-content {
    color: var(--text-color);
    /*word-break: normal;
    hyphens: auto;*/
}

.blog-content a {
    color: #482bdd;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2 {
    font-weight: 600;
    color: var(--dark-color);
    margin: 15px 0;
}

    .blog-content img {
        height: auto !important;
        width: 100% !important;
    }

/* Common table styles */
    .blog-content table {
        width: 100%;
        border: 1px solid;
        border-collapse: collapse;
        background-color: #fff;
        border-color: #000;
    }

        .blog-content table th,
        .blog-content table td {
            border: 1px solid;
            padding: 6px;
            color: #000;
            word-break: break-word;
        }

    /* Striped rows */
.blog-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}


/*.post-content table css End*/

.author-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.author-info h3 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--accent-color);
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.loading-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--secondary-color);
}

.loading-indicator i {
    margin-right: 8px;
    color: var(--accent-color);
}

.no-more-posts {
    text-align: center;
    padding: 20px;
    color: var(--secondary-color);
}


.post-content img {
    height: auto !important;
    width: 100% !important;
}

.post-content h3 {
    margin: 1rem 0 0.5rem;
    color: #222;
}

@media (max-width: 1340px) {

    .container {
        padding-inline: 5%;
    }
}

@media (max-width: 1024px) {

    .container {
        padding-inline: 10%;
    }
}
    @media (max-width: 768px) {

        h1 {
            font-size: 26px;
        }

        h2 {
            font-size: 22px;
        }

        h3 {
            font-size: 18px;
        }

        h4 {
            font-size: 14px;
        }

        h5 {
            font-size: 10px;
        }

        h6 {
            font-size: 8px;
        }

        .container {
            padding-inline: 5%;
        }

        .blog-detail {
            padding: 10px 0;
        }

        .blog-title {
            font-size: 1.5rem;
            margin-bottom: 0;
        }

        .featured-image {
            height: 350px;
        }

        .blog-content h2 {
            margin: 5px 0;
        }

        .blog-content p {
            margin-bottom: 10px;
        }

        .author-card {
            padding: 10px 5px;
            flex-direction: column;
            text-align: center;
        }

        .author-image {
            margin-right: 0;
            margin-bottom: 5px;
        }

        .author-social {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {

        .container {
            padding-inline: 10px;
        }

        h1 {
            font-size: 20px;
        }

        h2 {
            font-size: 18px;
        }

        h3 {
            font-size: 16px;
        }

        h4 {
            font-size: 12px;
        }

        h5 {
            font-size: 8px;
        }

        h6 {
            font-size: 6px;
        }

        .blog-title {
            font-size: 1.3rem;
        }

        .blog-meta {
            display: flex;
            justify-content: space-around;
            align-items: center;
            gap: 10px;
            margin: 10px 0;
        }

        .featured-image {
            height: 250px;
        }
    }

    .threelinedot {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
        cursor: pointer;
        transition: max-height 0.3s ease;
    }

        /* When expanded, remove clamping */
        .threelinedot.expanded {
            -webkit-line-clamp: unset;
            max-height: none;
            overflow: visible;
        }