:root {
    --rbcc-primary: #FFB800; /* Burnt Yellow */
    --rbcc-dark: #1A1A1A;
    --rbcc-gray: #F5F5F5;
    --rbcc-text: #333333;
    --rbcc-radius: 8px;
    --rbcc-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --rbcc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Container de Resultados ── */
.rbcc-results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    min-height: 200px;
    transition: opacity 0.3s ease;
}

.rbcc-results-container.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ── Card Base (Estética Neo-Editorial) ── */
.rbcc-card {
    background: #fff;
    border-radius: var(--rbcc-radius);
    overflow: hidden;
    box-shadow: var(--rbcc-shadow);
    transition: var(--rbcc-transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.rbcc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.rbcc-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rbcc-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #eee;
}

.rbcc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rbcc-card:hover .rbcc-card__thumb img {
    transform: scale(1.1);
}

.rbcc-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rbcc-card__cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rbcc-primary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.rbcc-card__title {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 800;
    line-height: 1.2;
    color: var(--rbcc-dark);
}

.rbcc-card__frase, .rbcc-card__chamada {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.rbcc-card__price {
    font-weight: 800;
    font-size: 20px;
    color: var(--rbcc-dark);
    margin-top: auto;
}

/* ── Estilos Específicos ── */
.rbcc-card__thumb--round {
    aspect-ratio: 1/1;
    width: 120px;
    margin: 20px auto 0;
    border-radius: 50%;
    border: 3px solid var(--rbcc-primary);
}

.rbcc-card--agente, .rbcc-card--embaixador {
    text-align: center;
}

/* ── Mensagens ── */
.rbcc-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    font-style: italic;
    color: #999;
}

/* ── Animação de Entrada ── */
@keyframes rbccFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rbcc-card {
    animation: rbccFadeInUp 0.5s ease backwards;
}

/* ── Card Models ── */
.rbcc-card--minimal {
    box-shadow: none;
    border: none;
    border-radius: 0;
}
.rbcc-card--minimal .rbcc-card__thumb {
    border-radius: var(--rbcc-radius);
}
.rbcc-card--minimal .rbcc-card__body {
    padding: 20px 0;
}

.rbcc-card--overlay {
    position: relative;
    overflow: hidden;
    height: 350px;
    justify-content: flex-end;
    color: #fff;
}
.rbcc-card--overlay .rbcc-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}
.rbcc-card--overlay:hover .rbcc-card__bg {
    transform: scale(1.05);
}
.rbcc-card--overlay .rbcc-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}
.rbcc-card--overlay .rbcc-card__body {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 30px;
}
.rbcc-card--overlay .rbcc-card__title,
.rbcc-card--overlay .rbcc-card__excerpt {
    color: #fff;
}

.rbcc-card--horizontal {
    display: flex !important;
    flex-direction: row !important;
    padding: 25px !important;
    gap: 25px !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    min-height: 180px !important;
    background: #ffffff !important;
    border: 1px solid #C0D8E9 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.04) !important;
    box-sizing: border-box !important;
}

.rbcc-card--horizontal .rbcc-card__col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Brand Meta & Typography Setup */
.rbcc-card--horizontal .rbcc-card__meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 12px;
}

.rbcc-card--horizontal .rbcc-card__meta-location {
    color: #003366;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rbcc-card--horizontal .rbcc-card__meta-cat {
    color: #F7D117;
    background: #003366;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
}

.rbcc-card--horizontal .rbcc-card__title {
    font-size: 24px !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #003366 !important;
}

.rbcc-card--horizontal .rbcc-card__title a {
    display: inline !important;
    color: #003366 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.rbcc-card--horizontal .rbcc-card__title a:hover {
    color: #073c82 !important;
    text-decoration: underline !important;
}

.rbcc-card--horizontal .rbcc-card__excerpt {
    font-size: 14px;
    color: #5A6B7C;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right column setup for Logo and CTA button */
.rbcc-card--horizontal .rbcc-card__col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    min-width: 150px;
    flex-shrink: 0;
}

.rbcc-card--horizontal .rbcc-card__horizontal-thumb {
    display: flex !important;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(192, 216, 233, 0.5);
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.rbcc-card--horizontal .rbcc-card__horizontal-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rbcc-card--horizontal:hover .rbcc-card__horizontal-thumb img {
    transform: scale(1.08);
}

/* CTA Button matching #003366 */
.rbcc-card--horizontal .rbcc-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #003366 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 12px 25px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.rbcc-card--horizontal .rbcc-btn:hover {
    background-color: #073c82 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2) !important;
}

/* Mobile Adaptations for horizontal cards */
@media (max-width: 768px) {
    .rbcc-card--horizontal {
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px !important;
        gap: 20px !important;
        text-align: center !important;
    }
    .rbcc-card--horizontal .rbcc-card__col-left {
        text-align: center !important;
        order: 2; /* Move text below the logo */
    }
    .rbcc-card--horizontal .rbcc-card__meta-line {
        justify-content: center !important;
    }
    .rbcc-card--horizontal .rbcc-card__col-right {
        width: 100%;
        min-width: auto;
        align-items: center !important;
        order: 1; /* Move logo above text */
    }
    .rbcc-card--horizontal .rbcc-card__horizontal-thumb {
        width: 120px;
        height: 120px;
    }
}


/* ── Dashboard Layout (Neo-Editorial Premium) ── */
.rbcc-dashboard-wrap {
    max-width: 1300px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--rbcc-text);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 0 20px;
}

