/* Container */
.rca-wrapper {
    font-family: 'Inter', sans-serif;
    width: 100%;
    margin: 30px 0;
}

/* Grid Layout */
.rca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 25px; 
}

/* Card Styling */
.rca-card {
    display: flex;
    background: #ffffff;
    border: 2px solid #ce2029; /* Brand Red */
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 120px;
}

.rca-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px -3px rgba(206, 32, 41, 0.2);
}

/* Left Column (Icon) */
.rca-icon-col {
    background-color: #ce2029;
    width: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rca-icon-svg {
    width: 50px;
    height: 50px;
}

/* Right Column (Text) */
.rca-text-col {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.rca-label {
    color: #ce2029;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.rca-title {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 10px;
    
    /* Keep boxes uniform */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rca-meta {
    color: #4a4a4a;
    font-size: 13px;
    line-height: 1.5;
}

.rca-meta strong {
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
}

/* Footer / Button */
.rca-footer {
    display: flex;
    justify-content: flex-end; /* Right Aligned */
    width: 100%;
}

.rca-btn {
    background-color: #ce2029; /* Matches Icon Color */
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s;
    border: none;
}

.rca-btn:hover {
    background-color: #a8171d;
    transform: translateY(-2px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .rca-grid {
        grid-template-columns: 1fr;
    }
    .rca-footer {
        justify-content: center;
    }
}
/* --- Loading Animation --- */
.rca-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
    grid-column: 1 / -1; /* Forces the loader to span across all grid columns */
}

.rca-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3; /* Light grey background ring */
    border-top: 4px solid #ce2029; /* Brand Red spinning ring */
    border-radius: 50%;
    animation: rca-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes rca-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rca-loading-text {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
}