.blogs{
    padding: 100px 0 35px 0;
}
.blogs .post_img_container{
    width: 100%;
    border: 1px solid #dddddd;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.blogs .post_img_container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: 
        linear-gradient(90deg, #bfa888 0%, #bfa888 100%) top left,
        linear-gradient(180deg, #bfa888 0%, #bfa888 100%) top right,
        linear-gradient(270deg, #bfa888 0%, #bfa888 100%) bottom right,
        linear-gradient(0deg, #bfa888 0%, #bfa888 100%) bottom left;
    background-size: 
        0 1px,
        1px 0,
        0 1px,
        1px 0;
    background-repeat: no-repeat;
    pointer-events: none;
}

.blogs .post_img_container::before {
    animation: border-animation-reverse 2s ease-in-out forwards;
}

.blogs .post_img_container:hover::before {
    animation: border-animation 2s ease-in-out forwards;
}

@keyframes border-animation {
    0% {
        background-size: 0 1px, 1px 0, 0 1px, 1px 0;
    }
    25% {
        background-size: 100% 1px, 1px 0, 0 1px, 1px 0;
    }
    50% {
        background-size: 100% 1px, 1px 100%, 0 1px, 1px 0;
    }
    75% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0;
    }
    100% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
    }
}

@keyframes border-animation-reverse {
    0% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
    }
    25% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0;
    }
    50% {
        background-size: 100% 1px, 1px 100%, 0 1px, 1px 0;
    }
    75% {
        background-size: 100% 1px, 1px 0, 0 1px, 1px 0;
    }
    100% {
        background-size: 0 1px, 1px 0, 0 1px, 1px 0;
    }
}

.blogs .post_img_container img{
    object-fit: cover;
    width: 100%;
    height: 385px;
}

.blogs .post_img_container a{
    width: 100%;
}

.post-categories{
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.post_category a, .post_date, .post_header{
    font-family: 'Roboto',sans-serif;
    font-size: 15px;
    line-height: 1.73em;
    font-weight: 300;
    color: #bfa888;
    letter-spacing: 0;
    text-transform: none;
    &:hover{
        color: #998363;
    }
}

.blogs h3{
    margin: 1px 0 13px;
}

.blogs h3{
   font-family: "Cormorant Upright", serif;
   font-size: 33px;
   font-weight: 500;
   letter-spacing: 1.65px;
   line-height: 37.95px;
   color: #000;
   text-transform: uppercase;
}

.post_link a{
    margin-top: 10px;
    line-height: 2em;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-family: 'Inconsolata',monospace;
    font-size: 13px;
    font-weight: 500;
    color: #000;
}

.py-30{
    padding: 35px 0;
}


.post_link a:hover i{
    transform: translateX(4px);
}

.post_link a i{
    display: inline-block;
    margin-left: 5px;
    position: relative;
    top: 1px;
    transform: translateX(0);
    transition: transform .3s cubic-bezier(.39,.58,.57,1);
}

.blogs .row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 25px;
}

.blogs .gap-50{
    column-gap: 95px;
    row-gap: 50px;
}

.blogs .popular_post_card{
    min-width: calc(50% - 50px);
    flex: 1 1 0;
}


.blogs .page-numbers{
    position: relative;
    margin: 0 11px;
    padding: 0 3px;
    font-family: 'Inconsolata',monospace;
    font-weight: 400;
    font-size: 15px;
    &:hover{
        color: #bfa888;
    }
}

.blogs .page-numbers.current{
    font-weight: 700;
    color: #bfa888;
}

.blogs .page-numbers.next svg{
    color: #000;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: all 0.5 ease-in-out;
    &:hover{
        color: #bfa888;
        transform: translateX(3px);
    }
}
.blogs .page-numbers.prev svg {
    color: #000;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: all 0.5 ease-in-out;
    &:hover{
        color: #bfa888;
        transform: translateX(-3px);
    }
}

.blogs .page-numbers.next{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.blogs .page-numbers.prev{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.pagination{
    margin-top: 60px;
}

.blogs .post_content{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	
}

@media (max-width: 992px){
    .blogs .popular_post_card{
        width: 100%;
        flex: auto;
    }
}