.rbcc-dashboard-sidebar {
    position: sticky;
    top: 40px;
    height: fit-content;
    background: var(--rbcc-dark);
    padding: 30px 20px;
    border-radius: 20px;
    color: #fff;
}

.rbcc-dashboard-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rbcc-dashboard-sidebar nav ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--rbcc-transition);
    border-radius: 12px;
    margin-bottom: 5px;
}

.rbcc-dashboard-sidebar nav ul li a .dashicons {
    margin-right: 15px;
    transition: var(--rbcc-transition);
}

.rbcc-dashboard-sidebar nav ul li a:hover,
.rbcc-dashboard-sidebar nav ul li a.active {
    color: var(--rbcc-primary);
    background: rgba(255,184,0,0.1);
}

.rbcc-dashboard-sidebar nav ul li a.active .dashicons {
    color: var(--rbcc-primary);
}

.nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* ── Content Area ── */
.rbcc-dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rbcc-dashboard-header {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--rbcc-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.rbcc-dashboard-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--rbcc-primary);
    border-radius: 50%;
    opacity: 0.05;
}

.rbcc-welcome h1 {
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
}

/* ── Stats ── */
.rbcc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rbcc-stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--rbcc-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--rbcc-transition);
}

.rbcc-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--rbcc-primary);
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #999;
    margin-bottom: 15px;
    display: block;
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--rbcc-dark);
    line-height: 1;
}

.stat-trend {
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    padding: 4px 8px;
    background: var(--rbcc-gray);
    border-radius: 6px;
    display: inline-block;
}

/* ── Main Action Cards ── */
.rbcc-main-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--rbcc-shadow);
}

.business-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.business-thumb img {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    object-fit: cover;
}

.business-titles h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 10px 0;
}

.rbcc-btn {
    padding: 16px 32px;
    font-size: 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rbcc-btn-primary {
    background: var(--rbcc-dark);
    color: #fff;
}

.rbcc-btn-primary:hover {
    background: var(--rbcc-primary);
    color: var(--rbcc-dark);
}

/* ── Quick Actions ── */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-btn {
    background: #fff;
    padding: 30px;
    border: 2px solid var(--rbcc-gray);
    border-radius: 20px;
    transition: var(--rbcc-transition);
}

.action-btn:hover {
    border-color: var(--rbcc-primary);
    background: rgba(255,184,0,0.05);
}

@media (max-width: 992px) {
    .rbcc-dashboard-wrap {
        grid-template-columns: 1fr;
    }
    .rbcc-dashboard-sidebar {
        display: none; /* Mobile menu needed later */
    }
}





/* --- Search Filters (Substituto JetSmartFilters) --- */
.rbcc-filter-container {
    margin-bottom: 20px;
}

.rbcc-filter-search {
    position: relative;
    display: flex;
    align-items: center;
}

.rbcc-filter-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--rbcc-gray);
    border-radius: 12px;
    font-size: 14px;
    transition: var(--rbcc-transition);
}

.rbcc-filter-input:focus {
    border-color: var(--rbcc-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,184,0,0.1);
}

.rbcc-filter-search .dashicons {
    position: absolute;
    left: 15px;
    color: #999;
}

.rbcc-filter-taxonomy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rbcc-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--rbcc-gray);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--rbcc-transition);
}

.rbcc-filter-checkbox:hover {
    border-color: var(--rbcc-primary);
}

.rbcc-filter-checkbox input {
    accent-color: var(--rbcc-primary);
}

/* --- User Menu (Substituto JetBlocks) --- */
.rbcc-user-menu-wrapper {
    display: inline-block;
}

.rbcc-logged-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rbcc-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rbcc-primary);
}

.rbcc-user-info {
    display: flex;
    flex-direction: column;
}

.rbcc-user-greeting {
    font-size: 13px;
    font-weight: 700;
    color: var(--rbcc-dark);
}

.rbcc-user-links {
    font-size: 11px;
    color: #999;
}

.rbcc-user-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--rbcc-transition);
}

.rbcc-user-links a:hover {
    color: var(--rbcc-primary);
}

.rbcc-user-links .divider {
    margin: 0 5px;
}

.rbcc-auth-links {
    display: flex;
    gap: 15px;
}

.rbcc-btn-login, .rbcc-btn-register {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--rbcc-transition);
}

.rbcc-btn-login {
    color: var(--rbcc-dark);
}

.rbcc-btn-register {
    background: var(--rbcc-primary);
    color: #fff;
}

.rbcc-btn-register:hover {
    background: var(--rbcc-dark);
}

/* --- Listing Grid (Substituto JetEngine) --- */
.rbcc-listing-grid {
    display: grid;
    /* Padrões seguros caso as variáveis do Elementor não estejam definidas */
    grid-template-columns: repeat(var(--rbcc-grid-cols, 3), 1fr);
    gap: var(--rbcc-grid-gap, 20px);
    width: 100%;
}

.rbcc-listing-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--rbcc-transition);
    display: flex;
    flex-direction: column;
}

.rbcc-listing-item:hover {
    transform: translateY(-5px);
}

.rbcc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.rbcc-card__thumb {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
}

.rbcc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rbcc-listing-item:hover .rbcc-card__thumb img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .rbcc-listing-grid {
        grid-template-columns: repeat(var(--rbcc-grid-cols-tablet, 2), 1fr);
    }
}

@media (max-width: 768px) {
    .rbcc-listing-grid {
        grid-template-columns: repeat(var(--rbcc-grid-cols-mobile, 1), 1fr);
    }
}

