/* Posts list on homepage — hover-only underlines */
.posts-list .post-title a {
    text-decoration: none;
}
.posts-list .post-title a:hover {
    text-decoration: underline;
}

/* ===== Blockquote from thebestmotherfuckingwebsite ===== */
/*
  Original principle: both the open-quote (::before) and the quote
  text <p> are floated left. The attribution clears below both.
  This makes the text sit visually in the middle of the large 2.2em
  open-quote, and wrap naturally.
*/
blockquote {
    color: #456;
    margin-left: 0;
    margin-top: 2em;
    margin-bottom: 2em;
}
blockquote p {
    float: left;
    margin: 0 0 0 1rem;
    padding-top: 1rem;
}
blockquote::before {
    content: open-quote;
    font-family: "Times New Roman", Times, serif;
    color: #666;
    font-size: 2.2em;
    font-weight: 600;
    float: left;
    margin-top: 0;
    margin-right: 0.2rem;
    width: 1.2rem;
}
blockquote::after {
    content: "";
    display: block;
    clear: both;
}
blockquote .sousblockquote {
    display: block;
    clear: both;
    font-size: 0.6em;
    font-style: italic;
    margin-left: 2.4rem;
    color: #666;
}

/* Dark mode */
body.inverted blockquote {
    color: #89a;
}
body.inverted blockquote::before {
    color: #999;
}
body.inverted blockquote .sousblockquote {
    color: #999;
}

/* High contrast */
body.highcontrast blockquote {
    color: #234;
}
body.highcontrast blockquote::before {
    color: #444;
}
body.highcontrast blockquote .sousblockquote {
    color: #444;
}

/* Mobile: same width constraint as the original */
@media screen and (max-width: 500px) {
    blockquote p {
        width: 80%;
    }
    blockquote .sousblockquote {
        padding-top: 1em;
        width: 80%;
        margin-left: 15%;
    }
}
