.grid-layout {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(149px, auto);
    grid-auto-flow: row dense;
    grid-gap: 10px;
}

.grid-item {
    border-radius: 5px;
}

.grid-1 {
    grid-column-end: span 3;
    grid-row-end: span 1;
}

.grid-2 {
    grid-column-end: span 3;
    grid-row-end: span 2;
}

.grid-3 {
    grid-column-end: span 6;
    grid-row-end: span 2;
}
.categories ul.nav li.nav-item .nav-link{
    padding-right: 8px;
    padding-left: 8px;
}
.categories ul.nav li.nav-item .nav-link.active{
    color: var(--secondary);
}
.categories ul li.nav-item:first-child .nav-link{
    padding-left: 0;
    padding-right: 16px;
}

.post-mask{
    border-radius: 5px;
    background: transparent;
    background-image: linear-gradient(to bottom, rgba(0,0,0, 0) 25%, rgba(0,0,0, 0.8) 100%);
}

.post-mask:hover{
    cursor: pointer;
    background-image: linear-gradient(to bottom, rgba(0,0,0, 0.2) 0%, rgba(0,0,0, 1) 100%);
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
}

.post-title{
    border-radius: 5px;
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 15px;
    margin-bottom: 0;
}

.post-published .fa,
.post-published small,
.post-stats .fa,
.post-stats small {
    font-size: 15px;
}

.post-mask .post-info{
    transition: all 2s ease-in-out;
    display: none;
}

.post-mask:hover .post-info{
    display: block;
}

.post .post-mask .post-tags {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--white-txt);
    margin-bottom: 12px;
    font-family: var(--font-family-sans-serif);
    margin: 0;
    padding: 4px 15px 16px;
}

.post .post-mask .post-tags .fa {
    margin-right: 4px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.tag-cloud .tag-cloud-title {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}

.tag-cloud .tag-cloud-title::after {
    content: '/';
    font-family: var(--font-family-sans-serif);
    font-size: 1.25em;
    border: none;
    vertical-align: middle;
    color: var(--blue-txt);
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.tag-cloud .tag-cloud-list {
    display: contents;
    align-items: baseline;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tag-cloud .tag-cloud-list li {
    list-style: none;
    display: inline;
}

.tag-cloud .tag-cloud-list a {
    display: inline-block;
    padding: 6px 10px;
    margin: 0;
    background-color: var(--gray-bg);
    color: var(--black-txt);
    border-radius: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    vertical-align: middle;
}

.tag-cloud .tag-cloud-list a:hover,
.tag-cloud .tag-cloud-list a:active {
    color: var(--blue-txt);
}

.load-previous-placeholder{
    height: 37px;
    min-width: 140px;
}

.ias-trigger-prev{
    position: absolute;
    z-index: 3;
    right: 0;
    top: -42px;
}
.ias-trigger-next{
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: -37px;
}
/*
@media (max-width: 991.98px) {
    .post-mask .post-info{
        display: block;
    }
}
*/

@media (max-width: 767.98px) {
    .grid-1 {
        grid-column-end: span 6;
        grid-row-end: span 1;
    }

    .grid-2 {
        grid-column-end: span 12;
        grid-row-end: span 2;
    }

    .grid-3 {
        grid-column-end: span 12;
        grid-row-end: span 3;
    }
}
@media (max-width: 575.98px) {
    .grid-1 {
        grid-column-end: span 12;
        grid-row-end: span 2;
    }

    .grid-2 {
        grid-column-end: span 12;
        grid-row-end: span 2;
    }

    .grid-3 {
        grid-column-end: span 12;
        grid-row-end: span 2;
    }
}
