.pArticle {
    padding-top: 30px;

    @media screen and (max-width: 768px) {
        padding-top: 10px;
    }

    &--header {
        padding-bottom: 20px;
        text-align: center;
        padding-top: 10px;
    }

    &--title {
        font-size: 24px;
        line-height: 1.4;

        @media screen and (max-width: 768px) {
            font-size: 22px;
        }
    }

    &--meta {
        color: var(--puma-text-light);
        font-size: 14px;

        @media screen and (max-width: 768px) {
            font-size: 12px;
        }

        a {
            &:hover {
                text-decoration: underline;
                color: var(--puma-text-color);
            }
        }
    }

    &--toc {
        font-size: 14px;
        padding: 12px 18px;
        background-color: var(--puma-background-gray-light);
        border-radius: 10px;
        margin-bottom: 25px;
        color: var(--puma-text-light);

        summary {
            cursor: pointer;
        }

        &-title {
            font-weight: 600;
        }

        ul {
            padding-left: 10px;
            margin-bottom: 10px;

            &:last-child {
                margin-bottom: 0;
            }

            li {
                &::before {
                    content: "·";
                    margin-right: 5px;
                }

                a {
                    &:hover {
                        text-decoration: underline;
                        color: var(--puma-hover-color);
                    }
                }

                & > ul {
                    margin-left: 10px;
                    font-size: 12px;
                }
            }
        }
    }

    &--tags {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding-bottom: 10px;

        a {
            border-radius: 10px;
            color: var(--puma-text-light);
            font-size: 12px;
            padding: 5px 12px;
            margin-right: 10px;
            background-color: var(--puma-background-gray-light);
            line-height: 1.6;

            &:hover {
                background-color: var(--puma-background-gray);
            }
        }
    }

    &--actions {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 0 20px;

        .button--like {
            svg {
                fill: var(--puma-text-gray);
            }

            &:hover,
            &.is-active {
                svg {
                    fill: var(--puma-hover-color);
                }
            }
        }
    }

    &--authorInfo {
        border-top: 1px solid var(--puma-border-color-light);
        padding-bottom: 25px;
        padding-top: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;

        .avatar {
            border: 1px solid var(--puma-border-color-light);
            border-radius: 100%;
            padding: 2px;
            height: 64px;
            width: 64px;

            @media screen and (max-width: 768px) {
                width: 36px;
                height: 36px;
            }
        }

        .author--name {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 2px;
            margin-top: 5px;
        }

        .author--description {
            color: var(--puma-text-gray);
            font-size: 14px;
            line-height: 1.8;
        }
    }
}

.translatedCard {
    margin-bottom: 20px;
    font-size: 14px;
    h4 {
        font-weight: 700;
    }
    ul {
        list-style: square;
        margin-left: 30px;
        li {
            a {
                text-decoration: underline;
                &:hover {
                    color: var(--puma-hover-color);
                }
            }
        }
    }
}

.button--like {
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    display: flex;
    align-items: center;

    .count {
        font-size: 14px;
        margin-left: 3px;
        font-weight: bold;
        color: var(--puma-text-gray);
    }

    &.is-active {
        svg {
            fill: var(--puma-main-color);
        }

        .icon--active {
            display: block;
        }

        .icon--default {
            display: none;
        }

        .count {
            color: var(--puma-hover-color);
        }
    }

    &:hover {
        .count {
            color: var(--puma-hover-color);
        }
    }

    .icon--active {
        display: none;
    }

    .icon--default {
        display: block;
    }
}

.pMixtapeEmbed {
    margin-bottom: 25px;
    border: 1px solid var(--puma-border-color);
    border-radius: 4px;

    a {
        text-decoration: none !important;
        box-shadow: none !important;

        &:hover {
            color: inherit !important;
        }
    }

    .mixtapeImage {
        width: 120px;
        height: 120px;
        background-size: cover;
        flex: 0 0 auto;
        margin-left: 30px;
        border-radius: 0 4px 4px 0;
    }

    .mixtapeContent {
        padding: 0 20px;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;

        .markup--em {
            font-style: normal;
            font-size: 14px;
            line-height: 1.6;
            color: var(--puma-text-light);
        }

        .markup--strong {
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 5px;

            &:hover {
                color: var(--puma-hover-color);
            }
        }
    }
    display: flex;
}

@import "../modules/relatedPost";
