/* ==========================================================================
   JobFlexy Layout & Design System Styles (layout.css)
   ========================================================================== */

/* ── FONT IMPORTS ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Syne:wght@700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  --c-o: #E67E22;
  --c-od: #bf5e0e;
  --c-og: #f5a623;
  --c-bg: #060e1c;
  --c-surf: #0a1525;
  --c-panel: #0f1e35;
  --c-b1: rgba(255, 255, 255, 0.055);
  --c-b2: rgba(255, 255, 255, 0.10);
  --c-muted: rgba(255, 255, 255, 0.35);
  --c-text: rgba(255, 255, 255, 0.78);
  --c-white: #ffffff;
  --fn-logo: 'Syne', sans-serif;
  --fn-ui: 'Plus Jakarta Sans', sans-serif;
  --r-pill: 9px;

  --ff-o: #E67E22;
  --ff-bg: #060e1c;
  --ff-muted: rgba(255, 255, 255, 0.45);
  --ff-text: rgba(255, 255, 255, 0.75);
  --ff-white: #ffffff;
  --ff-border: rgba(255, 255, 255, 0.08);
}

/* ── RESET & THEME OVERRIDES ─────────────────────────────────────────────── */
#jf-nav, #jf-nav * {
  box-sizing: border-box;
}

#jf-nav a {
  text-decoration: none;
}

/* Hide default themes headers */
.top-navigation,
body > .main-container > .top-navigation,
.site-branding,
.custom-logo-link,
.site-logo,
header.site-header,
.header-branding,
#masthead,
.schema-lite-header,
.site-header-main,
.custom-header,
#custom-header,
header.header-image,
div.header-image,
.header-widget-area,
.top-header,
#top-header,
.header-top,
body .main-container > header:not(#jf-nav) {
  display: none !important;
}

/* ── HEADER NAVIGATION (#jf-nav) ─────────────────────────────────────────── */
#jf-nav {
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: var(--c-bg);
  border-top: 1px solid var(--c-o);
  border-bottom: 1px solid var(--c-b1);
  font-family: var(--fn-ui);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.04) inset, 0 1px 40px rgba(0, 0, 0, 0.45);
}

.jf-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jf-nav-logo {
  display: flex;
  align-items: center;
}

.jf-logo-img {
  height: 38px;
  width: auto;
}

.jf-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jf-nav-links > li {
  position: relative;
}

.jf-nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--r-pill);
  transition: all 0.2s ease;
}

.jf-nav-links > li > a:hover,
.jf-nav-links > li.current > a {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
}

.jf-nav-links .has-dd .jf-dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--c-surf);
  border: 1px solid var(--c-b2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.jf-nav-links .has-dd:hover .jf-dd,
.jf-nav-links .has-dd.open .jf-dd {
  display: block !important;
}

.jf-nav-links .has-dd:hover > a .jf-arrow,
.jf-nav-links .has-dd.open > a .jf-arrow {
  transform: rotate(180deg);
  opacity: 0.75;
}

.jf-dd a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--c-text);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.jf-dd a:hover {
  background: rgba(230, 126, 34, 0.15);
  color: var(--c-o);
}

.jf-dd-sep {
  height: 1px;
  background: var(--c-b1);
  margin: 6px 0;
}

/* ══ MOBILE MENU STYLES ══════════════════════════════════════════════════ */
#jf-mob-logo-bar {
  display: none;
  background: var(--c-bg);
  padding: 14px 20px;
  justify-content: center;
  align-items: center;
  border-top: 2px solid var(--c-o);
}

#jf-mob-logo-bar img {
  height: auto;
  width: 200px;
  display: block;
  margin: 0 auto;
}

#jf-mob-menubar {
  display: none;
  background: rgba(230, 126, 34, 0.92);
  padding: 0 20px;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

#jf-mob-menubar-label {
  font-family: var(--fn-ui);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

#jf-mob-menubar-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#jf-mob-menubar-icon span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

#jf-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--c-bg);
  flex-direction: column;
  overflow-y: auto;
}

#jf-mobile-menu.open {
  display: flex !important;
}

.jf-mob-close-bar {
  background: var(--c-o);
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  cursor: pointer;
}

.jf-mob-close-bar span {
  font-family: var(--fn-ui);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jf-mob-close-x {
  font-size: 22px;
  color: #fff;
}

.jf-mob-links {
  list-style: none;
  padding: 0 24px 32px;
  margin: 0;
  flex: 1;
}

.jf-mob-links > li {
  border-bottom: 1px solid var(--c-b1);
}

.jf-mob-links > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  font-family: var(--fn-ui);
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.jf-mob-links > li > a:hover {
  color: var(--c-white);
}

.jf-mob-dd {
  display: none;
  padding: 0 0 12px 16px;
}

.jf-mob-links > li.mob-open .jf-mob-dd {
  display: block !important;
}

.jf-mob-dd a {
  display: block;
  padding: 11px 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-left: 2px solid var(--c-b2);
}

.jf-mob-dd a:hover {
  color: var(--c-white);
  border-color: var(--c-o);
}

.jf-mob-links .jf-mob-legal {
  border-top: 1px solid var(--c-b1) !important;
  margin-top: 10px;
  padding: 16px 0 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.jf-mob-links .jf-mob-legal a {
  font-size: 13px !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  transition: color 0.15s !important;
}

.jf-mob-links .jf-mob-legal a:hover {
  color: #f58220 !important;
}

.jf-mob-links .jf-mob-legal span {
  color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 1000px) {
  #jf-nav {
    display: none !important;
  }
  #jf-mob-logo-bar {
    display: flex !important;
  }
  #jf-mob-menubar {
    display: flex !important;
  }
}

