
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;
}

.blog-detail {
    padding: 20px 0;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    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;
}

.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);
}


.blog-content {
    color: var(--text-color);
    /*overflow-x: hidden;
    word-break: break-word;*/
    word-break: normal;
    hyphens: auto;
}

.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;
        }

    /* 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: 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;
    }

    .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) {

    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;
    }

    .featured-image {
        height: 250px;
    }

}