/* Job Market Data Page CSS v4.7 */
/* v4.7 - City comparison boxes */
/* v4.6 - Location column in employers table */
/* v4.5 - Social share buttons */
/* v4.3 - Added author byline styles */
/* v4.2 - AEO optimization (hero facts layout) */
/* v4.0 - Redesigned with alternating layouts */

/* Fonts */
@font-face { font-family: 'AvertaPE'; src: url('/asset/fonts/AvertaPE-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AvertaPE'; src: url('/asset/fonts/AvertaPE-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'AvertaPE'; src: url('/asset/fonts/AvertaPE-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* Base */
.jm-page { background: #f8f9fa; font-family: 'AvertaPE', sans-serif; }
.jm-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.highlight { color: #02c153; }

/* Breadcrumb */
.jm-breadcrumb { background: #eef1f4; padding: 14px 0; border-bottom: 1px solid #e2e8f0; font-size: 14px; color: #718096; }
.jm-breadcrumb a { color: #1f295e; text-decoration: none; }
.jm-breadcrumb a:hover { text-decoration: underline; }
.jm-breadcrumb span { margin: 0 8px; color: #a0aec0; }

/* ==========================================
   HERO
   ========================================== */
.jm-hero { background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); padding: 50px 0 60px; border-bottom: 1px solid #e2e8f0; }
.jm-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.jm-date-badge { display: inline-flex; align-items: center; gap: 8px; background: #e0f2fe; color: #0369a1; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 30px; margin-bottom: 16px; }
.jm-hero h1 { font-size: 48px; font-weight: 700; color: #1f295e; line-height: 1.1; margin-bottom: 20px; }
.jm-hero-text { font-size: 18px; color: #4a5568; line-height: 1.7; margin-bottom: 28px; }
.jm-hero-text strong { font-weight: 600; color: #1f295e; }

/* Hero Lead + Facts */
.jm-hero-lead { font-size: 18px; color: #4a5568; line-height: 1.7; margin-bottom: 20px; }
.jm-hero-lead strong { font-weight: 700; color: #1f295e; }

.jm-hero-facts { list-style: none; padding: 0; margin: 0 0 28px 0; display: flex; flex-direction: column; gap: 12px; }
.jm-hero-facts li { display: flex; align-items: center; gap: 12px; }
.jm-fact-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 5px 10px; border-radius: 4px; min-width: 90px; text-align: center; }
.jm-fact-badge.hard { background: #fee2e2; color: #b91c1c; }
.jm-fact-badge.easy { background: #d1fae5; color: #047857; }
.jm-fact-badge.top { background: #dbeafe; color: #1d4ed8; }
.jm-fact-text { font-size: 16px; color: #4a5568; }
.jm-fact-text strong { font-weight: 600; color: #1f295e; }

.jm-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Social Share */
.jm-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.jm-share-label { font-size: 14px; color: #718096; font-weight: 500; }
.jm-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f5f9; color: #64748b; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.jm-share-btn:hover { transform: translateY(-2px); }
.jm-share-linkedin:hover { background: #0077b5; color: #fff; }
.jm-share-twitter:hover { background: #000; color: #fff; }
.jm-share-facebook:hover { background: #1877f2; color: #fff; }
.jm-share-copy:hover { background: #02c153; color: #fff; }
.jm-share-copy.copied { background: #02c153; color: #fff; }

/* Stats Panel */
.jm-stats-panel { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; }
.jm-stats-header { background: #1f295e; color: #fff; padding: 16px 24px; font-weight: 600; text-align: center; }
.jm-stat-big { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%); }
.jm-stat-num { font-size: 64px; font-weight: 700; color: #02c153; line-height: 1; }
.jm-stat-label { font-size: 16px; color: #4a5568; line-height: 1.4; }
.jm-stat-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e2e8f0; }
.jm-stat-sm { padding: 20px; text-align: center; border-right: 1px solid #e2e8f0; }
.jm-stat-sm:last-child { border-right: none; }
.jm-stat-sm span { display: block; font-size: 28px; font-weight: 700; color: #1f295e; }
.jm-stat-sm label { font-size: 13px; color: #718096; }
.jm-stat-calc { padding: 16px 24px; background: #fef2f2; border-top: 1px solid #fecaca; }
.jm-calc-row { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: #4a5568; margin-bottom: 4px; }
.jm-calc-result { text-align: center; font-weight: 700; color: #dc2626; }

/* ==========================================
   SECTIONS
   ========================================== */
.jm-section { padding: 70px 0; }
.jm-section-alt { background: #fff; }

/* Section Header - Centered */
.jm-section-header { text-align: center; max-width: 800px; margin: 0 auto 48px; }
.jm-section-header h2 { font-size: 36px; font-weight: 700; color: #1f295e; margin-bottom: 12px; line-height: 1.2; }
.jm-section-sub { font-size: 18px; color: #718096; }

/* ==========================================
   SPLIT LAYOUT (Alternating)
   ========================================== */
.jm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Content on LEFT, Chart on RIGHT */
.jm-split-content-left .jm-split-content { order: 1; }
.jm-split-content-left .jm-split-chart { order: 2; }

/* Chart on LEFT, Content on RIGHT */
.jm-split-content-right .jm-split-chart { order: 1; }
.jm-split-content-right .jm-split-content { order: 2; }

/* Split Content Styling */
.jm-split-content h3 { font-size: 24px; font-weight: 700; color: #1f295e; margin-bottom: 16px; }
.jm-split-content p { font-size: 17px; color: #4a5568; line-height: 1.8; margin-bottom: 24px; }
.jm-split-content p strong { font-weight: 600; color: #1f295e; }

/* Bullet List */
.jm-bullet-list { list-style: none; padding: 0; margin: 0 0 24px 0; }
.jm-bullet-list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 16px; color: #4a5568; line-height: 1.6; }
.jm-bullet-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: #02c153; border-radius: 50%; }
.jm-bullet-list li strong { font-weight: 600; color: #1f295e; }

/* Soft CTA Link */
.jm-soft-cta { display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; color: #02c153; text-decoration: none; transition: color 0.2s; }
.jm-soft-cta:hover { color: #01a347; text-decoration: underline; }

/* Legend */
.jm-legend { margin-bottom: 24px; }
.jm-legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; color: #4a5568; }
.jm-legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.jm-legend-dot.high { background: #ef4444; }
.jm-legend-dot.med { background: #f59e0b; }
.jm-legend-dot.low { background: #22c55e; }

/* Insight Box */
.jm-insight-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 20px; font-size: 15px; color: #166534; line-height: 1.6; }
.jm-insight-box strong { font-weight: 600; }

/* Tags */
.tag-high { background: #fee2e2; color: #b91c1c; padding: 2px 8px; border-radius: 4px; font-size: 14px; font-weight: 600; }
.tag-med { background: #fef3c7; color: #b45309; padding: 2px 8px; border-radius: 4px; font-size: 14px; font-weight: 600; }
.tag-low { background: #d1fae5; color: #047857; padding: 2px 8px; border-radius: 4px; font-size: 14px; font-weight: 600; }

/* ==========================================
   CHART PANELS (Most/Least Competitive)
   ========================================== */
.jm-chart-panel { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; border: 1px solid #e2e8f0; }
.jm-chart-high { border-top: 4px solid #ef4444; }
.jm-chart-low { border-top: 4px solid #22c55e; }

.jm-chart-header { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #e2e8f0; }
.jm-chart-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; flex-shrink: 0; }
.jm-chart-icon.high { background: #fef2f2; color: #ef4444; }
.jm-chart-icon.low { background: #f0fdf4; color: #22c55e; }
.jm-chart-header h4 { font-size: 18px; font-weight: 700; color: #1f295e; margin-bottom: 2px; }
.jm-chart-header p { font-size: 14px; color: #718096; margin: 0; }

.jm-chart-body { padding: 8px 0; }

.jm-chart-item { padding: 14px 24px; }
.jm-chart-item:hover { background: #fafffe; }
.jm-chart-item-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.jm-chart-item-title { font-weight: 600; color: #1f295e; font-size: 15px; }
.jm-chart-item-meta { font-size: 13px; color: #718096; }

.jm-chart-item-bar { display: flex; align-items: center; gap: 12px; }
.jm-bar-track { flex: 1; height: 28px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.jm-bar-fill { height: 100%; border-radius: 6px; transition: width 0.5s ease; }
.jm-bar-fill.high { background: linear-gradient(90deg, #ef4444 0%, #f87171 100%); }
.jm-bar-fill.low { background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%); }
.jm-bar-value { font-size: 14px; font-weight: 700; color: #1f295e; min-width: 32px; text-align: right; }

/* ==========================================
   DATA PANELS (All Titles, Employers)
   ========================================== */
.jm-data-panel { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; border: 1px solid #e2e8f0; }
.jm-panel-head { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 14px 20px; background: #f8fafc; border-bottom: 2px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; }
.jm-panel-head-3col { grid-template-columns: 1fr 80px 100px; }
.jm-panel-body { max-height: 620px; overflow-y: auto; }

.jm-row { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; align-items: center; }
.jm-row:hover { background: #fafffe; }
.jm-row.jm-hidden { display: none; }
.jm-row-main { display: flex; flex-direction: column; gap: 2px; }
.jm-row-title { font-weight: 600; color: #1f295e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-row-jobs { font-size: 13px; color: #718096; }
.jm-row-bar { display: flex; align-items: center; gap: 10px; }
.jm-bar { height: 8px; border-radius: 4px; min-width: 10px; }
.jm-bar.high { background: #ef4444; }
.jm-bar.med { background: #f59e0b; }
.jm-bar.low { background: #22c55e; }
.jm-row-num { font-size: 14px; font-weight: 700; padding: 4px 10px; border-radius: 6px; min-width: 50px; text-align: center; }
.jm-row-num.high { background: #fee2e2; color: #b91c1c; }
.jm-row-num.med { background: #fef3c7; color: #b45309; }
.jm-row-num.low { background: #d1fae5; color: #047857; }

/* 3-column rows */
.jm-row-3 { display: grid; grid-template-columns: 1fr 80px 100px; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; align-items: center; }
.jm-row-3:hover { background: #fafffe; }
.jm-row-3.jm-hidden { display: none; }
.jm-row-3 .jm-row-jobs { text-align: center; }

/* 4-column rows (with location) */
.jm-panel-head-4col { grid-template-columns: 1fr 120px 70px 90px; }
.jm-row-4 { display: grid; grid-template-columns: 1fr 120px 70px 90px; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; align-items: center; }
.jm-row-4:hover { background: #fafffe; }
.jm-row-4.jm-hidden { display: none; }
.jm-row-4 .jm-row-jobs { text-align: center; }
.jm-row-location { font-size: 13px; color: #64748b; }

/* Badges */
.jm-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 6px; text-align: center; }
.jm-badge.sm { font-size: 12px; padding: 3px 8px; }
.jm-badge.high { background: #fee2e2; color: #b91c1c; }
.jm-badge.med { background: #fef3c7; color: #b45309; }
.jm-badge.low { background: #d1fae5; color: #047857; }

/* Toggle Button */
.jm-toggle-btn { width: 100%; padding: 14px 20px; background: #f8fafc; border: none; border-top: 1px solid #e2e8f0; font-family: inherit; font-size: 14px; font-weight: 600; color: #02c153; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s; }
.jm-toggle-btn:hover { background: #f0fdf4; }
.jm-toggle-btn svg { transition: transform 0.2s; }
.jm-toggle-btn.expanded svg { transform: rotate(180deg); }

/* ==========================================
   INDUSTRY PILLS & PANELS
   ========================================== */
.jm-industry-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.jm-pill { background: #fff; border: 1px solid #d1d5db; border-radius: 4px; padding: 8px 14px; font-family: inherit; font-size: 13px; font-weight: 600; color: #1f295e; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.jm-pill:hover { border-color: #02c153; color: #02c153; background: #f0fdf4; }
.jm-pill.active { background: #1f295e; border-color: #1f295e; color: #fff; }

/* Inline Citation */
.jm-inline-citation { text-align: center; font-size: 14px; color: #718096; margin-bottom: 40px; }
.jm-inline-citation a { color: #02c153; text-decoration: none; font-weight: 600; }
.jm-inline-citation a:hover { text-decoration: underline; }

.jm-industry-panels { position: relative; }
.jm-industry-panel { display: none; }
.jm-industry-panel.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Industry Panel Headline */
.jm-industry-headline { text-align: center; margin-bottom: 40px; }
.jm-industry-headline h2 { font-size: 28px; font-weight: 700; color: #1f295e; margin-bottom: 10px; line-height: 1.3; }
.jm-industry-sub { font-size: 17px; color: #718096; }

/* Industry Table Card */
.jm-industry-table { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; overflow: hidden; }
.jm-ind-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.jm-ind-badge { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
.jm-ind-badge.high { background: #fee2e2; color: #b91c1c; }
.jm-ind-badge.med { background: #fef3c7; color: #b45309; }
.jm-ind-badge.low { background: #d1fae5; color: #047857; }
.jm-ind-total { font-size: 14px; font-weight: 600; color: #1f295e; }

.jm-ind-table-head { display: grid; grid-template-columns: 1fr 120px 70px 100px; gap: 12px; padding: 12px 20px; background: #eef1f4; font-size: 12px; font-weight: 600; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; }
.jm-ind-table-body { }
.jm-ind-row { display: grid; grid-template-columns: 1fr 120px 70px 100px; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; align-items: center; }
.jm-ind-row:last-child { border-bottom: none; }
.jm-ind-row:hover { background: #fafffe; }
.jm-ind-company { font-weight: 600; color: #1f295e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-ind-location { font-size: 13px; color: #718096; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-ind-jobs { font-size: 14px; color: #4a5568; text-align: center; }

/* ==========================================
   DATA & METHODOLOGY
   ========================================== */
.jm-methodology { padding: 60px 0; background: #f8f9fa; }
.jm-methodology-box { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; padding: 40px; max-width: 900px; margin: 0 auto; }
.jm-methodology-content h2 { font-size: 24px; font-weight: 700; color: #1f295e; margin-bottom: 16px; }
.jm-methodology-content p { font-size: 16px; color: #4a5568; line-height: 1.7; margin-bottom: 16px; }
.jm-methodology-content p:last-of-type { margin-bottom: 24px; }
.jm-methodology-content a { color: #02c153; text-decoration: none; font-weight: 600; }
.jm-methodology-content a:hover { text-decoration: underline; }
.jm-methodology-content strong { font-weight: 600; color: #1f295e; }
.jm-methodology-meta { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; font-size: 14px; color: #718096; }
.jm-methodology-meta span { display: flex; gap: 6px; }
.jm-methodology-meta strong { color: #4a5568; }

/* Author Byline */
.jm-author-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%); border: 1px solid #bbf7d0; border-radius: 10px; margin-bottom: 20px; }
.jm-author-label { font-size: 13px; color: #166534; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.jm-author-name { font-size: 16px; font-weight: 700; color: #1f295e; }
.jm-author-credentials { font-size: 14px; color: #4a5568; padding-left: 16px; border-left: 2px solid #22c55e; }

/* ==========================================
   FUNCTION CHART
   ========================================== */
.jm-func-chart { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; padding: 24px; }
.jm-func-row { margin-bottom: 20px; }
.jm-func-row:last-child { margin-bottom: 0; }
.jm-func-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.jm-func-name { font-weight: 600; color: #1f295e; font-size: 15px; }
.jm-func-bar-wrap { position: relative; height: 32px; background: #f1f5f9; border-radius: 8px; overflow: hidden; }
.jm-func-bar { height: 100%; border-radius: 8px; transition: width 0.5s ease; }
.jm-func-bar.high { background: linear-gradient(90deg, #ef4444 0%, #f87171 100%); }
.jm-func-bar.med { background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%); }
.jm-func-bar.low { background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%); }
.jm-func-val { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: #1f295e; }

/* ==========================================
   CTA
   ========================================== */
.jm-cta { background: linear-gradient(135deg, #1f295e 0%, #2d3a6e 100%); padding: 80px 24px; text-align: center; }
.jm-cta-badge { display: inline-block; background: #02c153; color: #fff; font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 30px; margin-bottom: 24px; text-transform: uppercase; }
.jm-cta h2 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.jm-cta p { font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 700px; margin: 0 auto 32px; }
.jm-cta-features { display: flex; justify-content: center; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; font-size: 16px; font-weight: 600; color: #fff; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: #02c153; color: #fff; padding: 16px 36px; border-radius: 8px; font-family: inherit; font-size: 17px; font-weight: 700; text-decoration: none; transition: background 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: #01a347; color: #fff; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #1f295e; padding: 16px 36px; border-radius: 8px; font-family: inherit; font-size: 17px; font-weight: 700; text-decoration: none; border: 2px solid #1f295e; transition: all 0.2s; }
.btn-outline:hover { background: #1f295e; color: #fff; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #1f295e; padding: 18px 40px; border-radius: 8px; font-family: inherit; font-size: 18px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.btn-white:hover { background: #02c153; color: #fff; }

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================
   FAQ SECTION
   ========================================== */
.jm-faq-section { max-width: 900px; margin: 0 auto; padding: 70px 20px; }
.jm-faq-header { text-align: center; margin-bottom: 40px; }
.jm-faq-header h2 { font-family: AvertaPEBold, sans-serif; font-size: 40px; color: #1f295e; line-height: 1.2; }
.jm-faq-item { background: #fff; border-radius: 12px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); overflow: hidden; }
.jm-faq-question { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px; cursor: pointer; font-family: AvertaPESemiBold, sans-serif; font-size: 20px; color: #1f295e; transition: background 0.2s; }
.jm-faq-question:hover { background: #f8fafc; }
.jm-faq-icon { font-size: 28px; color: #02c153; font-weight: bold; transition: transform 0.2s; }
.jm-faq-item.open .jm-faq-icon { transform: rotate(45deg); }
.jm-faq-answer { display: none; padding: 0 28px 26px; }
.jm-faq-item.open .jm-faq-answer { display: block; }
.jm-faq-answer p { font-family: AvertaPE, sans-serif; font-size: 18px; color: #4a5568; line-height: 1.7; margin: 0 0 16px; }
.jm-faq-answer p:last-child { margin-bottom: 0; }
.jm-faq-answer a { color: #02c153; font-weight: 600; text-decoration: none; }

/* ==========================================
   CITY COMPARISON BOXES (v4.7)
   ========================================== */

/* Section Container */
.comparison-section { padding: 70px 0; border-top: 1px solid #e2e8f0; }
.comparison-section h2 { font-size: 36px; font-weight: 700; color: #1f295e; margin-bottom: 12px; text-align: center; }
.comparison-section .section-intro { font-size: 18px; color: #718096; margin-bottom: 48px; text-align: center; }

/* Comparison Grid */
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-bottom: 40px; }

/* Individual Comparison Box */
.comparison-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.comparison-box h3 { font-size: 20px; font-weight: 700; color: #1f295e; margin: 0 0 8px 0; line-height: 1.3; }
.comparison-box .box-subtitle { font-size: 15px; color: #718096; margin: 0 0 20px 0; }

/* Head-to-Head Comparison Table */
.comparison-table { display: flex; flex-direction: column; margin-bottom: 16px; }
.comparison-header, .comparison-row { display: grid; grid-template-columns: 1fr 80px 80px 75px; gap: 8px; padding: 10px 0; align-items: center; }
.comparison-header { border-bottom: 2px solid #e2e8f0; font-weight: 600; font-size: 12px; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; }
.comparison-row { border-bottom: 1px solid #f0f0f0; }
.comparison-row:last-child { border-bottom: none; }

.metric-label { font-size: 14px; color: #1f295e; font-weight: 500; }
.metric-value { font-size: 14px; color: #718096; text-align: center; }
.metric-value.winner { color: #02c153; font-weight: 700; }
.city-name { text-align: center; font-size: 11px; }
.city-name.current { color: #1f295e; font-weight: 600; }
.city-name.rival { color: #718096; }
.winner-label { text-align: center; font-size: 10px; }
.winner-badge { background: #d1fae5; color: #047857; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.comparison-insight { font-size: 15px; color: #4a5568; background: #f8fafc; padding: 16px; border-radius: 10px; margin-bottom: 16px; line-height: 1.6; }
.comparison-insight strong { color: #1f295e; }

.compare-link { display: inline-block; color: #02c153; font-size: 15px; font-weight: 600; text-decoration: none; }
.compare-link:hover { text-decoration: underline; }

/* Regional Ranking List */
.ranking-list { list-style: none; padding: 0; margin: 0 0 16px 0; }
.ranking-item { display: grid; grid-template-columns: 40px 1fr 110px 70px; gap: 8px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; align-items: center; }
.ranking-item:last-child { border-bottom: none; }
.ranking-item.current-city { background: #f0fdf4; margin: 0 -16px; padding: 12px 16px; border-radius: 8px; }

.ranking-item .rank { font-weight: 700; font-size: 16px; color: #02c153; }
.ranking-item:nth-child(1) .rank { color: #d97706; }
.ranking-item:nth-child(2) .rank { color: #6b7280; }
.ranking-item:nth-child(3) .rank { color: #b45309; }

.ranking-item .city-info { font-size: 15px; }
.ranking-item .city-info a { color: #1f295e; text-decoration: none; }
.ranking-item .city-info a:hover { color: #02c153; text-decoration: underline; }
.ranking-item .competition-stat { font-size: 14px; color: #718096; }
.ranking-item .competition-stat .applicants { font-weight: 600; color: #1f295e; }
.ranking-item .jobs-available { font-size: 13px; color: #a0aec0; text-align: right; }

.ranking-insight { font-size: 15px; color: #4a5568; line-height: 1.6; }
.ranking-insight strong { color: #1f295e; }

/* Relocation Insight Box */
.relocation-insight h3 { font-size: 22px; }
.relocation-stats { margin-bottom: 16px; }
.relocation-headline { font-size: 18px; font-weight: 700; color: #1f295e; margin-bottom: 16px; }

.relocation-bullets { list-style: none; padding: 0; margin: 0 0 16px 0; }
.relocation-bullets li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
.relocation-bullets li:last-child { border-bottom: none; }

.stat-positive { background: #d1fae5; color: #047857; font-weight: 600; padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.stat-warning { background: #fef3c7; color: #d97706; font-weight: 600; padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.stat-neutral { background: #f1f5f9; color: #64748b; font-weight: 600; padding: 6px 12px; border-radius: 6px; font-size: 14px; }

.explore-link { display: inline-block; background: #02c153; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px; margin-bottom: 16px; }
.explore-link:hover { background: #01a347; }

.relocation-note { font-size: 13px; color: #a0aec0; line-height: 1.5; font-style: italic; }

/* Compare Other Cities Links */
.compare-other-cities { background: #f8fafc; border-radius: 12px; padding: 24px; }
.compare-other-cities h4 { font-size: 16px; font-weight: 600; margin: 0 0 16px 0; color: #1f295e; }
.city-links { display: flex; flex-wrap: wrap; gap: 12px; }
.city-link { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e8f0; padding: 10px 16px; border-radius: 8px; text-decoration: none; color: #1f295e; font-size: 15px; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s; }
.city-link:hover { border-color: #02c153; box-shadow: 0 2px 8px rgba(2, 193, 83, 0.15); }
.competition-badge { background: #f1f5f9; color: #64748b; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .jm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .jm-hero-content { text-align: center; }
    .jm-hero-facts { align-items: center; }
    .jm-hero-facts li { justify-content: center; }
    .jm-hero-btns { justify-content: center; }
    .jm-share { justify-content: center; }
    .jm-stats-panel { max-width: 400px; margin: 0 auto; }
    
    .jm-split { grid-template-columns: 1fr; gap: 40px; }
    .jm-split-content-left .jm-split-content,
    .jm-split-content-right .jm-split-content { order: 1; }
    .jm-split-content-left .jm-split-chart,
    .jm-split-content-right .jm-split-chart { order: 2; }
    
    .jm-split-content { text-align: center; }
    .jm-bullet-list { text-align: left; max-width: 500px; margin-left: auto; margin-right: auto; }
    .jm-legend { max-width: 300px; margin-left: auto; margin-right: auto; margin-bottom: 24px; }
    .jm-insight-box { text-align: left; }
    
    .jm-industry-pills { gap: 6px; }
    .jm-pill { padding: 7px 12px; font-size: 12px; }
    
    .comparison-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .jm-breadcrumb { display: none; }
    .jm-hero { padding: 30px 0 40px; }
    .jm-hero h1 { font-size: 32px; }
    .jm-hero-lead { font-size: 16px; }
    .jm-hero-facts { gap: 10px; }
    .jm-hero-facts li { flex-wrap: wrap; gap: 8px; }
    .jm-fact-badge { min-width: 80px; font-size: 10px; padding: 4px 8px; }
    .jm-fact-text { font-size: 15px; }
    .jm-hero-btns { flex-direction: column; }
    .jm-hero-btns a { width: 100%; }
    .jm-stat-num { font-size: 48px; }
    
    .jm-section { padding: 50px 0; }
    .jm-section-header h2 { font-size: 28px; }
    .jm-section-sub { font-size: 16px; }
    .jm-split-content h3 { font-size: 22px; }
    
    .jm-chart-header { flex-direction: column; text-align: center; gap: 12px; }
    .jm-chart-item-info { flex-direction: column; align-items: flex-start; gap: 4px; }
    
    .jm-panel-head { grid-template-columns: 1fr 100px; }
    .jm-panel-head-3col { grid-template-columns: 1fr 60px; }
    .jm-panel-head-3col span:nth-child(2) { display: none; }
    .jm-panel-head-4col { grid-template-columns: 1fr 60px; }
    .jm-panel-head-4col span:nth-child(2),
    .jm-panel-head-4col span:nth-child(3) { display: none; }
    .jm-row { grid-template-columns: 1fr 100px; }
    .jm-row-jobs { display: none; }
    .jm-row-3 { grid-template-columns: 1fr 60px; }
    .jm-row-3 .jm-row-jobs { display: none; }
    .jm-row-4 { grid-template-columns: 1fr 60px; }
    .jm-row-4 .jm-row-location,
    .jm-row-4 .jm-row-jobs { display: none; }
    
    .jm-industry-pills { gap: 6px; margin-bottom: 20px; }
    .jm-pill { padding: 6px 10px; font-size: 12px; }
    .jm-inline-citation { font-size: 13px; margin-bottom: 32px; }
    .jm-industry-headline h2 { font-size: 22px; }
    .jm-industry-sub { font-size: 15px; }
    .jm-ind-table-head { grid-template-columns: 1fr 60px; }
    .jm-ind-table-head span:nth-child(2),
    .jm-ind-table-head span:nth-child(3) { display: none; }
    .jm-ind-row { grid-template-columns: 1fr 60px; }
    .jm-ind-location,
    .jm-ind-jobs { display: none; }
    .jm-ind-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    
    .jm-methodology { padding: 40px 0; }
    .jm-methodology-box { padding: 24px; }
    .jm-methodology-content h2 { font-size: 20px; }
    .jm-methodology-content p { font-size: 15px; }
    .jm-methodology-meta { flex-direction: column; gap: 12px; }
    .jm-author-byline { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
    .jm-author-credentials { padding-left: 0; border-left: none; padding-top: 6px; border-top: 1px solid #bbf7d0; }
    
    .jm-func-row { margin-bottom: 16px; }
    .jm-func-label { flex-direction: column; align-items: flex-start; gap: 4px; }
    
    .jm-cta h2 { font-size: 28px; }
    .jm-cta-features { flex-direction: column; gap: 12px; }
    
    .jm-faq-header h2 { font-size: 28px; }
    .jm-faq-question { font-size: 18px; padding: 20px; }
    .jm-faq-answer p { font-size: 16px; }
    
    /* Comparison boxes responsive */
    .comparison-section h2 { font-size: 28px; }
    .comparison-section .section-intro { font-size: 16px; }
    .comparison-header, .comparison-row { grid-template-columns: 1fr 60px 60px 55px; gap: 4px; }
    .metric-label { font-size: 13px; }
    .metric-value { font-size: 13px; }
    .winner-badge { font-size: 10px; padding: 3px 6px; }
    .ranking-item { grid-template-columns: 35px 1fr 90px; }
    .ranking-item .jobs-available { display: none; }
    .city-links { gap: 8px; }
    .city-link { padding: 8px 12px; font-size: 14px; }
}
