.list {
    counter-reset: listNum;
}

.list .listwrap{
    counter-increment: listNum;
}

.list .listwrap .header {
    display: flex;
    align-items: center;
}
.list .listwrap .header::before{
    content: counters(listNum, ".");
    padding: 20px;
    background: var(--secondary);
    border-radius: 100%;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 20px;
}

/**** BOX IMG *****/

.box-item {
    position: relative;
    box-shadow: var(--lightShadow);
    border-radius: 30px;
    overflow: hidden;
}

.box-item .img-placeholder {
    background: var(--light);
    display: block;
    position: absolute;
    top: 0;
    height: 75%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.box-item img{
    position: absolute;
    top: 0;
    height: 75%;
    width: 100%;
    object-fit: cover;
    z-index: -1;

}

/**** BOX BODY *****/

.boxlist {
    margin: 30px 0px;
    margin-bottom: 120px;
}

.box-body img{
    position: absolute;
    bottom: -5px;
    top: initial;
    width: 102%;
    height: 73%;
    filter: drop-shadow(0px -8px 0px var(--secondary));
}
.box-body {
    min-height: 250px;
    display: flex;
    align-items: end;
    width: 100%;
}
.box-body p {
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    display: block;
    width: 100%;
    hyphens: auto;
    margin-bottom: 0px;
    padding-bottom: 30px;
}

.box-body a{
    position: absolute;
    right: 20px;
    top: 34%;
    background: var(--secondary);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}
.box-body a i {
    font-size: var(--XL);
    color: var(--white);
    transform: scale(1);
    transition: all 200ms ease-in-out;
}
.box-body a:hover i {
    transform: scale(1.5);
}

@media (max-width: 834px){
    .list .listwrap .header{
        font-size: var(--mobileXL);
        display: initial;
    }
    .list .listwrap .header::before {
        content: counters(listNum, ".");
        padding: 20px;
        background: var(--secondary);
        border-radius: 100%;
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        margin-right: 20px;
    }
}