/* --- Listing Carousel --- */
.rbcc-listing-carousel {
    position: relative !important;
    overflow: hidden !important; /* Garante o corte de slides fora da área de visualização */
    width: 100% !important;
    z-index: 1;
    padding: 15px 0 !important;
    margin: -15px 0 !important;
    box-sizing: border-box;
}

.rbcc-listing-carousel .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: content-box !important;
    transform: translate3d(0, 0, 0);
}

.rbcc-listing-carousel .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    position: relative !important;
    box-sizing: border-box;
}

/* Customização das Setas Swiper */
.rbcc-listing-carousel .swiper-button-next,
.rbcc-listing-carousel .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1px solid #E1E8ED !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    color: #073C82 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    margin-top: 0 !important; /* Previne interferência de estilos antigos do Swiper */
}

.rbcc-listing-carousel .swiper-button-next:after,
.rbcc-listing-carousel .swiper-button-prev:after {
    font-family: 'elementor-icons' !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.rbcc-listing-carousel .swiper-button-prev:after {
    content: '\e875' !important; /* Chevron-left do elementor-icons */
}

.rbcc-listing-carousel .swiper-button-next:after {
    content: '\e876' !important; /* Chevron-right do elementor-icons */
}

.rbcc-listing-carousel .swiper-button-next:hover,
.rbcc-listing-carousel .swiper-button-prev:hover {
    background: #073C82 !important;
    color: #ffffff !important;
    border-color: #073C82 !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.rbcc-listing-carousel .swiper-button-next {
    right: 10px !important;
}

.rbcc-listing-carousel .swiper-button-prev {
    left: 10px !important;
}

/* Customização dos Pontos de Paginação */
.rbcc-listing-carousel .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 25px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.rbcc-listing-carousel .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #D0D7DE !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    margin: 0 !important;
}

.rbcc-listing-carousel .swiper-pagination-bullet-active {
    background: #073C82 !important;
    transform: scale(1.25) !important;
}

/* ==========================================================================
   News Tiles (JetBlog Replacement)
   ========================================================================== */
.rbcc-news-tiles-wrapper {
    display: grid;
    grid-template-columns: repeat(var(--rbcc-grid-cols, 3), 1fr);
    grid-auto-rows: var(--rbcc-tile-height, 250px);
    grid-auto-flow: dense; /* Ensures spaces are packed seamlessly */
    gap: var(--rbcc-grid-gap, 16px);
    margin: 0;
    font-family: 'Poppins', 'Montserrat', 'Onest', -apple-system, sans-serif;
}

.rbcc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: var(--rbcc-tile-radius, 12px);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #1a1a1a;
}

/* Standard Layout: 1 Featured + 2 Smaller Stacked Beside It */
.rbcc-layout-standard {
    grid-template-columns: repeat(3, 1fr);
}

.rbcc-layout-standard .rbcc-tile-featured,
.rbcc-layout-standard .rbcc-tile-1 {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

.rbcc-layout-standard .rbcc-tile-2,
.rbcc-layout-standard .rbcc-tile-3 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Enhanced Mosaic Layout - Desktop (Dynamic Grid) */
.rbcc-layout-mosaic {
    grid-auto-flow: dense; /* Fills gaps dynamically */
}

/* Safe organic defaults that easily yield to Elementor CSS selectors */
.rbcc-layout-mosaic .rbcc-tile-featured,
.rbcc-layout-mosaic .rbcc-tile-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.rbcc-layout-mosaic .rbcc-tile-2 {
    grid-column: span 2;
}

.rbcc-tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}

/* Hover actions */
.rbcc-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.rbcc-tile:hover .rbcc-tile-bg {
    transform: scale(1.06);
}

/* Premium Vignette Overlay */
.rbcc-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.rbcc-tile:hover .rbcc-tile-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

/* Content Box */
.rbcc-tile-content {
    position: relative;
    z-index: 2;
    padding: var(--rbcc-content-padding, 24px);
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.rbcc-tile-1.rbcc-tile-featured .rbcc-tile-content {
    padding: var(--rbcc-content-padding, 30px);
}

/* Category Badge: Bright Yellow (#F7D117) */
.rbcc-tile-category {
    align-self: flex-start;
    margin-bottom: 12px;
    background: #F7D117;
    color: #000000;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.rbcc-tile:hover .rbcc-tile-category {
    background: #ffffff;
    color: #000000;
}

/* Typography */
.rbcc-tile-title {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.rbcc-tile-featured .rbcc-tile-title,
.rbcc-tile-1 .rbcc-tile-title {
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
}

.rbcc-tile-meta {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rbcc-tile-excerpt {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Responsive Mosaic Shifts */
@media (max-width: 1024px) {
    .rbcc-layout-mosaic {
        grid-auto-flow: dense;
    }
    
    /* Default organic spans on tablet, letting user override in panel */
    .rbcc-layout-mosaic .rbcc-tile-featured,
    .rbcc-layout-mosaic .rbcc-tile-1 {
        grid-column: span 2;
        grid-row: auto;
        min-height: 300px;
    }
    .rbcc-layout-mosaic .rbcc-tile-2 {
        grid-column: span 2;
        grid-row: auto;
        min-height: 250px;
    }
    
    /* Standard layout collapsed on tablet */
    .rbcc-layout-standard .rbcc-tile-featured,
    .rbcc-layout-standard .rbcc-tile-1 {
        grid-column: span 2;
        grid-row: auto;
        min-height: 300px;
    }
    .rbcc-layout-standard .rbcc-tile-2,
    .rbcc-layout-standard .rbcc-tile-3 {
        grid-column: span 1;
        grid-row: auto;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .rbcc-news-tiles-wrapper,
    .rbcc-layout-mosaic {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 20px !important;
    }
    .rbcc-tile {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        min-height: 250px !important;
    }
    .rbcc-tile-featured,
    .rbcc-tile-1 {
        min-height: 320px !important;
    }
    .rbcc-tile-1 .rbcc-tile-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   News List (JetBlog Replacement)
   ========================================================================== */
.rbcc-news-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rbcc-list-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    transition: var(--rbcc-transition);
}

.rbcc-list-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.rbcc-list-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.rbcc-list-content {
    flex-grow: 1;
}

.rbcc-list-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
}

.rbcc-list-title a {
    color: var(--rbcc-dark);
    text-decoration: none;
    transition: var(--rbcc-transition);
}

.rbcc-list-title a:hover {
    color: var(--rbcc-primary);
}

.rbcc-list-meta {
    font-size: 12px;
    color: #888;
}

/* ==========================================================================
   Filter Widgets (JetSmartFilters Replacement)
   ========================================================================== */
.rbcc-filter-container {
    margin-bottom: 25px;
}

.rbcc-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--rbcc-dark);
}

.rbcc-filter-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: var(--rbcc-transition);
    background: #f9f9f9;
}

.rbcc-filter-control:focus {
    border-color: var(--rbcc-primary);
    background: #fff;
}

.rbcc-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rbcc-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: var(--rbcc-transition);
}

