.ripro-article-showcase {
    background: var(--ras-section-bg, #181c24);
    color: #d7dce5;
    padding: 46px 0 38px;
}

.ripro-article-showcase + .ripro-article-showcase {
    padding-top: 22px;
}

.ras-container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1480px;
    padding: 0 15px;
    width: 100%;
}

.ras-heading {
    margin: 0 auto 24px;
    max-width: 980px;
    text-align: center;
}

.ras-align-left .ras-heading {
    margin-left: 0;
    text-align: left;
}

.ras-align-center .ras-heading {
    text-align: center;
}

.ras-align-right .ras-heading {
    margin-right: 0;
    text-align: right;
}

.ras-heading h2 {
    color: var(--ras-title-color, #fff);
    font-size: var(--ras-title-size, 25px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 9px;
}

.ras-heading p {
    color: var(--ras-subtitle-color, #aeb6c3);
    font-size: var(--ras-subtitle-size, 14px);
    line-height: 1.75;
    margin: 0;
}

.ras-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(var(--ras-columns, 4), minmax(0, 1fr));
    justify-items: stretch;
}

.ras-card {
    background: var(--ras-card-bg, #20242c);
    border: 1px solid var(--ras-card-border, #2c323d);
    border-radius: 6px;
    box-shadow: none;
    box-sizing: border-box;
    color: #c8cfdb;
    justify-self: center;
    max-width: var(--ras-card-width, 100%);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ras-card__media {
    background: #11151c;
    display: block;
    height: var(--ras-image-height, 500px);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ras-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
    width: 100%;
}

.ras-card:hover .ras-card__media img {
    filter: brightness(1.04);
    transform: scale(1.025);
}

.ras-card__body {
    background: var(--ras-card-bg, #20242c);
    padding: 12px 14px 13px;
}

.ras-card__cat {
    align-items: center;
    color: #b6bdc9;
    display: inline-flex;
    font-size: 12px;
    gap: 5px;
    line-height: 1.2;
    margin: 0 0 8px;
    text-decoration: none;
}

.ras-card__cat i {
    background: var(--ras-accent, #2f73ff);
    border-radius: 50%;
    display: inline-block;
    height: 7px;
    width: 7px;
}

.ras-card__title {
    color: #d6dbe5;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ras-card__title a {
    color: #d6dbe5;
    text-decoration: none;
}

.ras-card__excerpt {
    color: #9ba3b0;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ras-card__meta {
    align-items: center;
    color: #9ea6b4;
    display: flex;
    flex-wrap: nowrap;
    font-size: 12px;
    gap: 9px;
    line-height: 1.2;
    margin: 0;
    min-height: 16px;
    padding: 0;
}

.ras-card__meta span {
    align-items: center;
    color: #9ea6b4;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 4px;
    white-space: nowrap;
}

.ras-card__meta i {
    color: #9ea6b4;
    font-size: 13px;
}

.ras-card__price {
    margin-left: auto;
}

.ras-vip {
    align-items: center;
    background: var(--ras-vip-bg, #ff9f1a);
    border-radius: 5px;
    color: var(--ras-vip-color, #6b3a00);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    line-height: 1;
    min-width: 31px;
    padding: 0 7px;
    position: absolute;
    z-index: 20;
}

.ras-vip--top-left {
    left: 10px;
    top: 10px;
}

.ras-vip--top-right {
    right: 10px;
    top: 10px;
}

.ras-vip--bottom-left {
    bottom: 10px;
    left: 10px;
}

.ras-vip--bottom-right {
    bottom: 10px;
    right: 10px;
}

.ras-pagination {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 28px 0 0;
}

.ras-page-btn,
.ras-page-num,
.ras-page-status,
.ras-page-link,
.ras-page-next,
.ras-page-last,
.ras-load-more {
    background: #232a35;
    border: 1px solid #343c49;
    border-radius: 5px;
    color: #cbd3df;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 16px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ras-page-btn:hover,
.ras-page-num:hover,
.ras-page-link:hover,
.ras-page-next:hover,
.ras-page-last:hover,
.ras-page-num.is-active,
.ras-page-link.is-active,
.ras-load-more:hover {
    background: #2f73ff;
    border-color: #2f73ff;
    color: #fff;
}

.ras-load-more.is-loading {
    cursor: wait;
    opacity: .65;
}

.ras-pagination--prev_next {
    gap: 22px;
}

.ras-pagination--prev_next .ras-page-status,
.ras-pagination--prev_next .ras-page-link,
.ras-pagination--prev_next .ras-page-next,
.ras-pagination--prev_next .ras-page-last {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #aeb6c3;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}

.ras-pagination--prev_next .ras-page-link.is-active {
    color: #ffffff;
    font-weight: 800;
}

.ras-pagination--prev_next .ras-page-next,
.ras-pagination--prev_next .ras-page-last {
    color: #d9deea;
}

.ras-pagination--prev_next .ras-page-link:hover,
.ras-pagination--prev_next .ras-page-next:hover,
.ras-pagination--prev_next .ras-page-last:hover {
    background: transparent;
    border-color: transparent;
    color: #ffffff;
}

body.ras-auto-replaced .posts-wrapper {
    display: none !important;
}

body.ras-auto-replaced .infinite-scroll-button,
body.ras-auto-replaced .ias-trigger,
body.ras-auto-replaced .posts-navigation {
    display: none !important;
}

.ras-original-shell > .section-title,
.ras-original-shell .section-title,
.ras-original-shell .infinite-scroll-button,
.ras-original-shell .ias-trigger,
.ras-original-shell .posts-navigation {
    display: none !important;
}

@media (max-width: 1199px) {
    .ras-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ripro-article-showcase {
        padding: 34px 0;
    }

    .ras-grid {
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ras-card__media {
        height: min(var(--ras-image-height, 500px), 310px);
    }

    .ras-heading {
        margin-bottom: 18px;
    }
}

@media (max-width: 360px) {
    .ras-grid {
        grid-template-columns: 1fr;
    }
}
