/* styles for paper content */

.paper-content .math.display {
    display: block;
    text-align: center;
    margin: 1em 0;
}

.paper-content .equation-number {
    display: block;
    text-align: right;
    font-size: 0.9em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    clear: both;
}

.paper-content figure.subfigure {
    display: inline-block;
    width: 28%;
    margin: 0.5em 2%;
    vertical-align: top;
}

.paper-content figure.subfigure img {
    max-width: 100%;
    height: auto;
}

.paper-content .abstract {
    margin: 2em 0;
    padding: 1em;
    text-align: justify;
}

.paper-content .abstract-title {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.paper-content {
    text-align: justify;
    hyphens: auto;
    font-size: small;
}

.paper-content .title {
    text-align: center;
}

.paper-content .author {
    text-align: center;
}

/* CSS for citations */
div.csl-bib-body { }
div.csl-entry {
    clear: both;
    margin-bottom: 0em;
}
.hanging-indent div.csl-entry {
    margin-left:2em;
    text-indent:-2em;
}
div.csl-left-margin {
    min-width:2em;
    float:left;
}
div.csl-right-inline {
    margin-left:2em;
    padding-left:1em;
}
div.csl-indent {
    margin-left: 2em;
} 

/* ArXiv link styling */
.paper-content p.arxiv-link {
    text-align: center;
    margin: 0.5em 0 1.5em 0;
    font-size: 0.95em;
}

.paper-content p.arxiv-link a {
    display: inline-block;
    padding: 0.4em 0.8em;
    background-color: #b31b1b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.paper-content p.arxiv-link a:hover {
    background-color: #8a1515;
}

/* QED marker (◻) styling - float to the right */
.proof-qed {
    float: right;
    margin-left: 1em;
    font-size: 1.2em;
}



