﻿

.line-limit-1 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.line-limit-2 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.line-limit-3 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.line-limit-4 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.line-limit-5 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.line-limit-6 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}
.line-limit-7 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}
.line-limit-8 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 8 !important;
    -webkit-box-orient: vertical !important;
    padding-bottom: 0px !important;
}

.image-hover {
    overflow: hidden;
    display: inline-block;
    position: relative;
}

    .image-hover img {
        transition: transform 0.5s linear;
    }

    .image-hover:hover img {
        transform: scale(1.25);
    }

/*#region skeleton loading */

.skeleton {
    opacity: .7;
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-text {
    width: 100%;
    height: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.125rem;
}

    .skeleton-text:last-child {
        margin-bottom: 0;
        width: 80%;
    }

.skeleton-text-title {
    width: 100%;
    height: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.125rem;
}

    .skeleton-text-title:last-child {
        margin-bottom: 0;
        width: 80%;
    }

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 70%);
    }

    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.grid {
    /*    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 1rem;*/
}

.card {
    background-color: white;
    border: none;
}

    .card > card-content {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    }

.header-skeleton {
    margin-bottom: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.header-img {
    width: 150px;
    height: 75px;
    /*    object-fit: cover;
    border-radius: 100%;
    margin-right: 1rem;
    flex-shrink: 0;*/
}

.title-skeleton {
    font-weight: bold;
    font-size: 1.25rem;
    text-transform: capitalize;
    word-wrap: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-grow: 1;
}

/*#endregion */

.link-hover a {
    background-image: linear-gradient( to right, #0595df, #0595df 50%, #000 50% );
    background-size: 200% 100%;
    background-position: -100%;
    display: block;
    /* padding: 5px 0;*/
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
    /*overflow: hidden;*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .link-hover a:before {
        content: '';
        background: #0595df;
        display: block;
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 3px;
        transition: all 0.3s ease-in-out;
    }

    .link-hover a:hover {
        /*font-weight: bold;*/
        background-position: 0;
    }

        .link-hover a:hover::before {
            width: 100%;
        }

.link-hoverV2 a:hover {
    /*font-weight: bold;*/
    color: #0595df !important
}

.shadow-hover:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    font-weight: bold
}