/* font definitions & imports
 * ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Limelight&family=Oswald&family=Nothing+You+Could+Do&display=swap');

@font-face {
    font-family: 'anastasia';
    src: url('anastasia-webfont.woff2') format('woff2'),
    url('anastasia-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* general selectors
 * ========================================================================== */

body {
    background: #462e18 url('body_bg.jpg') repeat-x top center;
    color: #a58e61;
}

a {
    color: #cbbb9a;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

select {
    background-color: #250201;
    color: #ae9059;
}

button, button:focus, input[type=button] input[type=button]:focus {
    outline: none;
}

/* headings
 * ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

body:not(.home) h2 {
    font: normal normal normal 48px/60px 'anastasia', serif;
    color: #dcb381;
    background: -webkit-linear-gradient(#661305, #861706);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #dcb381;
}

/* Only show h2 frills when wide enough */
@media (min-width: 512px) {
    .standard main h2::before, .full main h2::before {
        content: url('section_header_frill.png');
        margin-right: 10px;
    }

    .standard main h2::after, .full main h2::after {
        content: url('section_header_frill.png');
        display: inline-block;
        margin-left: 10px;
        transform: rotateY(180deg);
    }
}

h3 {
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: calc(1.3rem + .6vw);
}

/* primary custom components
 * ========================================================================== */
.container {
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 0 8px;
}

.home .container {

}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .full .container {
        max-width: 1140px;
    }
}

/* main
 * ========================================================================== */

main {
    margin-bottom: 20px;
    width: 100%;
}

body:not(.home) main {
    margin-top: 20px;
}

/* footer
 * ========================================================================== */

footer {
    text-align: center;
    padding: 15px 8px 30px;
}

/* title header
 * ========================================================================== */

h1 {
    position: relative;
    margin: 15px auto 0;
    max-width: 704px;
    height: auto;
    background: transparent url('header.png') no-repeat top center;
    background-size: cover;
    z-index: 998;
}

h1 span {
    display: block;
    width: 100%;
    margin-bottom: -1%;
    padding-bottom: 1px;
}

h1 a {
    display: block;
    width: 100%;
    padding: 12% 0 0 0;
    margin-bottom: 2%;
    line-height: 0;
    font-size: 0;
}

/* main navigation
 * ========================================================================== */

#nav {
    display: block;
    position: relative;
    z-index: 2;
    margin: 0 5px;
}

#nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    column-gap: 20px;
    flex-flow: row wrap;
    justify-content: center;
    background-color: #240201;
    border: 1px solid #c0ad77;
    border-radius: 5px;
    max-width: 780px;
    filter: drop-shadow(0 3px 3px #000);
}

#nav li {
    text-transform: lowercase;
    font: normal normal normal 22px/38px 'Limelight', sans-serif;
}

#nav a {
    display: block;
    color: #efcc7f;
}

#nav a:hover {
    color: #fff;
}

/* news articles
 * ========================================================================== */

article {
    position: relative;
    filter: drop-shadow(0 3px 3px #000);
    padding: 20px;
    color: #000;
    font-size: .85rem;
    line-height:1.3;
}

article:not(:first-child) {
    margin-top: 10px;
}

article::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-style: solid;
    border-width: 23px 109px 49px 69px;
    border-image: url('article_bg.png') 23 109 49 69 fill round;
}

article a {
    color: #630;
    text-decoration: underline;
}

article a:hover {
    color: #960;
    text-decoration: underline;
}

article h3 {
    padding: 0;
    margin-top: 0;
    font: 34px/40px 'Oswald', sans-serif;
    text-align: center;
}

article h3 a {
    text-decoration: none;
}

article header p {
    font: 12px/24px 'Georgia', sans-serif;
    text-align: center;
    text-transform: uppercase;
    border-top: 3px double #000;
    border-bottom: 1px solid #000;
}

article img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
}

/* aside
 * ========================================================================== */

aside {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    order: -1;
}

.home aside {
    align-items: center;
}

body:not(.home) aside {
    align-items: center;
    flex-direction: row-reverse;
    justify-content: center;
    margin-top: 10px;
}

.home aside section {
    position: relative;
    filter: drop-shadow(0 8px 5px #000);
}

/* main patreon cartouche
 * ========================================================================== */

#patreon {
    order: -1;
    width: 80%;
    max-width: 260px;
}

body:not(.home) #patreon {
    display: none;
}

#patreon a {
    display: block;
    padding-bottom: 50%;
    background: url(patreon_btn.png) no-repeat center/contain;
    line-height: 0;
    font-size: 0;
    transition: all .3s ease;
}

