/**
 *    weblogRssIcon
 */

.weblogRssIcon {
    display: block;
    float: right;
    width: 16px;
    height: 16px;
    margin-bottom: 1em;
    text-indent: -999em;
    background: url(../icons/rss.png) no-repeat 0 0;
}

/**
 *    weblogMeta
 */

.weblogPost__subTitle {
    font-size: 1.3em;
}

.weblogMeta {
    margin-bottom: 1em;
}

.weblogMeta__date {
    color: #999;
}

.weblogMeta__authorDescription,
.weblogMeta__tagDescription {
    position: absolute;
    left: -999em;
}

.weblogMeta__tag {
    display: inline-block;
    margin-right: .3em;
    margin-bottom: .5em;
    padding: .4em 1em .3em;
    border: 1px solid #a64758;
    border-radius: 30px;
    font-size: .9em;
    color: #a64758;
    opacity: .8;
    text-decoration: none;
}

.weblogMeta__tag:hover {
    text-decoration: none;
    color: #fff;
    background-color: #a64758;
}

* + .weblogMeta__authors:before,
* + .weblogMeta__reactionCount:before {
    display: inline-block;
    content: '\2022';
    margin: 0 .1em;
    color: #bbb;
}

/**
 *    postListTitle
 */

.postListTitle__list {
    overflow: hidden;
    margin: 0 0 1em;
    padding: 0;
    list-style: none;
    clear: both;
}

.postListTitle__postDate {
    display: block;
    font-size: .8em;
    color: #999;
}

.postListTitle__postTitle,
.postListTitle__postComments {
    display: inline-block;
}

.postListTitle__postTitle,
.postListTitle__postTitle:hover {
    text-decoration: none;
}

.postListTitle__postComments {
    display: inline-block;
    font-size: .8em;
    color: #999;
}

.postListTitle__postCommentsLink {
    text-decoration: none;
    color: #999;
}

/**
 *    Expanded title
 */

.postListExtended {
    max-width: calc(1160px + 8%);
    margin: 0 auto;
    padding: 0 4%;
}

.postListExtended__list {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3em;
    list-style: none;
    padding: 0;
}

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

@media screen and (min-width: 600px) {
    .postListExtended__post {
        width: calc(33.3334% - (40px / 3));
        margin-right: 20px;
    }

    .postListExtended__post:nth-child(3n) {
        margin-right: 0;
    }
}

.postListExtended__link {
    display: block;
    height: 100%;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    background-color: #fff;
}

.postListExtended__link:hover {
    border-color: #a64758;
}

.postListExtended__title {
    margin-top: 0;
}

.postListExtended__date {
    margin-bottom: 0;
    color: #a64758;
}

/**
 *    postListIntro
 */

.postListIntro__list {
    margin: 0;
    padding: 0;
    list-style: none;
    clear: both;
}

.postListIntro__post {
    padding: 3.2em 0 2.4em;
}

.main__title--visible + .article .postListIntro__post:first-child {
    padding-top: 0;
}

.main--zebra .article:nth-of-type(2n) .postListIntro__post:nth-child(2n) {
    background-color: #fbfbfb;
}

.main--zebra .article:nth-of-type(2n - 1) .postListIntro__post:nth-child(2n) {
    background-color: #fff;
}

.article .postListIntro__title {
    margin-top: 0;
}

.postListIntro__titleLink,
.postListIntro__titleLink:hover {
    color: #4a4a4a;
    text-decoration: none;
}

.postListIntro__introduction p {
    margin-bottom: 0.7em;
}

.postListIntro__image {
    display: block;
    margin-bottom: 1em;
}

/**
 *    weblogPost
 */

.weblogPost {
    margin-bottom: 2.4em;
}

.weblogPost__title {
    position: absolute;
    left: -999em;
}

.weblogPost__introduction p {
    max-width: 32em;
    font-size: 1.3em;
    font-weight: 200;
    color: #4a4a4a;
}

.weblogPost__image {
    display: block;
    margin-bottom: 1em;
}

/**
 *    weblogPostNavigation
 */

.weblogPostNavigation {
    overflow: hidden;
    margin: 4em 0;
}

.weblogPostNavigation__button,
.weblogPostNavigation__button:hover {
    display: block;
    width: 40%;
    text-decoration: none;
}

.weblogPostNavigation__button--previous {
    float: left;
}

.weblogPostNavigation__button--next {
    float: right;
    text-align: right;
}

.weblogPostNavigation__buttonText,
.weblogPostNavigation__postTitle {
    display: block;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
}

.weblogPostNavigation__buttonText {
    font-size: .8em;
    color: #999;
}

/**
 *    relatedWeblogPosts
 */

.relatedWeblogPosts__list {
    margin: 0;
    padding: 0 0 .6em;
    list-style: none;
}

.relatedWeblogPosts__post + .relatedWeblogPosts__post {
    margin-top: 0.75em;
    padding-top: 0.75em;
    border-top: 1px solid #c3d7e4;
}

.relatedWeblogPosts__postDate {
    display: block;
    font-size: .8em;
    color: #8e8e8e;
}

.relatedWeblogPosts__postTitle {
    display: block;
    color: #4a4a4a;
    text-decoration: none;
}

.relatedWeblogPosts__postTitle:hover {
    color: #2fa9e1;
}

/**
 *    weblogComments
 */

.weblogComments__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.weblogComments__meta {
    overflow: hidden;
    margin-bottom: .4em;
}

.weblogComments__avatar {
    display: block;
    float: left;
    margin: 0 .8em 0 0;
    width: 2.7em;
    border-radius: 50%;
}

.weblogComments__metaInfo {
    display: block;
}

.weblogComments__author,
.weblogComments__permanentLink {
    display: block;
}

.weblogComments__permanentLink,
.weblogComments__permanentLink:hover {
    text-decoration: none;
    font-size: .8em;
    color: #999;
}

.weblogComments__dateDescription {
    position: absolute;
    left: -999em;
}

#message-tutorial {
    margin-top: 3em;
    padding: 1px 1em;
    background: rgba(0,0,0, .05);
}

/**
 * Archive list
 */

.wl-archive-year {
    max-width: calc(1160px + 8%);
    margin: 0 auto;
    padding: 0 4%;
}

.wl-archive-year ol {
    padding-left: 0;
    list-style: none;
}

/**
 * Author list small
 */

.authorList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(120px, 30vw, 180px), 1fr));
    grid-template-rows: auto 1fr;
    gap: 2.5rem;
    align-items: flex-start;
    margin-block: 4em;
}

.author {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    hyphens: auto;
}

.author__imageWrapper {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 50%;
    background-color: #f0f4f6;
}

.author__imageWrapper::after {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    transition: all ease-in-out .2s;
}

.author.--hasLink:hover .author__imageWrapper::after {
    background-color: rgba(0, 0, 0, 0.4);
}

.author__image {
    display: block;
    width: 120px;
    object-fit: contain;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.author__image.--fallback {
    padding: 1.5rem;
    border-radius: 0;
}

.author__name {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.author__button {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    opacity: 0;
    background-color: #8dc045;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
    transition: background-color ease-in-out .2s;
}

.author.--hasLink:hover .author__button {
    opacity: 1;
}

.author__button::before {
    margin-inline: 2px 0;
    font-size: 1rem;
    color: #fff;
}

.author__link {
    position: absolute;
    inset: 0;
}
