.like-btn {
    outline: none;
    border: none;
    background-color: transparent;
    transition: all 0.1s ease-in-out;

    &:hover {
        cursor: pointer;
        scale: 1.1;
    }

    &.liked {
        display: block;
    }
}

.single-publication {
    text-align: justify;
    display: flex;
    flex-direction: column;
    padding: 8%;
    font-size: var(--fs-xl);

    .post-top {
        display: flex;
        align-items: center;
        color: black;

        img {
            width: 48px;
        }

        .publisher {
            padding: 0 16px;
            font-family: "Poppins-Bold";
        }

        .post-creation {
            padding: 0 8px;
        }
    }

    .title {
        color: black;
        font-family: "Poppins-Bold";
    }

    .undertitle {
        color: #BB1A21;
        font-style: italic;
        font-family: "Poppins-Bold";
        font-size: 18px;
        margin-top: -16px;
    }

    .publication-image {
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 42px;
        /* height: 224px; */
        padding: 54px 0;

        &:hover {
            .img {
                img {
                    scale: 1.05;
                }
            }
        }

        .img {
            min-width: 0;
            width: 100%;
            height: 340px;
            object-fit: contain;
            overflow: hidden;
            border-radius: 8px;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                transition: all 0.1s ease-in-out;
            }
        }

        .image-caption {
            max-width: fit-content;
            padding-right: 64px;
            color: black;
        }
    }

    .publication-description {
        color: #1e1e1e;
    }

    .author {
        font-style: italic;
    }

    .bottom-post {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 32px 0;
        padding: 12px 0;
        border-top: 1px solid #bdbdbd;
        border-bottom: 1px solid #bdbdbd;

        .socials {
            display: flex;
            gap: 8px;

            a {
                img {
                    width: 24px;
                }
            }
        }
    }

    .vue-like {
        display: flex;
        align-self: center;
        justify-content: space-between;
        width: 100%;

        .view {
            display: flex;
            align-items: center;
            gap: 5px;

            img {
                width: 26px;
            }
        }

        .like-btn {
            background: none;
            border: none;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;

            .heart {
                width: 32px;
                height: 32px;
            }

            .heart-filled {
                display: none;
            }

            &.liked {
                .heart-default {
                    display: none;
                }

                .heart-filled {
                    display: inline;
                }
            }
        }
    }
}

@media (max-width: 480px) {
    .single-publication {
        display: flex;
        flex-direction: column;

        .title,
        .undertitle {
            text-align: start;
        }

        .publication-image {
            display: flex;
            flex-direction: column;

            .img {
                min-width: 0;
                max-width: 100%;
                width: 100%;
                height: 180px;
                object-fit: contain;
                border-radius: 0;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                    transition: all 0.1s ease-in-out;
                }
            }

            .image-caption {
                max-width: fit-content;
                color: black;
                padding: 0;
                border-bottom: 1px solid #bdbdbd;
                padding-bottom: 36px;
            }
        }

        .author {
            display: flex;
            flex-direction: column;
        }

        .bottom-post {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            padding-top: 32px;
        }
    }
}