/* wider, stumpier version of button for non-home pages */
body:not(.home) #patreon a {
    padding-bottom: 39.2%;
    background: url(patreon_btn_wide.png) no-repeat center/contain;
}

#patreon a:hover {
    filter: brightness(1.2);
}

/* social links section
 * ========================================================================== */

#social {
    position: relative;
    z-index: 0;
}

.home #social {
    margin: 15px auto;
}

body:not(.home) #social {
    width: 100%;
    max-width: 450px;
}

#social ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    filter: drop-shadow(0 3px 3px #000);
    max-height: 100px;
}

#social li {
    z-index: 2;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s ease;
    flex: 0 1;
}

#social li:hover {
    filter: brightness(1.2);
    transform: scale(105%);
}

#social a {
    display: block;
}

#social li.patreon {
    background-image: url(social_btn_patreon.png);
    flex-basis: 67px;
}

body:not(.home) #social li.patreon {
    flex-basis: 100px;
}

#social li.patreon a {
    /*67/47*/
    padding-top: 70.1%
}

#social li.webtoon {
    background-image: url(social_btn_webtoon.png);
    flex-basis: 62px;
}

#social li.webtoon a {
    /*62/48*/
    padding-top: 77.4%
}

#social li.youtube {
    background-image: url(social_btn_youtube.png);
    flex-basis: 66px;
}

#social li.youtube a {
    /*66/44*/
    padding-top: 66.7%
}

#social li.tumblr {
    background-image: url(social_btn_tumblr.png);
    flex-basis: 61px;
}

#social li.tumblr a {
    /*61/40*/
    padding-top: 65.5%
}

#social li.bsky {
    background-image: url(social_btn_bsky.png);
    flex-basis: 62px;
}

#social li.bsky a {
    /*62/45*/
    padding-top: 72.5%;
}

#social li.facebook {
    background-image: url(social_btn_fb.png);
    flex-basis: 49px;
}

#social li.facebook a {
    /*49/44*/
    padding-top: 89.7%;
}

#social li.discord {
    background-image: url(social_btn_discord.png);
    flex-basis: 60px;
}

#social li.discord a {
    /*60/43*/
    padding-top: 71.6%;
}

#social li.instagram {
    background-image: url(social_btn_instagram.png);
    flex-basis: 46px;
}

#social li.instagram a {
    /*46/44*/
    padding-top: 95.6%;
}

#social li.rss {
    background-image: url(social_btn_rss.png);
    flex-basis: 56px;
}

body:not(.home) #social .rss {
    display: none;
}

#social li.rss a {
    /*56/49*/
    padding-top: 87.5%;
}

#social li.wiki {
    background-image: url(social_btn_wiki.png);
    flex-basis: 49px;
}

#social li.wiki a {
    /*49/44*/
    padding-top: 89.7%;
}

/* "latest comic" aside section
 * ========================================================================== */

#latest-comic {
    order: -2;
    margin: 10px auto;
    padding: 20px 25px 5px;
    text-align: center;
    color: #000;
}

#latest-comic::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-style: solid;
    border-width: 70px 70px 70px 95px;
    border-image: url('comic_bg.png') 70 70 70 95 fill round;
}

#latest-comic h2 {
    color: #222;
    text-align: center;
    font: normal normal bold 36px/48px 'Nothing You Could Do', serif;
}

#latest-comic img {
    max-width: 100%;
    border: 1px solid #2b170b;
}

#latest-comic figcaption {
    margin-top: 10px;
    font: normal normal bold 20px/28px 'Nothing You Could Do', serif;
}

/* special links section
 * ========================================================================== */

#special-links {
    position: relative;
    margin: 0 auto;
    width: 80%;
    max-width: 390px;
}

#special-links::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 15%;
    right: 0;
    bottom: 15%;
    left: 0;
    border-style: solid;
    border-width: 46px 41px 56px 98px;
    border-image: url('special_links_bg.png') 46 41 56 98 fill round;
}

#special-links ul {
    display: flex;
    align-items: center;
    margin: 0 20px;
    padding: 0;
    list-style: none;
}

#special-links li {
    filter: drop-shadow(0 3px 3px #000);
    background-size: contain !important;
    transition: all .3s ease;
}

#special-links li:hover {
    filter: drop-shadow(0 3px 3px #000) brightness(1.2);
    transform: rotate(0) !important;
}

#special-links a {
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    line-height: 0;
    font-size: 0;
}