.rbcc-checkbox-item:hover {
    color: var(--rbcc-primary);
}

.rbcc-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--rbcc-primary);
    cursor: pointer;
}

/* ==========================================================================
   RBCC Forms (JetFormBuilder Replacement)
   ========================================================================== */
.rbcc-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rbcc-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbcc-form-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--rbcc-dark);
}

.rbcc-form-field input, 
.rbcc-form-field textarea, 
.rbcc-form-field select {
    padding: 12px 16px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    background: #f9f9f9;
    transition: var(--rbcc-transition);
}

.rbcc-form-field input:focus, 
.rbcc-form-field textarea:focus {
    border-color: var(--rbcc-primary);
    background: #fff;
    outline: none;
}

.rbcc-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.rbcc-form-submit {
    background: var(--rbcc-primary);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--rbcc-transition);
}

.rbcc-form-submit:hover {
    background: var(--rbcc-dark);
    transform: translateY(-2px);
}

.rbcc-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.rbcc-form-message {
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.rbcc-form-message.success {
    background: #e6fffa;
    color: #2c7a7b;
    border: 1px solid #b2f5ea;
    display: block;
}

.rbcc-form-message.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
    display: block;
}

.rbcc-form-step {
    border-left: 4px solid var(--rbcc-primary);
    padding-left: 20px;
    margin-bottom: 20px;
}

.rbcc-form-step h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.rbcc-form-step label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

/* ==========================================================================
   RBCC Search (JetSearch Replacement)
   ========================================================================== */
.rbcc-search-container {
    position: relative;
    width: 100%;
}

.rbcc-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid #eee;
    border-radius: 100px;
    font-size: 14px;
    background: #f9f9f9;
    transition: var(--rbcc-transition);
    outline: none;
}

.rbcc-search-input:focus {
    border-color: var(--rbcc-primary);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rbcc-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
}

/* ── Nav Menu ── */
.rbcc-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.rbcc-nav-menu--vertical .rbcc-nav-list {
    flex-direction: column;
    gap: 15px;
}

.rbcc-nav-list a {
    text-decoration: none;
    font-weight: 600;
    transition: var(--rbcc-transition);
}

/* ── Hamburger Panel ── */
.rbcc-hamburger-trigger {
    cursor: pointer;
    font-size: 24px;
    display: inline-block;
}

.rbcc-hamburger-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: right 0.4s ease;
}

.rbcc-hamburger-panel.is-active {
    right: 0;
}

.rbcc-hamburger-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rbcc-hamburger-panel.is-active .rbcc-hamburger-panel-overlay {
    opacity: 1;
}

.rbcc-hamburger-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    padding: 40px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.rbcc-hamburger-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

/* ── Breadcrumbs ── */
.rbcc-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.rbcc-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: var(--rbcc-transition);
}

.rbcc-breadcrumbs a:hover {
    color: var(--rbcc-primary);
}

.rbcc-breadcrumbs .sep {
    margin: 0 8px;
    opacity: 0.5;
}

.rbcc-breadcrumbs .current {
    font-weight: 700;
    color: var(--rbcc-dark);
}

/* --- Auth Links --- */
.rbcc-auth-links {
    display: flex;
    align-items: center;
}

.rbcc-auth-login, .rbcc-auth-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--rbcc-dark);
    text-decoration: none;
    transition: var(--rbcc-transition);
    cursor: pointer;
    position: relative;
}

.rbcc-auth-login:hover {
    color: var(--rbcc-primary);
}

.rbcc-auth-icon {
    font-size: 1.2rem;
}

.rbcc-auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: var(--rbcc-shadow);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--rbcc-transition);
    z-index: 100;
}

.rbcc-auth-user:hover .rbcc-auth-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rbcc-auth-dropdown a {
    display: block;
    padding: 8px 20px;
    color: var(--rbcc-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.rbcc-auth-dropdown a:hover {
    background: var(--rbcc-light);
    color: var(--rbcc-primary);
}

.rbcc-auth-dropdown a.logout {
    border-top: 1px solid #eee;
    color: #e74c3c;
}

/* --- Login Form --- */
.rbcc-login-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--rbcc-shadow);
    max-width: 400px;
    margin: 0 auto;
}