@media (min-width: 1001px) {
  #jf-mob-logo-bar,
  #jf-mob-menubar,
  #jf-mobile-menu {
    display: none !important;
  }
}

.jf-nav-cta {
  background: linear-gradient(135deg, var(--c-o), var(--c-od)) !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── SINGLE POST CONTAINER STYLING ───────────────────────────────────────── */
body.single-post {
  background-color: #f7f9fc !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2c3e50;
}

#page.single {
  max-width: 1080px;
  margin: 30px auto;
  padding: 0 20px;
}

.single_post {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 40px;
  border: 1px solid #eef2f6;
}

.single_post header h1.single-title,
#post-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a2530;
  line-height: 1.3;
  margin-bottom: 24px;
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
}

.post-single-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #34495e;
}

.post-single-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a2530;
  margin-top: 32px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 8px;
}

.post-single-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.post-single-content li {
  margin-bottom: 10px;
}

/* ── FOOTER STYLING (#jf-footer) ─────────────────────────────────────────── */
#jf-footer {
  background: var(--ff-bg, #060e1c);
  color: var(--ff-text);
  font-family: var(--fn-ui, 'Plus Jakarta Sans', sans-serif);
  border-top: 1px solid var(--ff-border);
  margin-top: 60px;
}

.jff-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 52px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.jff-logo-link img {
  height: 32px;
  width: auto;
}

.jff-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ff-muted);
  margin: 16px 0 24px;
  max-width: 280px;
}

.jff-social {
  display: flex;
  gap: 10px;
}

.jff-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ff-muted);
}

.jff-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ff-o);
  margin: 0 0 18px;
}

.jff-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jff-col ul li a {
  font-size: 13.5px;
  color: var(--ff-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.jff-col ul li a:hover {
  color: var(--ff-white);
}

.jff-view-all {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ff-o);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(230, 126, 34, 0.25);
}

.jff-bottom {
  border-top: 1px solid var(--ff-border);
}

.jff-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jff-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.jff-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
  font-style: italic;
}

@media (max-width: 900px) {
  .jff-inner {
    grid-template-columns: 1fr 1fr;
  }
  .jff-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .jff-inner {
    grid-template-columns: 1fr;
  }
  .single_post {
    padding: 20px;
  }
}

/* ══ PAGE CONTENT FLEX LAYOUT & SIDEBAR ALIGNMENT ═════════════════════════ */
*, *:before, *:after {
  box-sizing: border-box;
}

#page, #page.single, div#page {
  width: 1152px !important;
  max-width: 96% !important;
  margin: 30px auto !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  position: relative !important;
}

#page .content, div#page > div.content {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

#page .content > .article, div#page > div.content > article.article {
  width: calc(100% - 360px) !important;
  max-width: calc(100% - 360px) !important;
  flex: 1 1 0% !important;
  float: none !important;
  background: #ffffff !important;
  padding: 30px !important;
  border-radius: 8px !important;
  box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.1) !important;
  box-sizing: border-box !important;
  margin-bottom: 30px !important;
}

#page .content > .sidebar.c-4-12, div#page > div.content > aside.sidebar {
  width: 330px !important;
  max-width: 330px !important;
  flex: 0 0 330px !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#sidebars, #sidebars.sidebar {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

@media (max-width: 900px) {
  #page, #page.single, div#page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px auto !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  #page .content, div#page > div.content {
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
  }

  #page .content > .article, div#page > div.content > article.article {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 2px 0px !important;
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  #page .content > .sidebar.c-4-12, div#page > div.content > aside.sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    box-sizing: border-box !important;
  }

  .single_post {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
  }

  .single_post header h1.single-title,
  #post-title,
  h1.single-title {
    font-size: 1.4rem !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .post-single-content {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .post-single-content h2 {
    font-size: 1.2rem !important;
    margin-top: 22px !important;
    margin-bottom: 12px !important;
  }

  .post-single-content ul,
  .post-single-content ol {
    padding-left: 18px !important;
  }

  .post-single-content img,
  .article img {
    max-width: 100% !important;
    height: auto !important;
  }

}

/* ── SKELETON LOADER FOR FAST INSTANT LOADING ───────────────────────────── */
.jf-skeleton-loader {
  padding: 10px 0;
}
.jf-sk-line {
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 200% 100%;
  animation: jf-shimmer 1.5s infinite;
  border-radius: 6px;
  height: 16px;
  margin-bottom: 12px;
}
@keyframes jf-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CITY CARDS & LOCATION PILLS GRID SYSTEM (search-jobs) ──────────────── */
.jf-cg {
  margin: 24px 0;
  font-family: var(--fn-ui, 'Plus Jakarta Sans', sans-serif);
}

.jf-cg-h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a2530;
  margin: 36px 0 18px;
  font-family: 'Syne', var(--fn-ui);
}

