.container {
    width: 100%;
    max-width: 1536px;
    margin: 0px auto;
}

img {
    max-width: 100%;
    height: auto;
}

.article-container {
    margin: 2rem 3rem;
    padding: 0px 16px;
    width: 94vw;
    box-sizing: border-box;
    overflow: clip;
    transition: all 0.3s ease-in-out 0s;
}

.article-sub-container {
    display: flex;
    margin-top: 2rem;
}

.article-sidebar-aside {
    position: sticky;
    margin-top: 0.2rem;
    margin-left: 0px;
    margin-right: 1rem;
    transition: all 0.3s ease-in-out 0s;
    width: 17rem;
}

.article-sidebar-wrapper {
    border-right: 2px solid rgba(68, 71, 72, 0.294);
}

.article-sidebar-title {
    margin: 0px auto;
    padding: 0px 16px;
}

.article-sidebar-list {
    margin: 0px;
    padding: 8px 0px;
    position: relative;
}

.article-sidebar-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 8px 16px;
    font-size: 0.75rem;
}

.article-sidebar-item-link {
    margin: 0px;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    
    text-decoration: none;
}

/* .article-sidebar-item-link:hover {
    filter: brightness(80%);
    text-decoration: underline;
} */

.article-sidebar-item-link.current-article {
    cursor: default;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.article-sidebar-item-link:active,
.article-sidebar-item-link:focus,
.article-sidebar-item-link:hover {
    
    text-decoration: underline;
}

.article-body-container {
    margin: 0px 0px 0px 2rem;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
}

.article-body-title {
    margin: 0px 0px 1rem;
}

.article-meta-data-text {
    margin: 0px;
    font-weight: 400;
    line-height: 1.5;
    color: #5e636e;
    font-size: 0.7rem;
}

.article-meta-data .article-meta-data-text time::before {
    margin: 0px 5px;
}

.container-divider {
    border-top: 1px solid rgb(221, 221, 221);
    margin-top: 0.8rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.article-relatives {
    display: flex;
    padding: 5px 20px 5px 0px;
    flex-direction: row;
    margin-top: 1rem;
}

.article-relatives>* {
    flex: 1 0 50%;
    min-width: 50%;
    overflow-wrap: break-word;
    margin-right: 0px;
}

.article-body {
    font-size: 0.875rem;
}

/* .article-container a:hover {
    text-decoration: underline;
    filter: brightness(80%);
} */

.article-body ol li {
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-color);
}

.article-body ul li {
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-color);
}

.article-body p em {
    font-size: 0.875rem;
    color: var(--text-color);
}

h1.article-body-title {
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0px 0px 1rem;
}

h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0px 0px 1rem;
}

h4 {
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0px 0px 1rem;
}

.article-body p strong {
    font-weight: 600;
}

div>section>ul>li>a {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.openbtn {
    display: none;
    position: absolute;
    right: 10%;
    fill: rgb(75, 78, 93);
    scale: 0.8;
}

.closebtn {
    display: block;
    position: absolute;
    right: 10%;
    fill: rgb(75, 78, 93);
    scale: 0.8;
    margin-top: 0.08rem;
}

/* For tables */
table {
    border-collapse: collapse;
    border-radius: 10px;
}

td {
    padding: 0.5%;
}

td:nth-child(1) {
    width: 50%;
}

/* For Videos */
.video-container {
	position: relative;
	padding-bottom: 46.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 92.3%;
	height: 98%;
}

/* Media queries */

@media (max-width: 900px) {
    .article-sidebar-aside {
        width: 2rem;
    }

    .article-sidebar-body,
    .article-sidebar-title {
        display: none;
    }

    .closebtn {
        display: none;
    }

    .openbtn {
        display: block;
    }

    .article-container {
        margin: 2rem 0rem;
    }
}