.rbcc-login-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.rbcc-login-container input[type="text"],
.rbcc-login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
}

.rbcc-login-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--rbcc-primary);
    border: none;
    border-radius: 6px;
    color: var(--rbcc-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--rbcc-transition);
}

.rbcc-login-container input[type="submit"]:hover {
    background: var(--rbcc-dark);
    color: #fff;
}

.rbcc-login-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Posts Grid --- */
.rbcc-posts-grid {
    display: grid;
    gap: 30px;
}

.rbcc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rbcc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rbcc-cols-4 { grid-template-columns: repeat(4, 1fr); }

.rbcc-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--rbcc-transition);
}

.rbcc-post-card:hover {
    transform: translateY(-5px);
}

.rbcc-post-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.rbcc-post-content {
    padding: 20px;
}

.rbcc-post-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--rbcc-primary);
    color: var(--rbcc-dark);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rbcc-post-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.rbcc-post-title a {
    color: var(--rbcc-dark);
    text-decoration: none;
}

.rbcc-post-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.rbcc-post-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rbcc-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Video Playlist --- */
.rbcc-video-playlist {
    display: flex;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    height: 450px;
}

.rbcc-video-main {
    flex: 2;
    background: #000;
}

.rbcc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.rbcc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rbcc-video-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #333;
}

.rbcc-video-sidebar-header {
    padding: 15px;
    background: #222;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.rbcc-video-items {
    overflow-y: auto;
    flex: 1;
}

.rbcc-video-item {
    display: flex;
    padding: 10px;
    gap: 10px;
    cursor: pointer;
    transition: var(--rbcc-transition);
    border-bottom: 1px solid #222;
}

.rbcc-video-item:hover {
    background: #2a2a2a;
}

.rbcc-video-item.is-active {
    background: #333;
    border-left: 4px solid var(--rbcc-primary);
}

.rbcc-video-item-thumb {
    width: 80px;
    height: 45px;
    flex-shrink: 0;
}

.rbcc-video-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.rbcc-video-item-title {
    color: #eee;
    font-size: 0.85rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .rbcc-video-playlist {
        flex-direction: column;
        height: auto;
    }
    .rbcc-video-sidebar {
        height: 250px;
    }
    .rbcc-cols-2, .rbcc-cols-3, .rbcc-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* --- Profile Menu --- */
.rbcc-profile-menu {
    position: relative;
    display: inline-block;
}

.rbcc-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 12px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--rbcc-transition);
}

.rbcc-profile-trigger:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rbcc-profile-avatar img {
    border-radius: 50%;
    display: block;
}

.rbcc-profile-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rbcc-dark);
}

.rbcc-profile-trigger i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.rbcc-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--rbcc-shadow);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--rbcc-transition);
    z-index: 1000;
}

.rbcc-profile-menu:hover .rbcc-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rbcc-profile-header {
    padding: 0 20px 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.rbcc-profile-header strong {
    display: block;
    color: var(--rbcc-dark);
    font-size: 1rem;
}

.rbcc-profile-header span {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.rbcc-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--rbcc-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--rbcc-transition);
}

.rbcc-profile-dropdown a:hover {
    background: var(--rbcc-light);
    color: var(--rbcc-primary);
}

.rbcc-profile-dropdown a i {
    width: 16px;
    opacity: 0.6;
}

.rbcc-profile-dropdown a.logout {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    color: #e74c3c;
}

/* --- Posts Navigation --- */
.rbcc-posts-navigation {
    margin-top: 40px;
}

.rbcc-posts-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rbcc-posts-navigation .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--rbcc-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--rbcc-transition);
}

.rbcc-posts-navigation .page-numbers:hover,
.rbcc-posts-navigation .page-numbers.current {
    background: var(--rbcc-primary);
    border-color: var(--rbcc-primary);
    color: var(--rbcc-dark);
}

.rbcc-posts-navigation .page-numbers.prev,
.rbcc-posts-navigation .page-numbers.next {
    background: var(--rbcc-dark);
    color: #fff;
    border-color: var(--rbcc-dark);
}

.rbcc-posts-navigation .page-numbers.prev:hover,
.rbcc-posts-navigation .page-numbers.next:hover {
    background: var(--rbcc-primary);
    color: var(--rbcc-dark);
    border-color: var(--rbcc-primary);
}

/* --- Table --- */
.rbcc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--rbcc-shadow);
}

.rbcc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

.rbcc-table th, .rbcc-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.rbcc-table th {
    background: var(--rbcc-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rbcc-table tr:last-child td {
    border-bottom: none;
}

.rbcc-table tr:hover td {
    background: var(--rbcc-light);
}

.rbcc-table td {
    font-size: 0.9rem;
    color: var(--rbcc-dark);
}

/* --- Totems Dashboard Grid --- */
.totens-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.totem-card-premium {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--rbcc-transition);
}

.totem-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--rbcc-primary);
}

.totem-qr-preview {
    position: relative;
    width: 100px;
    height: 100px;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
    overflow: hidden;
}

.totem-qr-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.totem-qr-preview:hover .qr-overlay {
    opacity: 1;
}

