.portfilio-grid-title div{
     text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    line-height: 1.2;
    max-width: 245px;
}

.pg-inner{
        --r: 25px;
    --s: 80px;
    --a: 60deg;
    background: #fff;
    border-radius: var(--r);
    --_m: 100% / calc(2 * var(--r)) var(--r) no-repeat radial-gradient(50% 100% at top, #000 calc(100% - 1px), #0000);
    --_d: (var(--s) + var(--r)) * cos(var(--a));
    mask: calc(50% + var(--_d)) var(--_m), calc(50% - var(--_d)) var(--_m), radial-gradient(var(--s) at 50% calc(100% + sin(var(--a)) * var(--s)), #0000 100%, #000 calc(100% + 1px)) 0 calc(var(--r) * (sin(var(--a)) - 1)) no-repeat, linear-gradient(90deg, #000 calc(50% - var(--_d)), #0000 0 calc(50% + var(--_d)), #000 0);
    
}
.potfolio-grid-item {
    filter: drop-shadow(0px 0px 10px rgba(203, 213, 230, 0.4)) !important;
    animation-duration: 0.7s !important;
    animation-timing-function: ease !important;
    animation-fill-mode: both !important;
}
.potfolio-grid-item:before {
    content: '';
    position: absolute;
    top: 75%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translateX(-50%);
    background: #F3F3F3;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 1.5s forwards;
}

.potfolio-grid-item:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95px;
    height: 95px;
    transform: translateX(-50%);
    border-bottom: 1px solid #CBA583;
    border-radius: 50px;
    z-index: -2;
    transition: top 0.4s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 1.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.potfolio-grid-item:hover::after{
    top: 72%;
}
.portfolio-button i{
    font-size: 16px;
    line-height: 0;
        rotate: 225deg;
        transition: all .3s;
}
.potfolio-grid-item:hover .portfolio-button i{
    rotate: 180deg;
    scale: 1.1;
}
.portfolio-carosel-line span {
    transition: all 0.3s;
    border-radius: 0px 0px 15px 15px;
}

.potfolio-grid-item:hover .portfolio-carosel-line span{
    border-block-start: var(--divider-border-width) var(--divider-border-style) #A28368 !important;
}
.tarchive-content-line span.elementor-divider-separator:before {
    content: "";
    position: absolute;
    width: 15%;
    height: 5px;
    background-color: #e7c6a6;
    margin: auto !important;
    border-radius: 0 0 5px 5px;
    opacity: .7;
    display: flex;
    left: 50%;
    transform: translate(-50%, 0);
}
.tarchive-content-line span{
        transition: all 0.3s;
    border-radius: 0px 0px 15px 15px;
}
@media (max-width: 767px){
    .tarchive-content-line span.elementor-divider-separator:before {
    content: "";
    position: absolute;
    width: 20%;
        
    }
    .potfolio-grid-item:before {
    top: 80%;
        
    }
    .potfolio-grid-item:hover::after{
    top: 78%;
        
    }
}

.pg-img{
    margin-top: 2.5px;
}
.pg-inner:hover  .pg-img{
        -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 3s !important;
}
@keyframes shimmer {
    0% {
        -webkit-mask-position: 140% 140%;
        mask-position: 140% 140%
    }

    100% {
        -webkit-mask-position: -20% -20%;
        mask-position: -20% -20%
    }
}