.rb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;
    padding: 0 20px;

    font-weight: 750;

    border: 0;
    border-radius: var(--rb-radius-sm);

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.rb-button:hover {
    transform: translateY(-1px);
}

.rb-button--primary {
    color: #ffffff;
    background: var(--rb-primary);
}

.rb-button--primary:hover {
    background: var(--rb-primary-dark);
}

.rb-button--dark {
    color: #ffffff;
    background: var(--rb-dark);
}

.rb-button--light {
    color: var(--rb-dark);
    background: #ffffff;
}

.rb-button--small {
    min-height: 40px;
    padding-inline: 16px;

    font-size: 14px;
}

.rb-button--full {
    width: 100%;
}

.rb-button--hero {
    min-height: 52px;

    padding-inline: 24px;
}

.rb-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.rb-section-heading h2 {
    margin: 2px 0 0;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.rb-section-heading__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;

    color: var(--rb-primary);
}

.rb-section-heading > a {
    font-size: 14px;
    font-weight: 700;

    color: var(--rb-text-muted);
}

.rb-ad-grid {
    display: grid;
    gap: 16px;
}

.rb-ad-grid--latest,
.rb-ad-grid--featured {
    grid-template-columns: repeat(
        4,
        minmax(0, 1fr)
    );
}

.rb-ad-card {
    min-width: 0;
    overflow: hidden;

    background: var(--rb-surface);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-md);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.rb-ad-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--rb-shadow);
}

.rb-ad-card__media {
    position: relative;

    display: block;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--rb-dark);
}

.rb-ad-card__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.rb-ad-card:hover .rb-ad-card__media img {
    transform: scale(1.035);
}

.rb-ad-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #20242b,
            #111318
        );
}

.rb-ad-card__placeholder span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;

    color: rgba(255, 255, 255, 0.35);
}

.rb-ad-card__featured {
    position: absolute;
    top: 10px;
    left: 10px;

    padding: 5px 8px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;

    color: #ffffff;
    background: var(--rb-primary);
    border-radius: 5px;
}

.rb-ad-card__content {
    padding: 14px;
}

.rb-ad-card__category {
    margin-bottom: 5px;

    overflow: hidden;

    font-size: 11px;
    font-weight: 700;

    color: var(--rb-text-muted);

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-ad-card__title {
    min-height: 44px;
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.3;
}

.rb-ad-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.rb-ad-card__price {
    font-size: 16px;

    color: var(--rb-primary);
}

.rb-ad-card__date {
    font-size: 11px;

    color: var(--rb-text-muted);
}

@media (max-width: 1280px) {
    .rb-ad-grid--featured,
    .rb-ad-grid--latest {
        grid-template-columns: repeat(
            3,
            minmax(0, 1fr)
        );
    }
}

@media (max-width: 760px) {
    .rb-section-heading {
        align-items: flex-start;
    }

    .rb-section-heading > a {
        display: none;
    }

    .rb-ad-grid--featured,
    .rb-ad-grid--latest {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
    }
}

@media (max-width: 480px) {
    .rb-ad-grid--featured,
    .rb-ad-grid--latest {
        grid-template-columns: 1fr;
    }
}