body {
    background-color: transparent;
}

/* WRAPPER */
.main-wrapper {
    background-color: var(--white-font-color);

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CONTENT WRAPPER */
.content-wrapper, .pages_content-wrapper {
    width: 100%;
    max-width: 640px;

    padding-top: 15px;

    flex-grow: 1;

    margin-bottom: 100px;
}

.pages_content-wrapper {
    max-width: 90%;
}

.content-wrapper:has(.helpful-wrapper) {
    margin-bottom: 15px;
}

.pages_article-wrapper > *:not(table.ce-table, .ce-warning) {
   margin-bottom: 10px;
}

.content-wrapper *:not(.cdx-list--ordered li, .ce-table td, .article-wrapper, button, .helpful-button span, video.ce-video-player) {
    margin-bottom: 10px;
}

/* ARTICLE WRAPPER */
.article-header-category {
    color: var(--article-category-color);
    font-size: 14px;
}
.article-title {
    color: var(--black-font-color);
    overflow-wrap: break-word;
}
.article-wrapper, .pages_article-wrapper {
    width: 100%;
}

/* TEMPLATE */
.ce-table {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;

    text-align: center;
}
.ce-table td {
    padding: 10px;
}
.ce-table tr:nth-child(even) {
    background-color: #d6e9d8;
}
.ce-table tr:nth-child(odd) {
    background-color: #ecf4ed;
}
/* table header */
.ce-table th {
    padding: 10px;
    background-color: #407b41;
    color: var(--white-font-color);
    font-weight: bold;
    border-bottom: 3px solid var(--white-font-color);
}

/* .ce-table tr:first-child td {
    border-bottom: 3px solid var(--white-font-color);
} */

.cdx-list {
    padding: revert;
}

.ce-delimiter {
    width: 35%;

    padding: 20px 0;
    margin: 0 auto;

    background-image: url("/static/img/in-article-separator.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.ce-delimiter hr {
    display: none;
}

.ce-warning {
    border-image-repeat: stretch;
    border-width: 20px 20px;
    border-style: ridge;
    border-image-source: url(/static/img/parchment_frame~1x.png);
    border-image-slice: 40 40 fill;
    width: 100%;
    color: #3d2200;
}
.ce-warning__blockquote {
    color: var(--note-font-color);
    text-align: justify;
    width: 100%;
}

p.ce-paragraph {
    text-align: justify;
    overflow-wrap: break-word;
}

p.ce-paragraph a
{
    transition: none;
}
p.ce-paragraph a:active
{
    color: #c9e7c6;
}

.ce-table, .ce-warning {
    width: 95%;
    margin: 0 auto;
}

.ce-image {
    text-align: center;
}

.ce-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0 !important;
}

video.ce-video-player {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* HELPFUL WRAPPER */
.helpful-wrapper {
    margin-top: 15px;
    width: 100%;
    text-align: center;
    padding: 0 10px;
}

.helpful-rating-block {
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.helpful-header {
    color: var(--black-font-color);
}

button.helpful-button {
    width: 100%;
    margin-right: 15px;
    background-color: var(--white-font-color);
    border: var(--border);
    border-radius: 5px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

button.helpful-button:last-child {
    margin-right: 0;
}

button.helpful-button span {
    font-size: 32px;
}

button.helpful-button:active {
    transform: scale(.95);
}

/* RELATED ARTICLES WRAPPER */
.related-articles-wrapper {
    background: #f2f2f2;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    padding: 15px 0;
}

.related-articles_inner {
    width: 100%;

    margin: 0 auto;
}

h3.related-articles-accordion-title {
    color: var(--article-category-color);
    padding-bottom: 10px;
    font-size: 14px;

    border-bottom: var(--border);
}

ul.related-articles-subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 90px;

    margin-top: 10px;
}

li.related-articles-subcategory-article {
    border-bottom: var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--link-color);
    font-weight: bold;
    font-size: 18px;
}

li.related-articles-subcategory-article a {
    padding: 5px 0;
    width: 95%;
}
li.related-articles-subcategory-article a:hover {
    color: var(--category);
}

li.related-articles-subcategory-article a:active
{
    color: #c9e7c6;
}

/* MEDIA QUERIES */
@media screen and (min-width: 500px) {
    .burger-sidebar {
        width: 375px;
    }
}

@media screen and (max-width: 700px) {
    .article-wrapper {
        padding: 0 10px;
    }
}

@media screen and (max-width: 926px) {
    .header-container {
        display: none;
    }
    .categories-block {
        display: none;
    }
    .content-wrapper {
        padding-top: 15px;
    }
    .main-wrapper .blank_plug {
        height: 60px;
        background-color: black;
    }
    .related-articles_inner {
        max-width: 640px;
        padding: 0 5%;
    }
    ul.related-articles-subcategory-list {
        grid-template-columns: 1fr;
    }
    li.related-articles-subcategory-article:last-child {
        border-bottom: none;
    }
}

@media screen and (min-width: 927px) {
    .header-container {
        display: block;
    }
    .burger-content {
        display: none;
    }
    .categories-block {
        display: none;
    }
    .categories-block-accordion {
        max-width: 884px;
    }
    h3.navhab-header {
        font-size: 12px;
    }
    .related-articles_inner {
        max-width: 900px;
        margin: 0 20px;
    }
}

@media screen and (min-width: 1024px) {
    .categories-block {
        max-width: 980px;
        display: grid;
    }
    .categories-block-accordion {
        display: none;
    }

}

@media screen and (min-width: 1180px) {
    .categories-block {
        max-width: 1060px;
    }
}

@media screen and (min-width: 1320px) {
    .categories-block {
        max-width: 1320px;
    }
}