.blog__blog-boxes-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
}

.blog-box {
    display: inline-block;
    border: var(--orange-main-color) 1px solid;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /* height: fit-content; */
    transition: .3s;
    text-decoration: none;
    color: var(--brown-text-color);
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.blog-box:hover {
    top: -12px;
}

.blog-box--new {
    position: relative;
}

.blog-box--new::after {
    content: url(../../icons/new-label.svg);
    position: absolute;
    top: -5px;
    left: 20px;
}

.blog-box--new::before {
    content: "New";
    font-size: 0.875rem;
    font-weight: 400;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    position: absolute;
    color: white;
    top: 20px;
    left: 28px;
    z-index: 3;
}

.blog-box__img-holder {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.blog-box__img {
    width: 100%;
    transition: .3s;
    aspect-ratio: 16 / 9;
}

.blog-box__img-wave {
    width: 100%;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.blog-box__img-wave-path1 {
    fill: white;
}

.blog-box:hover .blog-box__img {
    filter: grayscale();
    transform: scale(110%) rotate(3deg);
}

.blog-box__info-wrapper {
    padding: 2px 15px 0px;
}

.blog-box__date-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--secondary-brown-text-color);
}

.blog-box__date-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.blog-box__date {
    font-size: 0.875rem;
}

.blog-box__text-wrapper {
    line-height: var(--line-higth-normal);
    margin-bottom: 15px;
}

.blog-box__title {
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 500;
    /* height: calc(2em + 1.2em);
    overflow: hidden; */

}

.blog-box__desc {
    font-size: 1rem;
    color: var(--secondary-brown-text-color);
}

.blog-box__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--orange-main-color);
    padding: 10px 15px;
    color: white;
    position: relative;
    font-size: 0.875rem;
    margin-top: auto;
}

.blog-box__footer::after {
    content: "";
    position: absolute;
    width: 95px;
    height: calc(100% - 1px);
    background-color: white;
    bottom: 0;
    right: -40px;
    z-index: 0;
    transform: skew(-45deg);
}

.blog-box__author-info-wrapper {
    display: flex;
    align-items: center;
}

.blog-box__author-img-holder {
    display: flex;
    align-items: center;
}

.blog-box__author-img {
    width: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}

.blog-box__author-name {
    margin-left: 5px;
    font-weight: 300;
}

.blog-box__pop-out-icon {
    z-index: 1;
    /* font-size: 1.3rem; */
    width: 18px;
    height: 18px;
}

.blog-box__pop-out-icon-path1 {
    fill: var(--brown-main-color);
}

.blog-box__pop-out-icon-path2 {
    fill: var(--brown-main-color);
}

.blog-box:hover .blog-box__pop-out-icon-path2 {
    animation: pop-out-icon-arrow-moving .8s ease-in-out 0s infinite normal backwards;
}

@keyframes pop-out-icon-arrow-moving {

    0%,
    100% {
        transform: translate(0);
    }

    90% {
        transform: translate(1px, -1px);
        transform-origin: center center;
    }
}