#special-links #donate {
    position: relative;
    flex: 2;
    height: auto;
    background: transparent url('donate_btn.png') no-repeat;
    transform: rotate(-2deg);
}

#special-links #donate a {
    /* 200/114 */
    padding-top: 176%;
}

#special-links #devlog {
    flex: 3;
    background: transparent url('devlog_btn.png') no-repeat;
    transform: rotate(5deg);
}

#special-links #devlog a {
    /* 230/175 */
    padding-top: 132%;
}

/* news archive page
 * ========================================================================== */

#news-archive {
    max-width: 550px;
    margin: auto;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 20px 0 0 0;
    padding: 10px 10px;
    border-radius: 8px;
    background-color: rgb(0, 0, 0, 0.15);
}

.pagination .current {
    font-weight: bold;
    color: #fff;
}

.pagination a {
    text-decoration: none;
}

.pagination .pageprev, .pagination .pagenext {
    font-weight: bold;
}

/* characters page
 * ========================================================================== */

/* layering order:
viktor
mitzi
wick
atlas
ivy
lacy
kehoe
nico
quackenbush
dom
church
mordecai
horatio
calvin
rocky
asa
pigfarmers
serafine
zib
virgil
arbogasts
bapka
nina
*/

#characters {
    position: relative;
    margin: 0 auto;
    max-width: 980px;
}

#characters ul {
    /* 980/1473 */
    padding-top: 150%;
}

#characters a {
    display: block;
    line-height: 0;
    font-size: 0;
}

#characters li {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 5px #000);
    transition: all 0.3s ease;

}

#characters li:hover {
    filter: drop-shadow(0 3px 5px #000) brightness(1.2);
    transform: none;
}

#characters li a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

#characters .atlas {
    z-index: 4;
    width: 22%;
    left: 5%;
    top: 2.6%;
    transform: rotate(3.5deg);
}

#characters .atlas a {
    /* 322/212 */
    padding-top: 153.5%;
    background-image: url('../images/bio_atlas_thumb.png');
}

#characters .mitzi {
    z-index: 2;
    width: 21%;
    left: 27.5%;
    top: 0.5%;
    transform: rotate(-1.5deg);
}

#characters .mitzi a {
    padding-top: 153.7%;
    background-image: url('../images/bio_mitzi_thumb.png');
}

#characters .viktor {
    z-index: 1;
    width: 24.9%;
    left: 49%;
    top: 4%;
    transform: rotate(5deg);
}

#characters .viktor a {
    /* 300/200 */
    padding-top: 132.7%;
    background-image: url('../images/bio_viktor_thumb.png');
}

#characters .mordecai {
    z-index: 12;
    width: 21%;
    left: 73.4%;
    top: 2.1%;
    transform: rotate(-6deg);
}

#characters .mordecai a {
    /* 300/200 */
    padding-top: 154.1%;
    background-image: url('../images/bio_mordecai_thumb.png');
}

#characters .wick {
    z-index: 3;
    width: 24.8%;
    left: 3%;
    top: 24.5%;
    transform: rotate(-8.4deg);
}

#characters .wick a {
    /* 300/200 */
    padding-top: 130.5%;
    background-image: url('../images/bio_wick_thumb.png');
}

#characters .ivy {
    z-index: 5;
    width: 24.5%;
    left: 26%;
    top: 21.5%;
    transform: rotate(5deg);
}

#characters .ivy a {
    /* 300/200 */
    padding-top: 137.9%;
    background-image: url('../images/bio_ivy_thumb.png');
}

#characters .rocky {
    z-index: 15;
    width: 27.5%;
    left: 44%;
    top: 25.9%;
    transform: rotate(-5.5deg);
}

#characters .rocky a {
    padding-top: 126.7%;
    background-image: url('../images/bio_rocky_thumb.png');
}

#characters .freckle {
    z-index: 14;
    width: 25.2%;
    left: 70.5%;
    top: 23.2%;
    transform: rotate(7.5deg);
}

#characters .freckle a {
    padding-top: 134.4%;
    background-image: url('../images/bio_freckle_thumb.png');
}

#characters .church {
    z-index: 11;
    width: 14.9%;
    left: 8%;
    top: 45.5%;
    transform: rotate(3deg);
}

#characters .church a {
    padding-top: 142.9%;
    background-image: url('../images/bio_church_thumb.png');
}

#characters .lacy {
    z-index: 6;
    width: 18.5%;
    left: 24.3%;
    top: 43%;
    transform: rotate(15deg);
}

