.nobf-wrapper {
    width: 100%;
}

.nobf-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 60px;
}

.nobf-tab {
    appearance: none;
    border: 0;
    outline: 0;
    background: #f1f2f5;
    color: #3d4655;
    border-radius: 30px;
    padding: 10px 21px;
    min-height: 40px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.nobf-tab:hover {
    background: #e6e8ed;
}

.nobf-tab.active {
    background: #1554e8;
    color: #fff;
    box-shadow: 0 4px 10px rgba(21, 84, 232, .18);
}

.nobf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.nobf-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.nobf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.nobf-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.62 / 1;
    overflow: hidden;
    background: #f4f4f4;
}

.nobf-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.nobf-card:hover .nobf-image img {
    transform: scale(1.035);
}

.nobf-no-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #eee;
}

.nobf-content {
    padding: 25px 25px 28px;
}

.nobf-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
    color: #687386;
    font-size: 14px;
    line-height: 1.4;
}

.nobf-date,
.nobf-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nobf-meta svg {
    flex: 0 0 auto;
}

.nobf-title {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 700;
}

.nobf-title a {
    color: #111827;
    text-decoration: none;
}

.nobf-title a:hover {
    color: #1554e8;
}

.nobf-excerpt {
    margin-bottom: 23px;
    color: #526174;
    font-size: 16px;
    line-height: 1.65;
}

.nobf-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1554e8;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.nobf-arrow {
    font-size: 25px;
    line-height: 14px;
    transition: transform .2s ease;
}

.nobf-read-more:hover .nobf-arrow {
    transform: translateX(4px);
}

#nobf-results {
    min-height: 100px;
    transition: opacity .2s ease;
}

#nobf-results.is-loading {
    opacity: .35;
    pointer-events: none;
}

.nobf-no-posts,
.nobf-error {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: #596579;
    font-size: 17px;
}

@media (max-width: 1024px) {
    .nobf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nobf-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .nobf-tabs {
        justify-content: flex-start;
        gap: 7px;
        margin-bottom: 35px;
    }

    .nobf-tab {
        padding: 9px 15px;
        font-size: 13px;
    }

    .nobf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nobf-content {
        padding: 20px;
    }

    .nobf-title {
        font-size: 20px;
    }

    .nobf-excerpt {
        font-size: 15px;
    }
}