.qr-action-btn {
    width: 40px;
    height: 40px;
    background: var(--rbcc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rbcc-dark) !important;
    text-decoration: none;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.qr-overlay:hover .qr-action-btn {
    transform: scale(1);
}

.totem-details {
    flex-grow: 1;
    min-width: 0;
}

.totem-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rbcc-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.totem-token-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--rbcc-gray);
    color: #666;
    font-size: 10px;
    font-family: monospace;
    border-radius: 4px;
    margin-bottom: 12px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.totem-meta-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.totem-meta-links .link-item {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.totem-meta-links .link-item:hover {
    color: var(--rbcc-primary);
}

.totem-meta-links .link-item.highlight {
    color: var(--rbcc-dark);
    font-weight: 600;
}

.totem-meta-links .link-item.highlight:hover {
    color: var(--rbcc-primary);
}

.totem-meta-links .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.empty-state-simple {
    text-align: center;
    padding: 40px 20px;
    background: var(--rbcc-gray);
    border-radius: 12px;
    color: #888;
}

.empty-state-simple .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* --- News Tiles --- */
.rbcc-news-tiles-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
    margin-bottom: 30px;
}

.rbcc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff !important;
    transition: var(--rbcc-transition);
}

.rbcc-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.rbcc-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    transition: var(--rbcc-transition);
}

.rbcc-tile:hover .rbcc-tile-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.rbcc-tile-content {
    position: relative;
    z-index: 2;
}

.rbcc-tile-category {
    background: var(--rbcc-primary);
    color: var(--rbcc-dark);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.rbcc-tile-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.rbcc-tile-meta {
    font-size: 12px;
    opacity: 0.8;
}

/* Grid Layouts */
.rbcc-tile-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.rbcc-tile-1 .rbcc-tile-title {
    font-size: 32px;
}

.rbcc-tile-2 {
    grid-column: span 2;
    grid-row: span 1;
}

.rbcc-tile-3, .rbcc-tile-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.rbcc-tile-5 {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 1024px) {
    .rbcc-news-tiles-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .rbcc-tile-1 {
        grid-column: span 2;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .rbcc-news-tiles-wrapper {
        grid-template-columns: 1fr;
    }
    .rbcc-tile {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 300px;
    }
    .rbcc-tile-1 .rbcc-tile-title {
        font-size: 24px;
    }
}

/* ── RBCC Logo ── */
.rbcc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rbcc-logo-image {
    display: inline-block;
}

.rbcc-logo-image img {
    max-width: 100%;
    height: auto;
}

.rbcc-logo-text {
    display: flex;
    flex-direction: column;
}

.rbcc-logo-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--rbcc-dark);
}

.rbcc-logo-description {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.rbcc-logo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── RBCC Back to Top ── */
.rbcc-stt-wrapper {
    display: flex;
}

.rbcc-stt-btn-align-fixed .rbcc-stt-wrapper {
    position: fixed;
    z-index: 9999;
}

.rbcc-stt-btn-align-fixed-right .rbcc-stt-wrapper {
    right: 30px;
}

.rbcc-stt-btn-align-fixed-left .rbcc-stt-wrapper {
    left: 30px;
}

.rbcc-stt-btn-align-fixed .rbcc-stt-wrapper {
    bottom: 30px;
}

.rbcc-stt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--rbcc-transition);
    cursor: pointer;
}

.rbcc-stt-icon-before {
    margin-right: 5px;
}

.rbcc-stt-icon-after {
    margin-left: 5px;
}

/* ── RBCC Phone Call ── */
.rbcc-pc-wrapper {
    display: flex;
}

.rbcc-pc-btn-align-fixed .rbcc-pc-wrapper {
    position: fixed;
    z-index: 9999;
}

.rbcc-pc-btn-align-fixed-right .rbcc-pc-wrapper {
    right: 30px;
}

.rbcc-pc-btn-align-fixed-left .rbcc-pc-wrapper {
    left: 30px;
}

.rbcc-pc-btn-align-fixed .rbcc-pc-wrapper {
    bottom: 120px;
}

.rbcc-pc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--rbcc-transition);
}

.rbcc-pc-icon-before {
    margin-right: 5px;
}

.rbcc-pc-icon-after {
    margin-left: 5px;
}

/* ── RBCC Taxonomy List ── */
.rbcc-taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rbcc-taxonomy-horizontal {
    flex-direction: row;
}

.rbcc-taxonomy-item {
    display: inline-block;
}

.rbcc-taxonomy-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--rbcc-transition);
}

.rbcc-taxonomy-name {
    display: inline;
}


/* ── RBCC Particles ── */
.rbcc-has-particles {
    position: relative;
}

.rbcc-particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rbcc-has-particles > .elementor-container,
.rbcc-has-particles > .elementor-section {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   RBCC Listing Grid, Carousel & Cards (Suppliers / Providers)
   ========================================================================== */
.rbcc-listing-grid {
    width: 100%;
    font-family: 'Onest', sans-serif;
}

.rbcc-listing-grid.rbcc-grid-cols-1 .rbcc-grid-inner { grid-template-columns: 1fr; }
.rbcc-listing-grid.rbcc-grid-cols-2 .rbcc-grid-inner { grid-template-columns: repeat(2, 1fr); }
.rbcc-listing-grid.rbcc-grid-cols-3 .rbcc-grid-inner { grid-template-columns: repeat(3, 1fr); }
.rbcc-listing-grid.rbcc-grid-cols-4 .rbcc-grid-inner { grid-template-columns: repeat(4, 1fr); }

.rbcc-grid-inner {
    display: grid;
    gap: 24px;
    margin: 20px 0;
}

.rbcc-listing-carousel {
    position: relative;
    padding-bottom: 50px !important;
    overflow: hidden !important; /* Corrigido para evitar que cards vazem à direita do container */
}

.rbcc-listing-item {
    height: auto;
    display: flex;
}

.rbcc-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(51, 28, 150, 0.08) 0px 4px 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(51, 28, 150, 0.05);
    position: relative;
    width: 100%;
}

