.ioa-post, .post-ioahdr {padding: 1em;}
.post-ioahdr h1 {margin:0;}


.code-container {
    position: relative;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    overflow: hidden; /* limit content inside borders */
}

.copy-btn {
   /* position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10; */
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
	float: right;
}

.copy-btn:hover {
    background: #005f87;
}

.copy-code-block {
    overflow-x: auto; /* add horizontal scrooll if needed */
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* small codes */
.small-code-container {
    display: inline-block;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 1px;
    padding: 0px 1px;
    margin: 2px 0;
    position: relative;
}

.small-code-block {
    font-family: monospace;
    font-size: 14px;
    white-space: pre-wrap; 
    display: inline;
}

.small-code-container .copy-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    cursor: pointer;
    z-index: 10;
}

.small-code-container .copy-btn:hover {
    background: #005f87;
}

@media screen and (max-width: 800px) {
.post-ioahdr, .ioa-post {padding: 0em;}
.post-meta {display: flex;flex-direction: column;margin-bottom: 1em;}
	img {max-width: 100%;}
}