/* Quotum – public display */

.quotum-display {
    margin: 1em 0;
    padding: 0.8em 1em;
    border: 0;
    background: transparent;
    max-width: 800px;
}

.quotum-text {
    margin: 0 0 0.8em;
    padding: 0;
    border: 0;
    background: transparent;
    font-style: italic;
    line-height: 1.6;
}

.quotum-text p {
    margin: 0 0 0.7em;
}

.quotum-text p:last-child {
    margin-bottom: 0;
}

.quotum-author {
    margin-top: 0.6em;
    font-weight: 600;
    font-size: 0.9em;
}

.quotum-source {
    margin-top: 0.3em;
    font-size: 0.8em;
    opacity: 0.75;
}

@media (max-width: 600px) {
    .quotum-display {
        padding: 0.6em 0.8em;
    }

    .quotum-text {
        line-height: 1.55;
    }
}

/* Optional manual refresh link, inheriting the theme's link colour. */
.quotum-refreshable .quotum-display { margin-bottom: 0; padding-bottom: 0; }

/* Keep the optional line close to the content, including on mobile and refresh. */
.quotum-display.quotum-display--line {
    border-left: 2px solid #666;
    padding: 4px 1em 4px 24px;
}
.quotum-display--line .quotum-text:last-child {
    margin-bottom: 0;
}
.quotum-display--line .quotum-text {
    margin-top: 0;
}
.quotum-refresh { display: inline-block; margin-top: 0.15em; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 0.75em; text-decoration: underline; cursor: pointer; }
.quotum-refresh:hover { text-decoration: none; }
.quotum-refresh:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.quotum-refresh:disabled { opacity: 0.6; cursor: wait; }