/* 6 Featured City Cards Grid */
.jf-cg-feat32 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.jf-cg-fcard {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  display: block !important;
  text-decoration: none !important;
  background-color: #1a2530;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.jf-cg-fcard img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.jf-cg-fcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.jf-cg-fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.jf-cg-fcard:hover img {
  transform: scale(1.06) !important;
}

.jf-cg-fmeta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.jf-cg-fname {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.jf-cg-fcount {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jf-cg-fcount b {
  font-weight: 800;
  color: #f5a623;
}

/* Location Pills Grid (3 Columns) */
.jf-cg-pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.jf-cg-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
  color: #2d3748 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.jf-cg-pill:hover {
  border-color: #e67e22 !important;
  background: #fffdfa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.12) !important;
  color: #e67e22 !important;
}

.jf-cg-pin {
  display: inline-flex;
  align-items: center;
  color: #a0aec0;
  margin-right: 6px;
  flex-shrink: 0;
}

.jf-cg-pill:hover .jf-cg-pin {
  color: #e67e22;
}

.jf-cg-nm {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1a2530;
}

.jf-cg-ct {
  background: #fff8f0;
  border: 1px solid #fde6d2;
  color: #e67e22;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin: 0 6px;
  flex-shrink: 0;
}

.jf-cg-ar {
  display: inline-flex;
  align-items: center;
  color: #cbd5e0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.jf-cg-pill:hover .jf-cg-ar {
  color: #e67e22;
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .jf-cg-feat32 {
    grid-template-columns: repeat(2, 1fr);
  }
  .jf-cg-pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .jf-cg-feat32 {
    grid-template-columns: 1fr;
  }
}

/* ── RECOMMENDED JOB OFFERS SECTION (Details Page Bottom) ───────────────── */
.jf-recommended-section {
  margin: 40px 0 20px;
  padding-top: 30px;
  border-top: 1px solid #eef2f6;
  font-family: var(--fn-ui, 'Plus Jakarta Sans', sans-serif);
}

.jf-recommended-header {
  text-align: center;
  margin-bottom: 28px;
}

.jf-recommended-title {
  font-family: 'Syne', 'Georgia', serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #1a2530;
  margin: 0 0 6px;
  line-height: 1.25;
}

.jf-recommended-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.jf-recommended-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jf-rec-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.jf-rec-card:hover {
  border-color: #e67e22 !important;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.16) !important;
  transform: translateY(-2px);
}

.jf-rec-logo {
  flex: 0 0 80px !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  height: 52px !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 4px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.jf-rec-logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.jf-rec-info {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.jf-rec-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1a2530 !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.3 !important;
  transition: color 0.15s ease;
}

.jf-rec-card:hover .jf-rec-title {
  color: #e67e22 !important;
}

.jf-rec-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.jf-rec-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.jf-rec-meta i.fa-building {
  color: #f58220;
}

.jf-rec-meta i.fa-map-marker-alt {
  color: #94a3b8;
}

.jf-rec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f58220;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  border: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 130, 32, 0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.jf-rec-btn:hover {
  background: #d36e16;
  box-shadow: 0 4px 12px rgba(211, 110, 22, 0.35);
  color: #ffffff !important;
}

.jf-recommended-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.jf-rec-action-primary {
  background: linear-gradient(135deg, #f58220, #d36e16);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(245, 130, 32, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.jf-rec-action-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.4);
}

.jf-rec-action-secondary {
  background: #ffffff;
  color: #f58220 !important;
  border: 2px solid #f58220;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.jf-rec-action-secondary:hover {
  background: #fff8f0;
  border-color: #d36e16;
  color: #d36e16 !important;
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .jf-rec-card {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 14px;
    padding: 16px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .jf-rec-logo {
    width: 70px;
    height: 54px;
    margin: 0 auto !important;
  }
  .jf-rec-info {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .jf-rec-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    width: 100% !important;
    margin: 4px 0 8px !important;
  }
  .jf-rec-meta {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 10px 14px !important;
  }
  .jf-rec-btn {
    width: 100% !important;
    text-align: center !important;
  }
  .jf-recommended-actions {
    flex-direction: column;
    width: 100%;
  }
  .jf-rec-action-primary,
  .jf-rec-action-secondary {
    width: 100%;
    text-align: center;
  }
}







