.weblogPost {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: clamp(0.5rem, 2vw, 3rem);
}

.weblogPost .postListPost__intro {
    margin-block: 1.5rem .5rem;
}

.weblogPost__text {
    margin-block-end: 1.5rem;
}

.weblogPost .postMetaInfo {
    justify-content: center;
    text-align: left;
}

.weblogPost__title {
    margin: 2rem 0;
    hyphens: auto;
}

.weblogPost__title:has(+ .postListPost__date) {
    margin-bottom: 0;
}

.weblogPost .postListPost__intro {
    font-weight: bold;
    font-size: 1.2rem;
}

.weblogPost__image {
    display: block;
}

.weblogPost__contentSection {
    position: relative;
    margin-block: .5rem 2rem;
}

/**
 * weblog attachments
 */
.weblogPost__attachmentTitle {
    margin-top: 0;
}

.weblogPost__attachmentList {
    margin: 0;
    padding: 0;
    list-style: '';
}

.weblogPost__attachmentItem {
    position: relative;
    padding-block: .8rem;
    border-bottom: 1px solid #ddd;
}

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

.weblogPost__attachmentLink {
    display: flex;
    color: inherit;
}

.weblogPost__attachmentLink::before {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: .8rem;
    color: #0090E7;
    content: '\1f4c4';
    font-family: 'icons';
}

/**
 * weblog comments
 */
.weblogPost__commentsTitle {
    margin-top: 0;
}

.weblogPost__commentsList {
    margin: 0;
    padding: 0;
    list-style: '';
}

.weblogPost__commentsItem {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.weblogPost__commentsMeta {
    margin-bottom: .2rem;
}

.weblogPost__commentsMeta .author {
    margin-right: .5rem;
    font-weight: 600;
}

.weblogPost__commentsMeta .commentDate {
    color: inherit;
    text-decoration: none;
}

.weblogPost__backToWrapper {
    margin-top: 2rem;
}

.weblogPost__backToLink .icon::before {
    margin-inline: 0 .5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .weblogPost__share:has(.ShareButtons--sizeSmall) {
        --socialMediaButtonSize: 26px;
    }

    .weblogPost__share:has(.ShareButtons--sizeNormal) {
        --socialMediaButtonSize: 32px;
    }

    .weblogPost__share:has(.ShareButtons--sizeLarge) {
        --socialMediaButtonSize: 42px;
    }
}