.rbcc-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(51, 28, 150, 0.16) 0px 12px 30px;
}

.rbcc-card__thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f2f5;
}

.rbcc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.rbcc-card:hover .rbcc-card__thumb img {
    transform: scale(1.06);
}

.rbcc-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rbcc-card__title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0a1c3e !important;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.rbcc-card:hover .rbcc-card__title {
    color: #073c82 !important;
}

.rbcc-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5c6b88 !important;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Premium dynamic action buttons */
.rbcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
}

.rbcc-btn-primary {
    background: #073c82 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(7, 60, 130, 0.2);
}

.rbcc-btn-primary:hover {
    background: #dbac0e !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(219, 172, 14, 0.3);
}

/* Carousel navigation overrides for dynamic Elementor swiper integration */
.rbcc-listing-carousel .swiper-button-next,
.rbcc-listing-carousel .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #073c82 !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    margin-top: -40px; /* Center align in container offset */
    z-index: 10;
}

.rbcc-listing-carousel .swiper-button-next:hover,
.rbcc-listing-carousel .swiper-button-prev:hover {
    background: #073c82;
    color: #ffffff !important;
    transform: scale(1.1);
}

.rbcc-listing-carousel .swiper-button-next:after,
.rbcc-listing-carousel .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.rbcc-listing-carousel .swiper-pagination-bullet-active {
    background: #073c82 !important;
}

/* Responsive Grid Stacking */
@media (max-width: 1024px) {
    .rbcc-listing-grid.rbcc-grid-cols-3 .rbcc-grid-inner,
    .rbcc-listing-grid.rbcc-grid-cols-4 .rbcc-grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rbcc-listing-grid .rbcc-grid-inner {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .rbcc-card__body {
        padding: 20px;
    }
}

/* ==========================================
   RBCC NEWS TILES WIDGET STYLES
   ========================================== */
.rbcc-news-tiles-wrapper {
    display: grid;
    width: 100%;
    box-sizing: border-box;
}

.rbcc-layout-grid {
    grid-template-columns: repeat(3, 1fr);
}

.rbcc-layout-mosaic {
    grid-template-columns: repeat(3, 1fr);
}

.rbcc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    overflow: hidden;
    text-decoration: none !important;
    box-sizing: border-box;
    border-radius: 12px;
    min-height: 250px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rbcc-tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.rbcc-tile:hover .rbcc-tile-bg {
    transform: scale(1.05);
}

.rbcc-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.rbcc-tile:hover .rbcc-tile-overlay {
    opacity: 1;
}

.rbcc-tile-content {
    position: relative;
    z-index: 3;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ffffff;
}

.rbcc-tile-category {
    display: inline-block;
    align-self: flex-start;
    background-color: #073c82;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.rbcc-tile-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.rbcc-tile-featured .rbcc-tile-title {
    font-size: 24px;
}

.rbcc-tile-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 4px 0 0 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.rbcc-tile-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    font-weight: 500;
}

.rbcc-layout-mosaic .rbcc-tile-featured {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 767px) {
    .rbcc-news-tiles-wrapper {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .rbcc-tile,
    .rbcc-layout-mosaic .rbcc-tile-featured {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 220px !important;
    }
    .rbcc-tile-featured .rbcc-tile-title {
        font-size: 20px;
    }
}

/* ==========================================
   RBCC LISTING GRID WIDGET STYLES
   ========================================== */
.rbcc-listing-grid {
    display: grid;
    width: 100%;
    box-sizing: border-box;
}

.rbcc-listing-carousel {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.rbcc-listing-item {
    height: 100%;
    box-sizing: border-box;
}

/* CORE CARD BASE */
.rbcc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    box-sizing: border-box;
}

.rbcc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    border-color: rgba(7, 60, 130, 0.15);
}

/* THUMBNAILS */
.rbcc-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 66%; /* 3:2 aspect ratio */
    overflow: hidden;
    background-color: #f8fafc;
}

.rbcc-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rbcc-card:hover .rbcc-card__thumb img {
    transform: scale(1.05);
}

/* CARD BODY */
.rbcc-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rbcc-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px 0;
    font-family: inherit;
}

.rbcc-card__title a {
    color: #0f172a;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.rbcc-card__title a:hover {
    color: #073c82;
}

.rbcc-card__excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* BUTTONS */
.rbcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.rbcc-btn-primary {
    background-color: #073c82;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(7, 60, 130, 0.2);
}

.rbcc-btn-primary:hover {
    background-color: #052857;
    box-shadow: 0 4px 12px rgba(7, 60, 130, 0.3);
    transform: translateY(-1px);
}

/* -------------------------------
   VARIANT: MINIMAL
   ------------------------------- */