#characters .lacy a {
    padding-top: 105.6%;
    background-image: url('../images/bio_lacy_thumb.png');
}

#characters .zib {
    z-index: 19;
    width: 22.3%;
    left: 43%;
    top: 49.1%;
    transform: rotate(-8.5deg);
}

#characters .zib a {
    padding-top: 137.2%;
    background-image: url('../images/bio_zib_thumb.png');
}

#characters .nina {
    z-index: 23;
    width: 20%;
    left: 62%;
    top: 44%;
    transform: rotate(2deg);
}

#characters .nina a {
    padding-top: 133.2%;
    background-image: url('../images/bio_nina_thumb.png');
}

#characters .horatio {
    z-index: 13;
    width: 19.5%;
    left: 79.5%;
    top: 45%;
    transform: rotate(-2.5deg);
}

#characters .horatio a {
    padding-top: 133%;
    background-image: url('../images/bio_horatio_thumb.png');
}

#characters .kehoe {
    z-index: 7;
    width: 23%;
    left: 2.5%;
    top: 56.5%;
    transform: rotate(5deg);
}

#characters .kehoe a {
    padding-top: 74.5%;
    background-image: url('../images/bio_kehoe_thumb.png');
}

#characters .dom {
    z-index: 10;
    width: 20.8%;
    left: 22.5%;
    top: 55.3%;
    transform: rotate(2.5deg);
}

#characters .dom a {
    padding-top: 162%;
    background-image: url('../images/bio_dom_thumb.png');
}

#characters .bapka {
    z-index: 22;
    width: 14.6%;
    left: 67.5%;
    top: 62.3%;
    transform: rotate(18deg);
}

#characters .bapka a {
    padding-top: 111%;
    background-image: url('../images/bio_bapka_thumb.png');
}

#characters .virgil {
    z-index: 20;
    width: 11.5%;
    left: 81.3%;
    top: 60.3%;
    transform: rotate(6deg);
}

#characters .virgil a {
    padding-top: 187%;
    background-image: url('../images/bio_virgil_thumb.png');
}

#characters .quackenbush {
    z-index: 9;
    width: 14.5%;
    left: 6.8%;
    top: 66.5%;
    transform: rotate(-9deg);
}

#characters .quackenbush a {
    padding-top: 111%;
    background-image: url('../images/bio_quackenbush_thumb.png');
}

#characters .pigfarmers {
    z-index: 17;
    width: 21.3%;
    left: 46.5%;
    top: 69.5%;
    transform: rotate(3.5deg);
}

#characters .pigfarmers a {
    padding-top: 100%;
    background-image: url('../images/bio_pigfarmers_thumb.png');
}

#characters .nico {
    z-index: 8;
    width: 23.5%;
    left: 2.5%;
    top: 76.2%;
    transform: rotate(-6deg);
}

#characters .nico a {
    padding-top: 142%;
    background-image: url('../images/bio_nico_thumb.png');
}

#characters .serafine {
    z-index: 18;
    width: 21.5%;
    left: 26.1%;
    top: 76.6%;
    transform: rotate(-2.5deg);
}

#characters .serafine a {
    padding-top: 153.4%;
    background-image: url('../images/bio_serafine_thumb.png');
}

#characters .asa {
    z-index: 16;
    width: 17.3%;
    left: 50%;
    top: 82.9%;
    transform: rotate(11deg);
}

#characters .asa a {
    padding-top: 133.5%;
    background-image: url('../images/bio_asa_thumb.png');
}

#characters .arbogast {
    z-index: 21;
    width: 28.5%;
    left: 68.3%;
    top: 74%;
    transform: rotate(6.5deg);
}

#characters .arbogast a {
    padding-top: 129.6%;
    background-image: url('../images/bio_arbogast_thumb.png');
}

#characters .hapfamschfeel {
    z-index: 14;
    /*width:15%;*/
    width: 10.2%;
    top: 39.5%;
    left: 67.5%;
    transform: rotate(-10deg);
}

#characters .hapfamschfeel a {
    /*padding-top:78.4%;*/
    /*background-image: url('../images/hapfamschfeel.png');*/
    padding-top: 45%;
    background-image: url('../images/pancakestack.png');
}

/* ishkabibble/store pages
 * ========================================================================== */

#ishkabibble dt, #store dt {
    font: normal normal normal 24px/32px 'Oswald', Georgia, "Times New Roman", Times, serif;
}

