.uspace-core-blog-wrapper {
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
}

.uspace-core-blog-wrapper button,
.uspace-core-blog-wrapper button:hover,
.uspace-core-blog-wrapper button:focus,
.uspace-core-blog-wrapper button:focus-visible,
.uspace-core-blog-wrapper button:active {
    appearance: none;
    background-image: none !important;
    text-shadow: none !important;
    border-image: none !important;
}

.uspace-core-blog-title {
    font-size: 2.5rem;
    color: #17343d;
    margin-bottom: 30px;
    font-weight: 400;
}

.uspace-core-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.uspace-core-blog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 2px solid #1b6b72;
    background: transparent;
    color: #1b6b72;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.uspace-core-blog-filter-btn:hover,
.uspace-core-blog-filter-btn.active {
    background: #1b6b72;
    color: #ffffff;
}

.uspace-core-blog-wrapper .uspace-core-blog-filter-btn:hover,
.uspace-core-blog-wrapper .uspace-core-blog-filter-btn:focus,
.uspace-core-blog-wrapper .uspace-core-blog-filter-btn:focus-visible {
    background-image: none !important;
    border-image: none !important;
    text-shadow: none !important;
}

.uspace-core-blog-filter-btn:focus,
.uspace-core-blog-filter-btn:focus-visible,
.uspace-core-blog-load-more:focus,
.uspace-core-blog-load-more:focus-visible {
    outline: none;
}

.uspace-core-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    transition: opacity 0.3s ease;
}

.uspace-core-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uspace-core-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

.uspace-core-blog-card-link-wrapper {
    display: block;
    text-decoration: none;
}

.uspace-core-blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e8f0f2;
    position: relative;
}

.uspace-core-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.uspace-core-blog-card:hover .uspace-core-blog-card-img img {
    transform: scale(1.05);
}

.uspace-core-blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #1b6b72;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.uspace-core-blog-card-content {
    padding: 22px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uspace-core-blog-card-title {
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f2a3d;
    margin: 0 0 10px;
}

.uspace-core-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uspace-core-blog-card-title a:hover {
    color: #1b6b72;
}

.uspace-core-blog-card-separator {
    width: 32px;
    height: 3px;
    background: #1b6b72;
    border-radius: 2px;
    margin-bottom: 12px;
}

.uspace-core-blog-card-excerpt {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 0;
}

.uspace-core-blog-card-footer {
    padding: 0 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.uspace-core-blog-card-date {
    font-size: 0.76rem;
    color: #999999;
}

.uspace-core-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1b6b72;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.uspace-core-blog-card-readmore::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.uspace-core-blog-card:hover .uspace-core-blog-card-readmore::after {
    transform: translateX(4px);
}

.uspace-core-blog-actions {
    text-align: center;
    margin-top: 50px;
}

.uspace-core-blog-load-more {
    background: #1c5269;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.uspace-core-blog-load-more:hover {
    background: #123746;
}

.uspace-core-blog-wrapper .uspace-core-blog-load-more:hover,
.uspace-core-blog-wrapper .uspace-core-blog-load-more:focus,
.uspace-core-blog-wrapper .uspace-core-blog-load-more:focus-visible {
    background-image: none !important;
    border-image: none !important;
    text-shadow: none !important;
}

.uspace-core-blog-loader {
    display: none;
    color: #6c757d;
    font-style: italic;
    margin-top: 20px;
}

.uspace-core-blog-empty {
    padding: 18px 20px;
    background: #f7fbfd;
    border: 1px solid #e1eaec;
    border-radius: 14px;
    color: #5c7076;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .uspace-core-blog-grid {
        grid-template-columns: 1fr;
    }

    .uspace-core-blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