.rbcc-card--minimal {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.rbcc-card--minimal:hover {
    transform: none;
    box-shadow: none;
}

.rbcc-card--minimal .rbcc-card__thumb {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.rbcc-card--minimal .rbcc-card__body {
    padding: 16px 0 0 0;
}

/* -------------------------------
   VARIANT: OVERLAY
   ------------------------------- */
.rbcc-card--overlay {
    position: relative;
    min-height: 320px;
    color: #ffffff;
    border: none;
}

.rbcc-card--overlay .rbcc-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rbcc-card--overlay:hover .rbcc-card__bg {
    transform: scale(1.06);
}

.rbcc-card--overlay .rbcc-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.rbcc-card--overlay .rbcc-card__body {
    position: relative;
    z-index: 3;
    justify-content: flex-end;
    padding: 28px;
}

.rbcc-card--overlay .rbcc-card__title a {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.rbcc-card--overlay .rbcc-card__excerpt {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* -------------------------------
   VARIANT: HORIZONTAL (PREMIUM FIX)
   ------------------------------- */
.rbcc-card--horizontal {
    flex-direction: row !important;
    align-items: stretch;
    min-height: 220px;
    border: 1.5px solid #93c5fd; /* Light blue border from reference */
    background: #ffffff;
}

.rbcc-card--horizontal .rbcc-card__col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    box-sizing: border-box;
    justify-content: space-between;
}

.rbcc-card--horizontal .rbcc-card__col-right {
    width: 180px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f8fafc;
    border-left: 1px solid rgba(147, 197, 253, 0.3);
}

/* Title styles on horizontal */
.rbcc-card--horizontal .rbcc-card__title {
    font-size: 20px;
    margin-bottom: 6px;
}
.rbcc-card--horizontal .rbcc-card__title a {
    color: #0369a1; /* Bright ocean blue from target screenshot */
    font-weight: 800;
}

/* Excerpt with Label Wrapper */
.rbcc-card__excerpt-wrapper {
    margin-bottom: 15px;
}

.rbcc-card__excerpt-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.rbcc-card--horizontal .rbcc-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

/* Meta line stacks at bottom with icons */
.rbcc-card__meta-line {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
}

.rbcc-card__meta-location,
.rbcc-card__meta-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #1e3a8a; /* dark blue */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rbcc-card__meta-location i,
.rbcc-card__meta-cat i {
    font-size: 13px;
    color: #0284c7; /* Icon blue */
    width: 14px;
    text-align: center;
}

/* Horizontal Logo Container */
.rbcc-card__horizontal-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(147, 197, 253, 0.2);
    margin-bottom: 12px;
    box-sizing: border-box;
}

.rbcc-card__horizontal-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.rbcc-card--horizontal:hover .rbcc-card__horizontal-thumb img {
    transform: scale(1.04);
}

.rbcc-btn--full {
    width: 100%;
    white-space: normal; /* wrap if needed */
    text-align: center;
    border-radius: 12px; /* More pill-like for horizontal */
}

/* RESPONSIVE STACKING FOR HORIZONTAL CARDS */
@media (max-width: 767px) {
    .rbcc-card--horizontal {
        flex-direction: column !important;
        min-height: auto;
    }
    .rbcc-card--horizontal .rbcc-card__col-right {
        width: 100%;
        min-width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-left: none;
        border-top: 1px solid rgba(147, 197, 253, 0.3);
        gap: 15px;
        padding: 15px 25px;
    }
    .rbcc-card__horizontal-thumb {
        width: 80px;
        height: 65px;
        margin-bottom: 0;
    }
    .rbcc-card--horizontal .rbcc-btn {
        flex: 1;
    }
}

/* ==========================================================================
   REGRAS DE EXIBIÇÃO DE LOGOS (CPTs DE ENTIDADES)
   ========================================================================== */
/* Garante que logotipos corporativos/entidades não sejam cortados (object-fit: contain) */
/* Também aplica para o tipo nativo 'post' que substituiu os CPTs antigos, e garante no carrossel */
.rbcc-card--type-negocio .rbcc-card__thumb img,
.rbcc-card--type-agente .rbcc-card__thumb img,
.rbcc-card--type-hub .rbcc-card__thumb img,
.rbcc-card--type-insumo .rbcc-card__thumb img,
.rbcc-card--type-produto .rbcc-card__thumb img,
.rbcc-card--type-negocio .rbcc-card__horizontal-thumb img,
.rbcc-card--type-agente .rbcc-card__horizontal-thumb img,
.rbcc-card--type-hub .rbcc-card__horizontal-thumb img,
.rbcc-card--type-insumo .rbcc-card__horizontal-thumb img,
.rbcc-card--type-produto .rbcc-card__horizontal-thumb img,
.rbcc-listing-carousel .rbcc-card__thumb img,
.rbcc-listing-carousel .rbcc-card__horizontal-thumb img,
.rbcc-card--type-post.rbcc-card--agente .rbcc-card__thumb img,
.rbcc-card--type-post.rbcc-card--negocio .rbcc-card__thumb img,
.rbcc-card--type-post .rbcc-card__thumb img {
    object-fit: contain !important;
    padding: 12px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
}

/* Ajuste de altura para evitar distorções nas thumbnails horizontais com contain */
.rbcc-card__horizontal-thumb img {
    max-height: 100% !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
}

/* ==========================================================================
   AJUSTES FINAIS DE CARROSSEL (GARANTIA DE CORTE DIREITO)
   ========================================================================== */
/* Força o overflow hidden em todas as instâncias do container Swiper da Listagem */
.rbcc-listing-carousel,
.elementor-widget-rbcc-listing-grid .swiper,
.elementor-widget-rbcc-listing-grid .swiper-container {
    overflow: hidden !important;
}

/* Garante que o wrapper pai do Elementor não anule o overflow hidden */
.elementor-widget-rbcc-listing-grid .elementor-widget-container {
    overflow: visible !important; /* Permite sombras de hover saírem ligeiramente se necessário */
}