#ishkabibble dt::before, #store dt::before {
    content: url('club_bullet.png');
    display: inline-block;
    margin-right: 10px;
    vertical-align: text-bottom;
    filter: drop-shadow(0 2px 3px #000);
    transform: rotate(10deg);
}

#ishkabibble dt:nth-of-type(2n)::before, #store dt:nth-of-type(2n)::before {
    transform: rotate(-10deg);
}

#ishkabibble dd, #store dd {
    margin-left: 38px;
}

/* faq page
 * ========================================================================== */
#faq dt {
    color: #cbbb9a;
}

#faq dd {
    margin-bottom: 1em;
}

/* glossary page
 * ========================================================================== */
#contact dl {
    display: flex;
    flex-flow: row wrap;
    max-width: 350px;
    margin: 0 auto;
}
#glossary dt, #contact dt {
    width: 100px;
    font-weight: bold;
    color: #cbbb9a;
}

#glossary dd, #contact dd {
    width: 250px;
    margin: 0 0 15px 0;
}

/* how-to-draw page
 * ========================================================================== */
#how-to-draw img, #how-to-paint img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* bibliography page
 * ========================================================================== */
.bibliography dt {
    float: left;
    color: #cbbb9a;
}

.bibliography dd.author {
    float: left;
    margin: 0 0 0 10px;
}

.bibliography dd.publisher {
    clear: both;
    margin: 0 0 10px 20px;
}

/* making-a-comic page
 * ========================================================================== */
#making-a-comic h3 {
    color: #cbbb9a;
    border-top: 1px dotted #cbbb9a;
    padding-top: 10px;
}

#making-a-comic img {
    display: block;
    max-width: 100%;
    margin: 20px auto;
}

/* archive page
 * ========================================================================== */
#archive-list ul {
    list-style: decimal;
    column-width: 250px;
    background-color: rgb(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 0px 15px 50px;
}

#archive .thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
    grid-gap: 10px;
    justify-content: center;
}

#archive .thumbs figure {
    width: 120px;
}

#archive .thumbs figcaption {
    text-align: center;
    font-size: .9rem;
    font-weight: bold;
    line-height: 1.3rem;
    margin-top: 3px;
}

#archive .thumbs a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    filter: drop-shadow(0 2px 2px #000);
}

#archive .thumbs a:hover {
    border-color: #fff;
    filter: drop-shadow(0 2px 2px #000) brightness(1.2);
}

#archive-display-toggle {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-bottom: 1px solid #c0ad77;
    font: normal normal normal 24px/40px 'Oswald', sans-serif;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0) 50%);
}

#archive-display-toggle button {
    flex: 1;
    border: 1px solid #816b2c;
    border-top-color: #c0ad77;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    max-width: 200px;
    color: #cbbb9a;
    background-color: #432e1a;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 30%), url(tab_bg.jpg);
}

#archive-display-toggle button:hover {
    color: #fff;
}

#archive-display-toggle button.active {
    border-color: #c0ad77;
    border-top-color: #daca9c;
    background-image: url(tab_bg.jpg);
    margin-bottom: -1px;
    padding-bottom: 1px;
}

/* gallery page
 * ========================================================================== */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, max-content));
    grid-gap: 10px;
    justify-content: center;
}

/* Enforcement, just in case we start increasing thumbnail dimensions... */
.gallery-container img {
    width: 60px;
    height: 60px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(110%);
}

#previews ul, #sketchbook ul, #guest-art ul, #archive ul {
    column-width: 250px;
    border-radius: 8px;
    padding: 15px 0px 15px 50px;
    background-color: rgb(0, 0, 0, 0.15);
}

/* gallery exhibit page
 * ========================================================================== */
#exhibit img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

#exhibit .description {
    max-width: 600px;
    text-align: left;
    padding: 20px;
    margin: 20px auto 0;
    background-color: #392411;
    border-radius: 8px;
}

/* dead drop
 * ========================================================================== */
#past-drops {
    margin: auto;
    max-width: 500px;
}
#past-drops ul {
    column-width: 250px;
    border-radius: 8px;
    padding: 15px 0px 15px 50px;
    background-color: rgb(0, 0, 0, 0.15);
}

/* @JL */
span.select {
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    margin: 0 25px 0 10px;
    line-height: 25px;
    color: #ae9059;
    overflow: hidden;
    white-space: nowrap;
}

.exhibit-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.exhibit-nav * {
    text-align: left;
}

