/* post-style.css */

.single-post .post-header {
    padding-bottom: 1rem;
}

.single-post .post-header h1 {
    
    font-size: 2rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.single-post .extra-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #222222;
    padding: 1rem;
    margin: 0 0 50px;
}

/* Headings */
.single-post .extra-content h1,
.single-post .extra-content h2,
.single-post .extra-content h3,
.single-post .extra-content h4 {
    font-weight: 600;
    line-height: 1.2;
    margin: 2rem 0 1rem;
}

.single-post .extra-content h1 {
    color: #2F2F81;
    font-size: 2rem;
    padding-bottom: 0.5rem;
}

.single-post .extra-content h2 {
    font-size: 1.6rem;
}

.single-post .extra-content h3 {
    font-size: 1.2rem;
    color: #222222aa;
}

.single-post .extra-content h4 {
    font-size: 1rem;
    color: #222222aa;
}

/* Lists */
.single-post .extra-content ul,
.single-post .extra-content ol {
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 1rem;
}

.single-post .extra-content ul {
    list-style-type: disc;
}

.single-post .extra-content ol {
    list-style-type: decimal;
}

.single-post .extra-content li {
    margin-bottom: 0.5rem;
}

/* Tables */
.single-post .extra-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.single-post .extra-content th,
.single-post .extra-content td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.single-post .extra-content th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.single-post .extra-content tr:nth-child(even) {
    background-color: #fafafa;
}

.single-post .thumbnail {
    margin-bottom: 1rem;
    float: right;
    width: 40%;
    max-height: 500px;
    overflow: hidden;
    margin: 0 17px 17px;
    border-radius: 0 0 0 50px;
}

.single-post .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .single-post .thumbnail {
        float: none;
        width: calc(100% + 20px);
        height: 50vh;
        margin: 0;
        margin-left: -20px;
    }
}

