/* Crispy Jobs — Frontend Job Board */

/* Hide WordPress page title */
.entry-title, .page-title, h1.page-header, .page-header,
h1.entry-title, .wp-block-post-title, article header h1,
.site-content h1.page-title, header.entry-header,
.entry-header { display: none !important; }

/* Hero */
.cj-board-hero { background: linear-gradient(rgba(10, 25, 50, 0.30), rgba(15, 37, 72, 0.30)), url('https://crispycleans.ca/wp-content/uploads/2023/03/Crispy-Cleans_Asset-86.jpg') center center / cover no-repeat, linear-gradient(135deg, #1a3c6e, #29aae1); min-height: 200px; padding: 48px 32px; text-align: center; margin-bottom: 40px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cj-board-hero h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: #fff; margin: 0 0 10px; font-family: 'DM Sans', -apple-system, sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.cj-board-hero p { font-size: 15px; color: rgba(255,255,255,0.90); margin: 0; font-family: 'DM Sans', -apple-system, sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }

.cj-board { font-family: 'DM Sans', -apple-system, sans-serif; max-width: 800px; margin: 0 auto; }
.cj-no-jobs { color: #666; font-style: italic; }

.cj-group { margin-bottom: 40px; }
.cj-group-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #e8f4fb; }
.cj-group-icon { font-size: 20px; }
.cj-group-title { font-size: 18px; font-weight: 700; color: #1a3c6e; margin: 0; }
.cj-group-count { font-size: 12px; font-weight: 600; background: #e8f4fb; color: #1a3c6e; padding: 3px 10px; border-radius: 20px; margin-left: auto; }

.cj-listings { display: flex; flex-direction: column; gap: 14px; }

.cj-card-job { background: #fff; border: 1.5px solid #d0e4f0; border-radius: 12px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; transition: border-color 0.2s, box-shadow 0.2s; }
.cj-card-job:hover { border-color: #29aae1; box-shadow: 0 4px 20px rgba(41,170,225,0.1); }

.cj-card-left { display: flex; gap: 14px; flex: 1; min-width: 0; }
.cj-card-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.cj-card-body { flex: 1; min-width: 0; }

.cj-card-title { font-size: 16px; font-weight: 700; color: #1a3c6e; margin: 0 0 6px; }
.cj-card-meta { font-size: 12px; color: #5a6a7a; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cj-meta-pin { font-size: 12px; }
.cj-meta-dot { color: #c0c8d0; }
.cj-card-desc { font-size: 13px; color: #5a6a7a; line-height: 1.6; margin: 0 0 12px; overflow: hidden; word-break: break-word; }

/* All tags bright blue */
.cj-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cj-tag, .cj-tag-blue, .cj-tag-green, .cj-tag-amber { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: #29aae1 !important; color: #ffffff !important; border: 1px solid #29aae1 !important; }

.cj-card-right { flex-shrink: 0; padding-top: 4px; }
.cj-apply-btn { display: inline-flex; align-items: center; gap: 6px; background: #1a3c6e; color: #ffffff !important; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 50px; text-decoration: none !important; transition: background 0.2s; white-space: nowrap; }
.cj-apply-btn:hover { background: #29aae1; color: #ffffff !important; }

@media (max-width: 600px) {
    .cj-card-job { flex-direction: column; }
    .cj-card-right { width: 100%; }
    .cj-apply-btn { width: 100%; justify-content: center; }
}
