/* Card Container Layout */
.rjb-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Individual Card Styling */
.rjb-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rjb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}

/* Header & Avatar */
.rjb-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.rjb-avatar {
    width: 52px;
    height: 52px;
    background-color: #e60049;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.rjb-title-wrapper {
    overflow: hidden;
}

.rjb-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.rjb-card-title a {
    color: #004182; /* LinkedIn Dark Blue */
    text-decoration: none;
}

.rjb-company-name {
    margin: 4px 0 0 0;
    color: #66788a;
    font-size: 15px;
    font-weight: 500;
}

/* Skills Pills */
.rjb-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.rjb-skill-pill {
    background-color: #f0f2f5;
    color: #475569;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* Card Divider */
.rjb-card-divider {
    height: 1px;
    background-color: #edf2f7;
    margin-bottom: 16px;
}

/* Action Buttons */
.rjb-card-actions {
    display: flex;
    gap: 12px;
}

.rjb-btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.rjb-btn-apply, .rjb-btn-share {
    color: #004182;
}

.rjb-btn:hover {
    background-color: #f1f5f9;
}

/* Single Job Details Page Styling (Native Width Layout) */
.rjb-full-width-details {
    width: 100%;
    box-sizing: border-box;
}

.rjb-single-company {
    font-size: 18px;
    color: #66788a;
    margin-top: 0;
}

.rjb-single-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.rjb-single-section h2 {
    font-size: 20px;
    margin-top: 0;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    color: #0f172a;
}

.rjb-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
    font-size: 15px;
}

.rjb-summary-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.rjb-jd-content {
    line-height: 1.7;
    color: #334155;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
    .rjb-grid-container {
        grid-template-columns: 1fr;
    }
    
    .rjb-details-grid {
        grid-template-columns: 1fr;
    }
}