.exhibit-select {
    position: relative;
    flex: 1;
    max-width: 250px;
    min-width: 80px;
    border: 1px solid #ae9059;
    border-radius: 8px;
    margin: 0 10px;
    background: transparent url('select.jpg') no-repeat right center;
}

.prev, .next {
    font: normal normal normal 22px/30px 'Oswald', sans-serif;
    text-transform: uppercase;
    width: 70px;
}

.prev a, .next a {
    color: #ae9059;
    text-decoration: none;
}

.prev a {
    padding-left: 30px;
    background: transparent url(nav_previous_arrow.png) no-repeat left 5px center;
}

.next a {
    padding-right: 30px;
    background: transparent url(nav_next_arrow.png) no-repeat right 5px center;
}

.prev a:hover {
    color: #fff;
    background-position: left 0 center;
}

.next a:hover {
    color: #fff;
    background-position: right 0 center;
}

@media (min-width: 992px) {
    /* @JL REVISIT */
    /*#glossary dt, #contact dt {*/
    /*    float: left;*/
    /*    padding-right: 20px;*/
    /*    clear: both;*/
    /*    text-align: right;*/
    /*    width: 25%;*/
    /*}*/

    /*#glossary dd, #contact dd {*/
    /*    width: 75%;*/
    /*    float: left;*/
    /*}*/
}

/* Desktop-specific overrides
 * ========================================================================== */
@media (min-width: 768px) {
    /* home background photo collage */
    body.home {
        background: url('photo_collage.jpg') top center no-repeat, url('body_bg.jpg') top center repeat-x, linear-gradient(#462e18, #462e18);
    }

    .home .container {
        flex-direction: row;
        padding: 0 20px;
    }

    .home main {
        width: 58.3333333333%;
    }

    /* aside */
    .home aside {
        width: 41.6666666667%;
        order: 0;
        gap: 0;
    }

    body:not(.home) aside {
        align-items: flex-start;
        margin: 0;
    }

    /* news articles on homepage */
    #home-news {
        max-height: 750px;
        margin-bottom: 180px;
        /* to accommodate the social buttons */
        margin-left: 10px;
        padding-top: 25px;
    }

    #home-news::before {
        pointer-events: none;
        content: '';
        background: transparent url('news_hider_top.png') no-repeat center/contain;
        position: absolute;
        top: -60px;
        right: -80px;
        width: 700px;
        height: 167px;
        z-index: 1;
    }

    #home-news::after {
        pointer-events: none;
        content: '';
        background: transparent url('news_hider_bottom.png') no-repeat center/contain;
        position: absolute;
        bottom: -205px;
        left: -113px;
        width: 800px;
        height: 320px;
    }

    #news-archive-link {
        padding-bottom: 50px;
    }

    /* menu frills */
    #nav {
        position: relative;
        margin: 0 13px;
        z-index: 3;
    }

    #nav ul {
        padding: 0 20px;
    }

    #nav ul::before, #nav ul::after {
        content: url('nav_end.png');
        position: absolute;
        top: 50%;
        margin-top: -20px;
    }

    #nav ul::before {
        left: -10px;
    }

    #nav ul::after {
        right: -10px;
        transform: scaleX(-1);
    }

    /* main patreon cartouche */
    .home #patreon {
        margin-top: 5px;
        z-index: 1;
    }

    .home #patreon a {
        transform: rotate(-2deg);
    }

    .home #patreon a:hover {
        transform: rotate(0);
    }

    body:not(.home) #patreon {
        display: block;
        max-width: 163px;
        filter: drop-shadow(0 3px 5px #000);
    }

    body:not(.home) #patreon a {
        transform: rotate(2deg);
    }

    body:not(.home) #patreon a:hover {
        transform: none;
    }

    /* social links on homepage */
    .home #social {
        margin: 0;
    }

    body:not(.home) #social {
        max-width: 350px;
    }

    #social {
        position: relative;
    }

    .home #social ul {
        position: absolute;
        flex-wrap: wrap;
        left: -40px;
        top: 60px;
        /* Set to the widest of all values*/
        width: 67px;
    }

    body:not(.home) #social ul {
        align-items: flex-start;
    }

    .home #social li:hover {
        transform: translateX(-5px);
    }

    body:not(.home) #social li:hover {
        transform: translateY(5px);
    }

    body:not(.home) .patreon {
        display: none;
    }

    /* "latest comic" aside section */
    #latest-comic {
        order: -1;
        margin-top: -5px;
        transform: rotate(2deg);
    }

    /* special links aside section */
    #special-links {
        width: 95%;
        margin: -20px 0 0;
    }
}