﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
}

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;
}

main {
    padding: 0.5rem 0rem;
    background: white;
    text-align: justify;
}

/* Post Content */

.main-article {
   /* overflow-x: hidden;
    word-break: break-word;*/
    word-break: normal;
    hyphens: auto;
}

.post-content {
    margin-bottom: 1rem;
}

    .post-content p {
        margin-bottom: 0.1rem;
        color: #444;
    }

    .post-content strong {
        color: #222;
        font-weight: 600;
    }

    .post-content h3 {
        margin: 1rem 0 0.5rem;
        color: #222;
    }

    .post-content ul,
    .post-content ol {
        margin: 1.5rem 0;
        padding-left: 1.5rem;
    }

    .post-content li {
        margin-bottom: 0.5rem;
    }

    .post-content img {
        height: auto !important;
        width: 100% !important;
    }


    /* Common table styles */
    .post-content table {
        width: 100%;
        border: 1px solid;
        border-collapse: collapse;
        background-color: #fff;
        border-color: #000;
    }

        .post-content table th,
        .post-content table td {
            border: 1px solid;
            padding: 6px;
            color: #000;
        }

        /* Striped rows */
        .post-content table tr:nth-child(even) {
            background-color: #f9f9f9;
        }


/*.post-content table css End*/

.author-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: justify;
    padding: 12px;
    margin-bottom: 12px;
}


    .author-card .content {
        display: flex;
        gap: 20px;
    }

.author-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    max-width: 90px;
    max-height: 90px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 80px;
}

    .author-info h2 {
        font-weight: 600;
        color: var(--dark-color);
    }

    .author-info p {
        color: var(--secondary-color);
    }

@media(max-width:1024px) {

    main, .author-card {
        margin-inline: 15%;
    }
}

/* Responsive Design */
@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;
    }

    main, .author-card {
        margin-inline: 10%;
    }

    .author-card {
        padding: 12px 12px;
    }
}

@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;
    }


    main {
        padding: 0rem;
    }

    main, .author-card {
        margin-inline: 10px;
    }

        .author-card .content {
            gap: 10px;
        }

    .author-card {
        margin-bottom: 30px;
    }

    .author-image {
        width: 75px;
        height: 75px;
        max-width: 75px;
        max-height: 75px;
    }

    .author-info {
        gap: 0px;
        height: 75px;
    }
}
