
aside.pa-infobox {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 1rem 1.5rem;
    border: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 4px;
    background-color: rgba(128, 128, 128, 0.08);
    font-size: 0.9em;
    overflow: hidden;
}
.pa-infobox-title {
    padding: .6rem .75rem;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    background-color: rgba(128, 128, 128, 0.2);
}
figure.pa-infobox-image {
    margin: 0;
    padding: .5rem;
    text-align: center;
}
figure.pa-infobox-image img {
    max-width: 100%;
    height: auto;
}
figure.pa-infobox-image figcaption {
    font-size: 0.9em;
    opacity: 0.8;
    padding-top: .25rem;
}
.pa-infobox-header {
    margin: 0;
    padding: .4rem .75rem;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    background-color: rgba(128, 128, 128, 0.2);
}
.pa-infobox-row {
    display: flex;
    gap: .75rem;
    padding: .4rem .75rem;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}
.pa-infobox-label {
    flex: 0 0 40%;
    font-weight: bold;
}
.pa-infobox-value {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    aside.pa-infobox {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
}
.pa-infobox-value .pa-spoiler-field {
    display: block;
    padding: 0 .25em;
}
.pa-infobox-value .pa-spoiler-field:not(.pa-spoiler-revealed) {
    height: 1.5em;
    overflow: hidden;
}
.pa-infobox-errors ul {
    margin-top: 0;
}
.pa-infobox-definition pre {
    white-space: pre;
    overflow-x: auto;
    padding: .75rem 1rem;
    border-radius: 4px;
    background-color: rgba(128, 128, 128, 0.12);
}


.pa-spoiler {
    border-radius: 3px;
    padding: 0 .15em;
    cursor: pointer;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-color .1s ease-in;
}
.pa-spoiler:not(.pa-spoiler-revealed) {
    background-color: #000;
    color: transparent;
    user-select: none;
}
.pa-spoiler:not(.pa-spoiler-revealed) * {
    color: transparent !important;
    text-decoration-color: transparent !important;
    pointer-events: none;
}
.pa-spoiler:not(.pa-spoiler-revealed) img {
    visibility: hidden;
}
.pa-spoiler.pa-spoiler-revealed {
    background-color: rgba(128, 128, 128, 0.2);
}
.pa-spoiler:focus-visible {
    outline: 2px solid #6c9bd2;
    outline-offset: 1px;
}


.pa-page-category {
    margin-left: .35em;
    font-size: 0.85em;
    opacity: 0.65;
}

a.pa-ambiguous-link {
    text-decoration: underline dotted;
    text-underline-offset: 0.2em;
}


.pa-page-category {
    margin-left: .35em;
    font-size: 0.85em;
    opacity: 0.65;
}


.pa-excerpt {
    margin: 0 0 1rem 0;
    padding: .1rem 0 .1rem 1rem;
    border-left: 3px solid rgba(128, 128, 128, 0.35);
}
.pa-excerpt-source {
    margin-bottom: .4rem;
    font-size: 0.85em;
    font-style: italic;
    opacity: 0.75;
}
.pa-excerpt > :last-child {
    margin-bottom: 0;
}


div.figure-embedding {
    border: 1px solid rgba(128, 128, 128, 0.3);
    padding: .5rem;
    margin: 1rem auto;
}
div.figure-embedding-content {
    width: 100%;
}
div.figure-embedding-content > :last-child {
    margin-bottom: 0;
}
div.figure-embedding-caption {
    text-align: center;
    font-style: italic;
}


div.imageframe-caption {
    border: 1px solid rgba(128, 128, 128, 0.3);
    padding: .5rem;
}
div.imageframe-caption.imageframe-float-right {
    float: right;
    clear: right;
    margin: .5rem 0 .5rem .5rem;
}
div.imageframe-caption.imageframe-float-left {
    float: left;
    clear: left;
    margin: .5rem .5rem 0 .5rem;
}
div.imageframe {
    text-align: center;
    width: 100%;
    font-weight: bold;
}
@media (max-width: 576px) {
    div.imageframe-caption.imageframe-float-right,
    div.imageframe-caption.imageframe-float-left {
        float: none;
        clear: both;
        margin: .5rem 0;
        width: 100% !important;
    }
}


div.infobox {
    border: 1px solid rgba(128, 128, 128, 0.3);
    padding: .5rem;
    background-color: rgba(0, 0, 0, 0.2);
    min-width: 200px;
    max-width: 100%;
}
div.infobox.infobox-float-right {
    float: right;
    clear: right;
    margin: .5rem 0 .5rem .5rem;
}
div.infobox.infobox-float-left {
    float: left;
    clear: left;
    margin: .5rem .5rem 0 .5rem;
}
div.infobox-caption {
    text-align: center;
    width: 100%;
    font-weight: bold;
}
table.infobox {
    width: 100%;
    border: none;
    background: none;
}
table.infobox tr {
    border: none;
}
table.infobox td {
    border: none;
    padding: .5rem;
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    div.infobox.infobox-float-right,
    div.infobox.infobox-float-left {
        float: none;
        clear: both;
        margin: .5rem 0;
        width: 100% !important;
    }
}
