#block-body {
    color: #333;
    line-height: 1.6;
    padding-right: 10px;
}
#block-body p {
    margin-bottom: 16px;
    margin-left: 20px;
}
#block-body strong {
    font-weight: bold;
    color: #2c3e50;
}

/* --- MODIFIED RULE --- */
#block-body ul, #block-body ol {
    /* Add the same left margin as paragraphs for alignment */
    margin: 16px 0 16px 20px;
    /* Remove default padding */
    padding-left: 0;
    /* Place the list marker (number/bullet) inside the text flow */
    list-style-position: inside;
}

#block-body ul li, #block-body ol li {
    margin-bottom: 10px;
}
#block-body .img-narrow {
    width: auto;
    max-width: 90%;
    height: min(50vw, 400px);
    object-fit: contain;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 3px solid #000;
}


#block-body .img-wide {
    width: 90%;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#block-body .img-mid {
    display: block;
    margin: 0 auto;
    max-height: 500px;
    max-width: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#block-body pre {
    background-color: #eef;
    padding: 10px;
    border-left: 4px solid #2c3e50;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
    border-radius: 4px;
    margin: 16px 0;
}
#block-body h2, #block-body h3, #block-body h4 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
#block-body ol li {
    list-style-type: decimal;
}
#block-body ul li {
    list-style-type: disc;
}
#block-body a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
}
#block-body a:hover {
    color: #1abc9c;
    border-bottom: 1px solid #1abc9c;
}
#block-body blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid #ddd;
    padding-left: 16px;
    margin: 16px 0;
}
#block-body .highlight {
    background-color: #fffae6;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: bold;
}
#block-body .video-container {
    text-align: left;
    margin: 20px 20px;
    max-width: 60%;
}

#block-body .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

#block-body .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}