h1 {
    text-align: center;
    padding-top: 15px;
}



q {
    color: rgb(144, 148, 91);
    float: right;
    padding: 15px;
}

small {
    color: rgb(137, 202, 202);
    float: right;
    padding-right: 7px;
    margin-bottom: 20px;
}

.content-wrapper {
    background-color: rgba(0, 0, 0, 0.685);
}



.article-imgs {
    max-width: 250px;
    min-width: 150px;
}

.table-wrap {
    /* ensure the parent constrains width (example) */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.fit-table {
    max-width: 100%;
    table-layout: fixed;
    /* force columns to respect table width */
    border-collapse: collapse;
    font-family: system-ui, sans-serif;
    font-size: 0.8em;
}

/* force wrapping and allow long words to break */
.fit-table th,
.fit-table td {
    vertical-align: top;
    word-wrap: break-word;
    /* legacy */
    overflow-wrap: break-word;
    /* modern */
    word-break: break-word;
    /* safe fallback for very long strings */
    white-space: normal;
    /* allow wrapping */
}

table th {
    border: 1px solid rgb(159, 185, 159);
    background-color: #19252b;
    text-align: center;
    padding: 7px;
    color: rgb(139, 185, 147);
}

table td {
    border: 1px red solid;
    background-color: rgb(15, 29, 32);
    padding: 7px;
    color: wheat;
}
table caption{
    color: wheat;
    padding: 5px;
    background-color: #02151f;
}

h4 {
    text-decoration: dashed;
    padding: 8px;
    color: rgb(122, 190, 168);
}


legend {
    padding: 7px;
    color: bisque;
    border-radius: 7px;
    background-color: black;
}

fieldset {
    background-color: rgba(47, 59, 33, 0.863);
    margin-bottom: 15px;
}

.img-40-w {
    width: 150px;
    height: auto;

}

.subnav-open {
    position: absolute;
    left: calc(100% - 40px);
    top: 0;
    background-color: rgb(112, 4, 4);
}

.subnav-close {
    position: sticky;
    left: calc(100% - 40px);
    top: 0;
    background-color: transparent;
    border: none;
}

.subnav-close,
.subnav-open {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 25px;
    padding: 0;
    margin-right: 15px;
}

.mh-200 {
    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
}

a {
    color: rgb(157, 157, 168);
}

span {
    text-indent: 1em;
    padding: 7px;
    color: rgb(134, 189, 190);
    margin-left: 7px;
    padding-left: 5px;
}

li {
    color: burlywood;
}

ul,
ol {
    box-shadow: 2px 2px 3px 1px rgba(85, 88, 90, 0.829);
    border-radius: 7px;
    background-color: rgba(0, 0, 0, 0.753);
    padding-top: 10px;
    padding-bottom: 10px;
}

.bg-dark {
    background: linear-gradient(rgba(29, 29, 29, 0.863), rgba(0, 16, 37, 0.932));
    border-radius: 7px;
    box-shadow: 3px 0 3px 2px rgba(119, 136, 153, 0.829);
    margin: 7px;
    padding: 7px;
}

.sub-nav {
    position: sticky;
    left: calc(100% - 250px);
    top: 5px;
    max-height: 300px;
    max-width: 230px;
    overflow: hidden;
    overflow-y: auto;
    min-height: 40px;

}

.bg-subnav {
    background-color: #001408f8;
    border-radius: 10px;
    box-shadow: 3px 5px 3px 2px rgba(42, 126, 63, 0.856);
}

.aside_left {
    padding: 10px;
    margin: 10px;
    float: left;
    box-shadow: 5px 0 5px 5px #29627e;
    font-style: italic;
    color: #29627e;
}

.pad-btn-120 {
    padding-bottom: 120px;
}
.linear-red-black{
    background: linear-gradient(35deg, red, black);
    padding: 3px;
    padding-left: 5px;
    border: none;
    margin: 3px;
    width: 210px;
    border-radius: 7px;
    cursor: pointer;
    color: burlywood;
}
.subnav-article {
    background-color: rgb(0, 41, 13);
    padding: 3px;
    padding-left: 5px;
    border: none;
    margin: 3px;
    width: 210px;
    border-radius: 7px;
    cursor: pointer;
    color: burlywood;
}

.subnav-2-btn {
    background-color: rgb(29, 15, 15);
    padding: 3px;
    padding-left: 5px;
    border: whitesmoke 1px solid;
    margin: 3px;
    width: 210px;
    border-radius: 7px;
    cursor: pointer;
    color: rgb(128, 133, 105);
}

.subnav-3-btn {
    background-color: rgb(22, 22, 22);
    padding: 3px;
    padding-left: 5px;
    border: rgb(197, 185, 78) 1px solid;
    margin: 3px;
    width: 210px;
    border-radius: 7px;
    cursor: pointer;
    color: rgb(130, 185, 148);
}
.show-more-less{
    cursor: pointer;
    position: sticky;
    top: 0;
    background-color: rgb(0, 41, 2);
    border-radius: 7px;
    padding: 5px;
    margin-bottom: 15px;
}
.subnav-theme-btn {
    background-color: rgb(0, 0, 0);
    padding: 3px;
    padding-left: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
    border: red solid 1px;
    margin: 3px;
    margin-top: 7px;
    margin-bottom: 7px;
    width: 210px;
    border-radius: 7px;
    cursor: pointer;
    color: rgb(130, 190, 128);
}

.aside_right {
    margin: 10px;
    padding: 10px;
    float: right;
    box-shadow: 5px 0 5px 5px #29627e;
    font-style: italic;
    color: #29627e;
}

.arts-hub-body,
.forms-complex {
    display: flex;
    flex-wrap: wrap;
    /* allow items to go to next row */
    justify-content: center;
    /* center items horizontally */
}
.a-none-underscored{
    text-decoration: none;
}
.form-inner-form {
    max-width: 600px;
    margin-bottom: 15px;
    border-radius: 7px;
    margin-top: 10px;
    border: 1px solid red;
    background-color: #2c3e47;
    margin: 5px;
}

.btn-container-single {
    display: flex;
    flex-wrap: wrap;
    /* allow items to go to next row */
    justify-content: center;
    /* center items horizontally */
    padding-top: 15px;
    padding-bottom: 15px;
}

.input-block,
.textarea-block {
    background-color: black;
    border-radius: 7px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 7px;
}

.textarea-block textarea {
    min-height: calc(1.2em * 5);
    /* adjust line height as needed */
    resize: vertical;
    background-color: #02151f;
    margin: 5px;
    padding: 5px;
    color: antiquewhite;
    border: none;
    box-shadow: inset 2px 3px 2px 0 rgba(0, 48, 0, 0.952);
    border-radius: 7px;
}

.input-block input {
    background-color: #02151f;
    min-width: 300px;
    max-width: 450px;
    float: right;
    color: antiquewhite;
}

.body-art-hub {
    max-width: 650px;
    min-width: 450px;
    background-color: rgb(0, 29, 29);
    margin: 15px;
    padding: 20px;
    border: 1px solid green;
    box-shadow: 3px 0 2px 2px 3px black;
    border-radius: 7px;
}

.aside_left>p,
.aside_right>p {
    margin: 20px;
}

@media (min-width:350px) and (max-width:790px) {
    .sub-nav {
        position: sticky;
        left: calc(100% - 250px);
        top: 5px;
        max-height: 220px;
        max-width: 230px;
        overflow: hidden;
        overflow-y: auto;
        min-height: 40px;

    }

    .form-inner-form {
        max-width: 320px;
        margin-top: 10px;
        margin-bottom: 15px;
        border-radius: 7px;
        border: 1px solid red;
        background-color: #2c3e47;
    }

    .body-art-hub {
        max-width: 100%;
        min-width: 290px;
    }

}