.fcrjm { --fcrjm-blue: #123f69; --fcrjm-gold: #e9a825; font-family: inherit; color: #17212b; }
.fcrjm-filters { display: flex; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.fcrjm-filters label { min-width: 210px; flex: 1; font-weight: 700; font-size: 14px; }
.fcrjm-filters label span { display: block; margin-bottom: 6px; }
.fcrjm-filters select { width: 100%; min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid #c8d0d8; border-radius: 4px; background: #fff; }
.fcrjm-map { width: 100%; min-height: 360px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 22px rgba(13, 38, 61, .12); }
.fcrjm-map-error { margin: 0; padding: 28px; background: #fff3cd; color: #664d03; font-weight: 700; }
.fcrjm-count { margin: 10px 0 0; color: #52606d; font-size: 14px; }
.fcrjm-local-work { margin-top: 38px; }
.fcrjm-local-work > h2 { margin: 0 0 20px; color: var(--fcrjm-blue); }
.fcrjm-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fcrjm-job { overflow: hidden; border: 1px solid #dce3e8; border-radius: 7px; background: #fff; box-shadow: 0 3px 14px rgba(13, 38, 61, .08); }
.fcrjm-job[hidden] { display: none; }
.fcrjm-job figure { margin: 0; }
.fcrjm-job figure img { display: block; width: 100%; height: 210px; object-fit: cover; }
.fcrjm-job-copy { padding: 18px; }
.fcrjm-job-copy h3 { margin: 0 0 7px; color: var(--fcrjm-blue); font-size: 20px; line-height: 1.25; }
.fcrjm-job-copy p { margin: 7px 0; line-height: 1.55; }
.fcrjm-job-copy blockquote { margin: 13px 0 0; padding: 10px 12px; border-left: 3px solid var(--fcrjm-gold); background: #f8fafb; font-style: italic; }
.fcrjm .leaflet-popup { width: 420px !important; max-width: min(420px, calc(100vw - 48px)) !important; }
.fcrjm .leaflet-popup-content-wrapper { width: 100% !important; max-width: 420px !important; padding: 0 !important; overflow: hidden !important; border-radius: 8px; }
.fcrjm .leaflet-popup-content { width: 100% !important; max-width: 420px !important; margin: 0 !important; overflow-x: hidden !important; }
.fcrjm .leaflet-popup-scrolled { overflow-x: hidden !important; }
.fcrjm-card { background: #fff; }
.fcrjm-gallery { width: 100%; max-width: 420px; overflow: hidden; background: #eef2f5; }
.fcrjm .leaflet-popup .fcrjm-main-photo { display: block !important; width: 100% !important; max-width: 100% !important; height: 190px !important; max-height: 190px !important; margin: 0 !important; object-fit: contain !important; object-position: center !important; background: #eef2f5; }
.fcrjm-thumbs { display: flex; gap: 5px; padding: 6px; overflow-x: auto; }
.fcrjm-thumb { flex: 0 0 58px; width: 58px; height: 44px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: none; }
.fcrjm-thumb.is-active { border-color: var(--fcrjm-gold); }
.fcrjm-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcrjm-card-body { padding: 16px 18px 18px; }
.fcrjm-card h3 { margin: 0 25px 5px 0; color: var(--fcrjm-blue); font-size: 20px; line-height: 1.25; }
.fcrjm-card p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.fcrjm-tags { color: var(--fcrjm-blue); font-weight: 700; }
.fcrjm-location { font-weight: 600; }
.fcrjm-month { color: #52606d; }
.fcrjm-summary { padding-top: 5px; }
@media (min-width: 768px) {
  .fcrjm-card .fcrjm-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
}
.fcrjm-card blockquote { margin: 12px 0; padding: 10px 12px; border-left: 3px solid var(--fcrjm-gold); background: #f8fafb; font-size: 14px; font-style: italic; }
.fcrjm-call { display: block; margin-top: 13px; padding: 11px 14px; border-radius: 4px; background: var(--fcrjm-blue); color: #fff !important; text-align: center; font-weight: 700; text-decoration: none !important; }
.fcrjm-call:hover, .fcrjm-call:focus { background: #0b2e4d; }
.fcrjm-call-mobile { display: none; }
@media (max-width: 600px) {
  .fcrjm-filters { gap: 10px; }
  .fcrjm-filters label { min-width: 100%; }
  .fcrjm .leaflet-popup .fcrjm-main-photo { height: 165px !important; max-height: 165px !important; }
  .fcrjm-job-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .fcrjm .leaflet-popup { width: auto !important; max-width: calc(100vw - 48px) !important; }
  .fcrjm-contact-desktop { display: none; }
  .fcrjm-call-mobile { display: block; }
}
@media (min-width: 601px) and (max-width: 900px) { .fcrjm-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
