/* Jobsmaa Suite 1.0.0 */
:root{
  --jms-ink:#12284a;
  --jms-apply:#12814a;
  --jms-urgent:#b83a0e;
  --jms-paper:#f2f5fa;
  --jms-card:#ffffff;
  --jms-line:#d6deeb;
  --jms-text:#1b2536;
  --jms-muted:#566478;
  --jms-tg:#1c8cc4;
  --jms-wa:#17874a;
  --jms-radius:10px;
}

/* ---------- Buttons and chips ---------- */
.jms-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:8px;font:inherit;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.jms-btn--sm{min-height:32px;padding:0 12px;font-size:.875rem}
.jms-btn--apply{background:var(--jms-apply);color:#fff}
.jms-btn--apply:hover,.jms-btn--apply:focus-visible{background:#0d6a3c;color:#fff}
.jms-btn--ghost{background:#fff;border-color:var(--jms-ink);color:var(--jms-ink)}
.jms-btn--ghost:hover,.jms-btn--ghost:focus-visible{background:var(--jms-ink);color:#fff}
.jms-btn--tg{background:var(--jms-tg);color:#fff}
.jms-btn--wa{background:var(--jms-wa);color:#fff}
.jms-btn--tg:hover,.jms-btn--wa:hover{filter:brightness(.92);color:#fff}
.jms-btn:focus-visible,.jms-float__a:focus-visible,.jms-card__title a:focus-visible,.jms-cs__title:focus-visible{outline:3px solid #f2b01e;outline-offset:2px}
.jms-ico{flex:none}

.jms-chip{display:inline-block;padding:3px 10px;border-radius:99px;background:#e6edf8;color:var(--jms-ink);font-size:.8125rem;font-weight:600;line-height:1.4;white-space:nowrap}
.jms-chip--urgent{background:#fbe6dc;color:var(--jms-urgent)}
.jms-chip--closed,.jms-chip--none{background:#e8ebf0;color:#566478}

/* ---------- Job card ---------- */
.jms-list{display:grid;gap:14px}
.jms-card{display:flex;gap:18px;justify-content:space-between;background:var(--jms-card);border:1px solid var(--jms-line);border-left:5px solid var(--jms-ink);border-radius:var(--jms-radius);padding:16px 18px}
.jms-card.jms-s-urgent{border-left-color:var(--jms-urgent)}
.jms-card.jms-s-closed{border-left-color:#9aa5b5;background:#fafbfc}
.jms-card__body{flex:1 1 auto;min-width:0}
.jms-card__org{margin-bottom:2px;color:var(--jms-muted);font-size:.875rem;font-weight:500}
.jms-card__title{margin:0 0 8px;font-size:1.125rem;line-height:1.4}
.jms-card__title a{color:var(--jms-text);text-decoration:none}
.jms-card__title a:hover{color:var(--jms-ink);text-decoration:underline}
.jms-facts{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding:0;list-style:none;font-size:.9375rem}
.jms-facts li{margin:0}
.jms-k{color:var(--jms-muted)}
.jms-v{font-weight:600;color:var(--jms-text)}
.jms-card__side{display:flex;flex:none;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:10px;min-width:262px;text-align:right}
.jms-card__date{display:block;color:var(--jms-muted);font-size:.875rem}
.jms-card__btns{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}

.jms-empty{padding:28px 18px;border:1px dashed var(--jms-line);border-radius:var(--jms-radius);background:#fff;color:var(--jms-muted);text-align:center}

/* ---------- Search ---------- */
.jms-wrap{max-width:1100px;margin:0 auto;padding:28px 16px 40px}
.jms-filter{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:12px;align-items:end;padding:16px;margin-bottom:22px;background:#fff;border:1px solid var(--jms-line);border-radius:var(--jms-radius)}
.jms-field label{display:block;margin-bottom:4px;color:var(--jms-muted);font-size:.875rem;font-weight:600}
.jms-field input,.jms-field select{width:100%;min-height:44px;padding:0 12px;border:1px solid #b9c5d8;border-radius:8px;background:#fff;color:var(--jms-text);font:inherit}
.jms-field input:focus,.jms-field select:focus{outline:3px solid #f2b01e;outline-offset:1px;border-color:var(--jms-ink)}
.jms-filter__actions{display:flex;gap:8px}
.jms-results__bar{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:12px}
.jms-results__title{margin:0;font-size:1.375rem;line-height:1.3}
.jms-results__count{color:var(--jms-muted);font-size:.9375rem}
.jms-search.is-loading .jms-list{opacity:.55}
.jms-more-btn{display:flex;margin:18px auto 0;max-width:220px}
.jms-more-btn[hidden]{display:none}

/* ---------- Home hero + Closing soon board ---------- */
.jms-home{margin:0 0 8px}
.jms-hero{background:var(--jms-ink);color:#fff}
.jms-hero__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:center;max-width:1100px;margin:0 auto;padding:40px 16px}
.jms-hero__title{margin:0 0 10px;color:#fff;font-size:clamp(1.75rem,4.2vw,2.75rem);line-height:1.2;letter-spacing:-.01em}
.jms-hero__sub{max-width:34em;color:#d5dff0;font-size:1.0625rem}
.jms-hero__meta{margin-top:14px;color:#aebbd1;font-size:.9375rem}
.jms-hero__join{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.jms-board{background:#fff;color:var(--jms-text);border-radius:var(--jms-radius);padding:6px 16px 10px;border-top:5px solid var(--jms-urgent)}
.jms-board__title{margin:12px 0 4px;color:var(--jms-text);font-size:1.125rem;line-height:1.3}
.jms-cs{margin:0;padding:0;list-style:none}
.jms-cs__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--jms-line)}
.jms-cs__row:last-child{border-bottom:0}
.jms-cs__title{flex:1 1 auto;min-width:0;color:var(--jms-text);font-weight:500;line-height:1.4;text-decoration:none}
.jms-cs__title:hover{color:var(--jms-ink);text-decoration:underline}
.jms-board .jms-empty{border:0;padding:16px 4px;text-align:left}

/* ---------- Join box, top strip, floating ---------- */
.jms-join{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin:28px 0;padding:18px 20px;background:var(--jms-paper);border:1px solid var(--jms-line);border-radius:var(--jms-radius)}
.jms-join__text{display:flex;flex-direction:column;gap:2px}
.jms-join__text strong{font-size:1.0625rem}
.jms-join__text span{color:var(--jms-muted);font-size:.9375rem}
.jms-join__btns{display:flex;flex-wrap:wrap;gap:10px}

.jms-topbar{background:#0c1c36;color:#e7eefb;font-size:.9375rem}
.jms-topbar__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;max-width:1200px;margin:0 auto;padding:6px 16px}
.jms-topbar__btns{display:inline-flex;gap:8px}

.jms-float{position:fixed;right:14px;bottom:14px;z-index:90;display:flex;flex-direction:column;gap:10px}
.jms-float__a{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;color:#fff;box-shadow:0 2px 8px rgba(12,28,54,.3)}
.jms-float__a svg{width:24px;height:24px}
.jms-float__a--tg{background:var(--jms-tg)}
.jms-float__a--wa{background:var(--jms-wa)}
.jms-float__a:hover{color:#fff;filter:brightness(.92)}

/* ---------- Single post: highlights card ---------- */
.jms-hl{margin:0 0 26px;background:#fff;border:1px solid var(--jms-line);border-top:5px solid var(--jms-ink);border-radius:var(--jms-radius)}
.jms-hl.jms-s-urgent{border-top-color:var(--jms-urgent)}
.jms-hl.jms-s-closed{border-top-color:#9aa5b5}
.jms-hl__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:14px 18px 0}
.jms-hl__org{font-size:1.0625rem;font-weight:700;color:var(--jms-ink)}
.jms-hl__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 20px;margin:0;padding:14px 18px 6px}
.jms-hl__item{margin:0}
.jms-hl__item dt{margin:0 0 2px;color:var(--jms-muted);font-size:.875rem;font-weight:500}
.jms-hl__item dd{margin:0;color:var(--jms-text);font-weight:700;line-height:1.4}
.jms-hl__item--last.jms-s-urgent dd{color:var(--jms-urgent)}
.jms-hl__actions{display:flex;flex-wrap:wrap;gap:10px;padding:12px 18px 18px}
.jms-apply-panel{margin:28px 0 0;padding:18px;background:#fff;border:1px solid var(--jms-line);border-left:5px solid var(--jms-apply);border-radius:var(--jms-radius)}
.jms-apply-panel strong{display:block;font-size:1.125rem}
.jms-apply-panel .jms-hl__actions{padding:10px 0 0}
.jms-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 28px}
.jms-share>span{margin-right:4px;color:var(--jms-muted);font-weight:600}
.jms-more{margin:34px 0 0}
.jms-more__title{margin:0 0 12px;font-size:1.375rem}
.jms-stickbar{display:none}

/* ---------- Phones and tablets ---------- */
@media (max-width:900px){
  .jms-filter{grid-template-columns:1fr 1fr}
  .jms-field--q,.jms-filter__actions{grid-column:1/-1}
  .jms-hero__inner{grid-template-columns:1fr;gap:24px;padding:28px 16px}
}
@media (max-width:640px){
  .jms-card{flex-direction:column;gap:12px}
  .jms-card__side{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;min-width:0;text-align:left}
  .jms-card__btns{justify-content:flex-start}
  .jms-filter{grid-template-columns:1fr}
  .jms-filter__actions .jms-btn{flex:1}
  .jms-join{flex-direction:column;align-items:flex-start}
  .jms-topbar__in{justify-content:space-between}
}
@media (max-width:768px){
  .jms-stickbar{position:fixed;left:0;right:0;bottom:0;z-index:95;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--jms-line);box-shadow:0 -2px 10px rgba(12,28,54,.12)}
  .jms-stickbar__txt{font-weight:700;color:var(--jms-text);line-height:1.3}
  body.jms-has-sticky{padding-bottom:74px}
  body.jms-has-sticky .jms-float{bottom:86px}
}

/* ---------- Site-wide look and post typography (Settings > Look) ---------- */
:root{--jms-link:#0b57d0;--jms-heading:#12284a;--jms-font:'Hind Madurai',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
body.jms-theme{font-family:var(--jms-font);color:var(--jms-text);background:#fff;font-size:1.0625rem;line-height:1.8;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
:where(body.jms-theme) :is(h1,h2,h3,h4,h5,h6){font-family:var(--jms-font);color:var(--jms-heading);font-weight:700;line-height:1.25;letter-spacing:-.01em;text-wrap:balance}
/* Inside post content, win over Elementor kit heading styles */
body.jms-theme :is(.page-content,.entry-content) :is(h1,h2,h3,h4,h5,h6){font-family:var(--jms-font);color:var(--jms-heading)}
/* Zero-specificity so buttons and component classes keep their own colors */
:where(body.jms-theme) a{color:var(--jms-link)}
:where(body.jms-theme) a:hover{color:var(--jms-heading)}
body.jms-theme a:focus-visible{outline:3px solid #f2b01e;outline-offset:2px;border-radius:2px}

/* Single post: title */
body.jms-theme.single-post .site-main{max-width:820px;padding:0 16px 28px}
body.jms-theme.single-post .page-header{margin:0 0 22px}
body.jms-theme.single-post .page-header .entry-title,
body.jms-theme.single-post h1.entry-title{margin:22px 0 0;font-size:clamp(1.875rem,4.6vw,2.75rem);font-weight:700;line-height:1.2}
body.jms-theme.single-post .page-header .entry-title::after,
body.jms-theme.single-post h1.entry-title::after{content:"";display:block;width:72px;height:5px;margin-top:16px;border-radius:3px;background:#f7b500}

/* Post body */
body.jms-theme .page-content,
body.jms-theme .entry-content{overflow-wrap:break-word}
body.jms-theme .page-content p,
body.jms-theme .entry-content p{margin:0 0 1.15em}
body.jms-theme .page-content h2,
body.jms-theme .entry-content h2{margin:2em 0 .75em;padding:0 0 .4em;border-bottom:1px solid var(--jms-line);background:linear-gradient(var(--jms-link),var(--jms-link)) left bottom/72px 3px no-repeat;font-size:clamp(1.5rem,3.2vw,1.875rem)}
body.jms-theme .page-content h3,
body.jms-theme .entry-content h3{margin:1.7em 0 .55em;font-size:clamp(1.25rem,2.6vw,1.4375rem)}
body.jms-theme .page-content h4,
body.jms-theme .entry-content h4{margin:1.5em 0 .45em;font-size:1.1875rem}
body.jms-theme .page-content h5,
body.jms-theme .page-content h6,
body.jms-theme .entry-content h5,
body.jms-theme .entry-content h6{margin:1.3em 0 .4em;font-size:1.0625rem}
body.jms-theme .page-content a:not([class]),
body.jms-theme .entry-content a:not([class]){color:var(--jms-link);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
body.jms-theme .page-content a:not([class]):hover,
body.jms-theme .entry-content a:not([class]):hover{color:var(--jms-heading);text-decoration-thickness:2px}
body.jms-theme .page-content strong,
body.jms-theme .entry-content strong{font-weight:700}
body.jms-theme .page-content :is(ul,ol),
body.jms-theme .entry-content :is(ul,ol){margin:0 0 1.2em;padding-left:1.4em}
body.jms-theme .page-content li,
body.jms-theme .entry-content li{margin:.35em 0;padding-left:.15em}
body.jms-theme .page-content li::marker,
body.jms-theme .entry-content li::marker{color:var(--jms-link);font-weight:700}
body.jms-theme .page-content blockquote,
body.jms-theme .entry-content blockquote{margin:1.5em 0;padding:14px 20px;border-left:4px solid var(--jms-link);border-radius:0 8px 8px 0;background:var(--jms-paper);color:var(--jms-text)}
body.jms-theme .page-content blockquote p:last-child,
body.jms-theme .entry-content blockquote p:last-child{margin-bottom:0}
body.jms-theme .page-content img,
body.jms-theme .entry-content img{max-width:100%;height:auto;border-radius:8px}
body.jms-theme .page-content hr,
body.jms-theme .entry-content hr{height:1px;margin:2em 0;border:0;background:var(--jms-line)}
body.jms-theme .page-content table,
body.jms-theme .entry-content table{display:block;width:100%;max-width:100%;margin:1.4em 0;overflow-x:auto;border-collapse:collapse;border:1px solid var(--jms-line);font-size:1rem;line-height:1.55}
body.jms-theme .page-content th,
body.jms-theme .entry-content th{background:var(--jms-paper);color:var(--jms-heading);font-weight:700;text-align:left}
body.jms-theme .page-content th,
body.jms-theme .page-content td,
body.jms-theme .entry-content th,
body.jms-theme .entry-content td{padding:10px 14px;border:1px solid var(--jms-line);vertical-align:top}
body.jms-theme .page-content tbody tr:nth-child(even) td,
body.jms-theme .entry-content tbody tr:nth-child(even) td{background:#f8fafd}

/* Keep our own blocks (cards, highlights) out of the heading rules above */
body.jms-theme .page-content .jms-card__title{margin:0 0 8px;padding:0;border:0;background:none;font-size:1.125rem}
body.jms-theme .page-content .jms-more__title{margin:0 0 12px;padding:0;border:0;background:none;font-size:1.375rem}
body.jms-theme .page-content :is(.jms-facts,.jms-hl__grid){margin:0;padding-left:0}
body.jms-theme .page-content .jms-facts{padding:0}
body.jms-theme .page-content .jms-facts li,
body.jms-theme .page-content .jms-panel__list li{margin:0;padding-left:0}

@media (prefers-reduced-motion:reduce){.jms-btn{transition:none}}

/* =====================================================================
   Home page (Elementor template "Jobsmaa Home")
   ===================================================================== */
:root{
  --jmh-font:var(--jms-font);
  --jmh-navy:#0a2a6b;
  --jmh-blue:#0b57d0;
  --jmh-sky:#e9f1fd;
  --jmh-yellow:#f7b500;
  --jmh-purple:#5b3cc4;
  --jmh-page:#f4f7fc;
  --jmh-border:#dfe7f5;
}
.jms-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

/* Elementor container resets for our bands */
.elementor .jmh-band,.elementor .jmh-in,.elementor .jmh-row,.elementor .jmh-col,.elementor .jmh-hero__copy,.elementor .jmh-hero__side,.elementor .jmh-head{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;--row-gap:0px;--column-gap:0px;gap:0;padding:0;margin:0;width:100%;max-width:none;font-family:var(--jmh-font)}
.elementor .jmh-band .elementor-widget{margin:0}
.elementor .jmh-in{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;box-sizing:border-box}
.elementor .jmh-band .elementor-heading-title{font-family:var(--jmh-font)}

/* Hero */
.elementor .jmh-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#0a2a6b 0%,#0b47b0 70%,#1b6be0 100%) center/cover no-repeat;color:#fff;padding-bottom:78px}
.elementor .jmh-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,28,84,.88) 0%,rgba(6,28,84,.55) 55%,rgba(6,28,84,0) 100%);pointer-events:none}
.elementor .jmh-hero>.jmh-in{position:relative;z-index:1;display:flex;flex-direction:row;align-items:center;gap:24px;padding-top:48px}
.elementor .jmh-hero__copy{flex:1 1 56%}
.elementor .jmh-hero__side{flex:1 1 38%;align-items:flex-end;text-align:right}
.elementor .jmh-hero h1.elementor-heading-title{margin:0 0 14px;color:#fff;font-size:clamp(2rem,5.2vw,3.5rem);font-weight:700;line-height:1.12;letter-spacing:-.01em}
.jmh-y{color:var(--jmh-yellow)}
.elementor .jmh-hero .jmh-lead{color:#fff;font-size:clamp(1.0625rem,2vw,1.375rem);line-height:1.5;max-width:26em;margin:0 0 16px}
.elementor .jmh-hero .jmh-lead p{margin:0}
.jmh-checks{margin:0;padding:0;list-style:none}
.jmh-checks li{position:relative;margin:0 0 8px;padding-left:34px;color:#fff;font-size:1.0625rem;font-weight:500}
.jmh-checks li::before{content:"";position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:#2fb344 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat}
.elementor .jmh-hero .jmh-tagline .elementor-heading-title{color:var(--jmh-yellow);font-size:clamp(1.5rem,3.4vw,2.5rem);font-style:italic;font-weight:600;line-height:1.15;transform:rotate(-6deg)}

/* Quick search card that overlaps the hero */
.elementor .jmh-searchband{position:relative;z-index:3;margin-top:-44px;margin-bottom:22px}
.jmh-qs{display:grid;grid-template-columns:1.6fr 1fr 1fr auto;gap:12px;padding:14px;background:#fff;border:1px solid var(--jmh-border);border-radius:18px;box-shadow:0 10px 30px rgba(10,42,107,.14)}
.jmh-qs__f{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;color:var(--jmh-navy)}
.jmh-qs__f:focus-within{outline:3px solid var(--jmh-yellow);outline-offset:1px}
.jmh-qs__f .jmh-ico{flex:none;width:22px;height:22px}
.jmh-qs__f input,.jmh-qs__f select{flex:1 1 auto;min-width:0;width:100%;height:48px;padding:0;border:0;outline:0;background:transparent;color:#1b2536;font:inherit;font-size:1rem}
.jmh-qs__btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 28px;border:0;border-radius:12px;background:var(--jmh-blue);color:#fff;font:inherit;font-weight:600;font-size:1.0625rem;cursor:pointer}
.jmh-qs__btn:hover,.jmh-qs__btn:focus-visible{background:#0846ae}
.jmh-qs__btn:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}

/* Category tiles */
.jmh-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:0}
.jmh-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px 6px;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;color:#1b2536;font-size:.9375rem;font-weight:500;line-height:1.25;text-align:center;text-decoration:none;box-shadow:0 2px 8px rgba(10,42,107,.06)}
.jmh-tile .jmh-ico{width:34px;height:34px;color:var(--jmh-blue)}
.jmh-tile:hover,.jmh-tile:focus-visible{border-color:var(--jmh-blue);color:var(--jmh-blue);transform:translateY(-1px)}
.jmh-tile:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}
.jmh-tile--more{position:relative;padding:0;display:block}
.jmh-tile--more summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px 6px;cursor:pointer;list-style:none}
.jmh-tile--more summary::-webkit-details-marker{display:none}
.jmh-tile--more summary span::after{content:" \25BE"}
.jmh-more-list{position:absolute;right:0;top:100%;z-index:20;min-width:200px;margin:6px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;box-shadow:0 10px 30px rgba(10,42,107,.16);text-align:left}
.jmh-more-list a{display:block;padding:8px 12px;border-radius:8px;color:#1b2536;text-decoration:none}
.jmh-more-list a:hover{background:var(--jmh-sky);color:var(--jmh-blue)}

/* Section heads */
.elementor .jmh-sec{padding-top:26px;padding-bottom:6px}
.elementor .jmh-head{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.elementor .jmh-head .elementor-widget{width:auto;flex:0 1 auto}
.elementor .jmh-head h2.elementor-heading-title{margin:0;padding-left:12px;border-left:5px solid var(--jmh-blue);color:#12284a;font-size:clamp(1.375rem,3vw,1.875rem);font-weight:700;line-height:1.2}
.elementor .jmh-head .elementor-button{background:transparent;color:var(--jmh-blue);padding:6px 0;font-family:var(--jmh-font);font-weight:600;font-size:1rem;border:0}
.elementor .jmh-head .elementor-button:hover,.elementor .jmh-head .elementor-button:focus-visible{background:transparent;color:#0846ae;text-decoration:underline}

/* Featured cards */
.jmh-feat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.jmh-fc{position:relative;display:flex;gap:14px;padding:16px;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;box-shadow:0 2px 8px rgba(10,42,107,.05)}
.jmh-fc:hover{border-color:#b9cdf2}
.jmh-fc__logo{flex:none;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;color:#fff;font-size:1.5rem;font-weight:700}
.jmh-hue-0{background:#0b57d0}.jmh-hue-1{background:#c0392b}.jmh-hue-2{background:#1b8a5a}.jmh-hue-3{background:#7a3fc4}.jmh-hue-4{background:#d97706}
.jmh-fc__body{min-width:0;flex:1 1 auto}
.jmh-fc__title{margin:0 108px 2px 0;font-size:1.125rem;line-height:1.35}
.jmh-fc__title a{color:#12284a;text-decoration:none}
.jmh-fc__title a::after{content:"";position:absolute;inset:0}
.jmh-fc__title a:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}
.jmh-fc__org{color:#4a586c;font-size:.9375rem}
.jmh-fc__meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:.875rem}
.jmh-fc__date{display:inline-flex;align-items:center;gap:6px;color:#4a586c}
.jmh-fc__date .jmh-ico{width:16px;height:16px;color:#c0392b}
.jmh-fc__date.jmh-s-urgent{color:var(--jms-urgent);font-weight:600}
.jmh-fc__apply{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;color:#12814a;font-weight:600;text-decoration:none}
.jmh-fc__apply:hover{text-decoration:underline}
.jmh-fc__apply .jmh-ico{width:16px;height:16px}
.jmh-fc__apply--closed{color:#7a8798}
.jmh-tag{position:absolute;top:12px;right:12px;padding:3px 12px;border-radius:99px;font-size:.8125rem;font-weight:600}
.jmh-tag--govt{background:#e3eeff;color:#0b4bb0}
.jmh-tag--private{background:#ece6ff;color:#4a2db0}

/* Latest ... panels */
.elementor .jmh-row{flex-direction:row;align-items:stretch;gap:20px}
.elementor .jmh-row>.elementor-widget,.elementor .jmh-row>.jmh-col{flex:1 1 0;min-width:0;width:auto}
.jmh-panel{height:100%;overflow:hidden;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;box-shadow:0 2px 8px rgba(10,42,107,.05)}
.jmh-panel__head{display:flex;align-items:center;gap:14px;padding:14px 18px;color:#fff;background:linear-gradient(100deg,#0a3a96,#0b57d0)}
.jmh-panel--purple .jmh-panel__head{background:linear-gradient(100deg,#4a2db0,#6a4be0)}
.jmh-panel__ico{display:flex;flex:none;align-items:center;justify-content:center;width:46px;height:46px;border-radius:10px;background:rgba(255,255,255,.16)}
.jmh-panel__ico .jmh-ico{width:28px;height:28px}
.jmh-panel__t{flex:1 1 auto;min-width:0}
.jmh-panel__t h3{margin:0;color:#fff;font-size:1.25rem;line-height:1.25}
.jmh-panel__t span{display:block;font-size:.875rem;opacity:.9;line-height:1.35}
.jmh-panel__more{display:inline-flex;align-items:center;gap:6px;flex:none;color:#fff;font-weight:600;font-size:.9375rem;text-decoration:none}
.jmh-panel__more .jmh-ico{width:16px;height:16px}
.jmh-panel__more:hover{text-decoration:underline;color:#fff}
.jmh-panel__list{margin:0;padding:6px 18px 10px;list-style:none}
.jmh-panel__list li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0;padding:11px 0;border-bottom:1px solid #edf1f8}
.jmh-panel__list li:last-child{border-bottom:0}
.jmh-panel__list a{position:relative;flex:1 1 auto;min-width:0;padding-left:18px;color:#12284a;font-weight:600;text-decoration:none}
.jmh-panel__list a::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--jmh-blue)}
.jmh-panel--purple .jmh-panel__list a::before{background:var(--jmh-purple)}
.jmh-panel__list a:hover{text-decoration:underline}
.jmh-panel__list time{flex:none;color:#4a586c;font-size:.9375rem;white-space:nowrap}
.jmh-panel__empty{padding:24px 18px;color:#4a586c}

/* Why choose */
.elementor .jmh-why{margin-top:26px;background:var(--jmh-sky);border:1px solid var(--jmh-border);border-radius:14px;overflow:hidden}
.jmh-whyrow{display:grid;grid-template-columns:1.5fr repeat(5,1fr);align-items:stretch}
.jmh-whyrow>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 10px;text-align:center;color:#12284a;font-weight:600;line-height:1.3;border-left:1px solid #cfdcf3}
.jmh-whyrow>div:first-child{align-items:flex-start;border-left:0;padding:18px 22px;text-align:left}
.jmh-whyrow h3{margin:0;color:var(--jmh-blue);font-size:1.5rem;line-height:1.2}
.jmh-whyrow small{display:block;color:#33445c;font-size:.9375rem;font-weight:400}
.jmh-whyrow svg{width:30px;height:30px;color:var(--jmh-blue)}
.jmh-whyrow .jmh-heart{color:#e0314b}

/* Latest updates + subscribe */
.elementor .jmh-lower{margin-top:26px}
.elementor .jmh-lower h2.elementor-heading-title{margin:0 0 8px;color:#12284a;font-size:1.5rem;font-weight:700}
.jmh-up{margin:0;padding:0;list-style:none}
.jmh-up li{display:flex;align-items:baseline;gap:12px;margin:0;padding:12px 0;border-bottom:1px solid var(--jmh-border)}
.jmh-new{flex:none;min-width:46px;padding:2px 8px;border-radius:5px;background:#e5322d;color:#fff;font-size:.75rem;font-weight:700;text-align:center;letter-spacing:.02em}
.jmh-new--off{visibility:hidden}
.jmh-up a{flex:1 1 auto;min-width:0;color:#12284a;font-weight:600;text-decoration:none}
.jmh-up a:hover{text-decoration:underline}
.jmh-up time{flex:none;color:#4a586c;font-size:.9375rem;white-space:nowrap}
.jmh-sub{height:100%;padding:22px;border-radius:14px;background:linear-gradient(120deg,#0a2a6b,#0b47b0);color:#fff}
.jmh-sub__top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.jmh-sub__top .jmh-ico{flex:none;width:44px;height:44px}
.jmh-sub__top h3{margin:0;color:#fff;font-size:1.375rem;line-height:1.25}
.jmh-sub__top span{display:block;color:#d5e2fa;font-size:.9375rem}
.jmh-sub__form{display:flex;gap:10px}
.jmh-sub__form input[type=email]{flex:1 1 auto;min-width:0;min-height:48px;padding:0 14px;border:0;border-radius:10px;background:#fff;color:#1b2536;font:inherit}
.jmh-sub__form input[type=email]:focus{outline:3px solid var(--jmh-yellow);outline-offset:1px}
.jmh-sub__form button{flex:none;min-height:48px;padding:0 24px;border:0;border-radius:10px;background:var(--jmh-yellow);color:#1b2536;font:inherit;font-weight:700;cursor:pointer}
.jmh-sub__form button:hover,.jmh-sub__form button:focus-visible{background:#ffc928}
.jmh-sub__form button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.jmh-sub__form button:disabled{opacity:.6;cursor:wait}
.jmh-sub__msg{min-height:1.5em;margin-top:10px;font-size:.9375rem;font-weight:600}
.jmh-sub__msg.is-ok{color:#9ff0b8}
.jmh-sub__msg.is-err{color:#ffd1cc}

/* Browse all */
.jms-filter--cat{grid-template-columns:2fr 1fr 1fr 1fr 1fr auto}
.jms-field select{appearance:auto}
.elementor .jmh-all{padding-top:30px;padding-bottom:40px}

/* Responsive */
@media (max-width:1024px){
  .jmh-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .jmh-qs{grid-template-columns:1fr 1fr}
  .jmh-qs__f--q,.jmh-qs__btn{grid-column:1/-1}
  .jmh-whyrow{grid-template-columns:repeat(5,1fr)}
  .jmh-whyrow>div:first-child{grid-column:1/-1;border-bottom:1px solid #cfdcf3}
  .jmh-whyrow>div:nth-child(2){border-left:0}
  .jms-filter--cat{grid-template-columns:1fr 1fr}
  .jms-filter--cat .jms-field--q,.jms-filter--cat .jms-filter__actions{grid-column:1/-1}
}
@media (max-width:767px){
  .elementor .jmh-hero>.jmh-in{flex-direction:column;align-items:flex-start;padding-top:32px}
  .elementor .jmh-hero__side{align-items:flex-start;text-align:left}
  .elementor .jmh-hero .jmh-tagline .elementor-heading-title{transform:none}
  .elementor .jmh-row{flex-direction:column}
  .elementor .jmh-row>.elementor-widget,.elementor .jmh-row>.jmh-col{flex:none;width:100%}
  .jmh-feat{grid-template-columns:1fr}
  .jmh-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jmh-qs{grid-template-columns:1fr}
  .jmh-whyrow{grid-template-columns:repeat(2,1fr)}
  .jmh-whyrow>div{border-left:0;border-top:1px solid #cfdcf3}
  .jmh-whyrow>div:first-child{border-top:0}
  .jmh-sub__form{flex-direction:column}
  .jmh-panel__head{flex-wrap:wrap}
  .jmh-more-list{left:0;right:auto}
  .jms-filter--cat{grid-template-columns:1fr}
}

/* =====================================================================
   Header and footer (EHFB templates "Jobsmaa Header" / "Jobsmaa Footer")
   ===================================================================== */
.jmh-logo{display:inline-flex;align-items:center;gap:10px;line-height:1;text-decoration:none}
.jmh-logo__ico{flex:none}
.jmh-logo__txt{display:flex;flex-direction:column;gap:3px}
.jmh-logo__name{font-family:var(--jms-font);font-size:1.75rem;font-weight:700;letter-spacing:-.02em;line-height:1}
.jmh-logo__a{color:var(--jms-heading)}
.jmh-logo__b{color:#f08a1c}
.jmh-logo__tag{color:#566478;font-size:.8125rem;font-weight:500;line-height:1.1}
.jmh-logo--dark .jmh-logo__a{color:#fff}
.jmh-logo--dark .jmh-logo__b{color:var(--jmh-yellow)}
.jmh-logo--dark .jmh-logo__tag{color:#c8d6ee}
.jmh-logo:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:3px;border-radius:6px}

.jmh-cta{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border-radius:99px;background:var(--jmh-blue);color:#fff;font-family:var(--jms-font);font-size:1rem;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none}
.jmh-cta:hover,.jmh-cta:focus-visible{background:#0846ae;color:#fff}
.jmh-cta:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}
.jmh-cta .jms-ico{width:18px;height:18px}

/* Header */
.elementor .jmh-header{border-bottom:1px solid var(--jmh-border);background:#fff}
.jmh-header .elementor-widget-shortcode,.jmh-header .elementor-widget-html{width:auto;flex:0 0 auto}
.jmh-header .elementor-widget-ehfb-nav-menu{flex:1 1 auto;min-width:0}
.jmh-header .ehfb-menu>li>a{position:relative;padding:12px 13px;font-family:var(--jms-font);font-size:15px;font-weight:500;white-space:nowrap}
.jmh-header .ehfb-menu>li.current-menu-item>a,
.jmh-header .ehfb-menu>li.current-menu-ancestor>a,
.jmh-header .ehfb-menu>li.current_page_item>a{color:var(--jmh-blue)}
.jmh-header .ehfb-menu .sub-menu a{font-family:var(--jms-font);font-size:15px}
@media (min-width:1025px){
  .jmh-header .ehfb-menu>li>a::after{content:"";position:absolute;left:13px;right:13px;bottom:2px;height:3px;border-radius:3px;background:var(--jmh-blue);transform:scaleX(0);transform-origin:left;transition:transform .18s}
  .jmh-header .ehfb-menu>li:hover>a::after,
  .jmh-header .ehfb-menu>li.current-menu-item>a::after,
  .jmh-header .ehfb-menu>li.current_page_item>a::after{transform:scaleX(1)}
  .jmh-header .ehfb-menu>li.menu-item-has-children>a{padding-right:26px}
  .jmh-header .ehfb-menu>li.menu-item-has-children>a::before{content:"";position:absolute;right:11px;top:50%;width:6px;height:6px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg)}
}
@media (max-width:767px){
  .jmh-header .jmh-cta{display:none}
  .jmh-logo__name{font-size:1.5rem}
  .jmh-logo__tag{font-size:.75rem}
}
@media (prefers-reduced-motion:reduce){.jmh-header .ehfb-menu>li>a::after{transition:none}}

/* Footer */
.elementor .jmh-footer{background:linear-gradient(180deg,#0a2a6b,#08224f);color:#d5e2fa}
.jmh-footer .elementor-widget{width:auto}
.elementor .jmh-frow{flex-wrap:wrap}
.jmh-flinks{display:flex;flex-wrap:wrap;gap:6px 0}
.jmh-flinks a{padding:0 14px;border-left:1px solid rgba(255,255,255,.35);color:#fff;font-size:.9375rem;line-height:1.2;text-decoration:none}
.jmh-flinks a:first-child{padding-left:0;border-left:0}
.jmh-flinks a:hover,.jmh-flinks a:focus-visible{color:var(--jmh-yellow);text-decoration:underline}
.jmh-follow{display:flex;align-items:center;gap:12px;color:#fff;font-weight:600}
.jmh-soc{display:flex;flex-wrap:wrap;gap:8px}
.jmh-soc__a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#fff}
.jmh-soc__a svg{width:19px;height:19px}
.jmh-soc__a:hover,.jmh-soc__a:focus-visible{color:#fff;filter:brightness(1.12);transform:translateY(-1px)}
.jmh-soc__a:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}
.jmh-soc__a--fb{background:#1877f2}
.jmh-soc__a--yt{background:#e62117}
.jmh-soc__a--tg{background:#229ed9}
.jmh-soc__a--wa{background:#1fa855}
.jmh-soc__a--in{background:#0a66c2}
.elementor .jmh-fbottom{border-top:1px solid rgba(255,255,255,.18);padding-top:14px}
.jmh-made{color:#d5e2fa;font-size:.875rem;text-align:right}
.jmh-made .jmh-hrt{color:#ff4d6a}
@media (max-width:767px){
  .elementor .jmh-frow,.elementor .jmh-fbottom{flex-direction:column;align-items:center;text-align:center}
  .jmh-flinks{justify-content:center}
  .jmh-made{text-align:center}
}

/* =====================================================================
   Starter pages: About, Contact, Terms, Privacy
   ===================================================================== */
.jms-btn--light{background:#fff;border-color:#fff;color:var(--jmh-navy)}
.jms-btn--light:hover,.jms-btn--light:focus-visible{background:var(--jmh-yellow);border-color:var(--jmh-yellow);color:#1b2536}
.jms-field textarea{width:100%;min-height:140px;padding:10px 12px;border:1px solid #b9c5d8;border-radius:8px;background:#fff;color:var(--jms-text);font:inherit;line-height:1.6;resize:vertical}
.jms-field textarea:focus{outline:3px solid #f2b01e;outline-offset:1px;border-color:var(--jms-ink)}

/* Hide Hello's page title on designed pages (kept for screen readers and SEO) */
body.jms-designed .page-header{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
body.jms-designed .site-main{max-width:1040px;margin:0 auto;padding:20px 16px 52px}

/* Hero band */
body.jms-theme .page-content .jmp-hero{position:relative;overflow:hidden;margin:0 0 30px;padding:clamp(28px,5vw,52px) clamp(22px,5vw,48px);border-radius:18px;background:linear-gradient(115deg,#0a2a6b 0%,#0b47b0 72%,#1b6be0 100%);color:#fff}
body.jms-theme .page-content .jmp-hero::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(247,181,0,.16);pointer-events:none}
.jmp-eyebrow{display:inline-block;margin-bottom:12px;padding:3px 12px;border-radius:99px;background:var(--jmh-yellow);color:#1b2536;font-size:.8125rem;font-weight:700}
body.jms-theme .page-content .jmp-title{margin:0 0 12px;color:#fff;font-size:clamp(1.75rem,4.4vw,2.75rem);font-weight:700;line-height:1.18;letter-spacing:-.01em;max-width:18em}
body.jms-theme .page-content .jmp-sub{max-width:40em;margin:0;color:#d9e5fa;font-size:clamp(1rem,2vw,1.1875rem);line-height:1.6}
.jmp-hero__btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}

/* Cards */
.jmp-grid{display:grid;gap:16px;margin:0 0 32px}
.jmp-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.jmp-card{padding:20px;background:#fff;border:1px solid var(--jmh-border);border-radius:14px;box-shadow:0 2px 8px rgba(10,42,107,.05)}
.jmp-card__ico{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:12px;border-radius:12px;background:var(--jmh-sky);color:var(--jmh-blue)}
.jmp-card__ico .jmh-ico{width:26px;height:26px}
body.jms-theme .page-content .jmp-card h3{margin:0 0 6px;padding:0;border:0;background:none;font-size:1.1875rem}
body.jms-theme .page-content .jmp-card p{margin:0;color:#3d4b5f;font-size:1rem;line-height:1.65}

/* Steps */
body.jms-theme .page-content ol.jmp-steps{display:grid;gap:12px;margin:0 0 32px;padding:0;list-style:none;counter-reset:jmp}
body.jms-theme .page-content ol.jmp-steps li{position:relative;display:flex;flex-direction:column;gap:2px;margin:0;padding:16px 18px 16px 70px;background:#fff;border:1px solid var(--jmh-border);border-radius:12px;counter-increment:jmp}
body.jms-theme .page-content ol.jmp-steps li::before{content:counter(jmp);position:absolute;left:16px;top:50%;display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin-top:-19px;border-radius:50%;background:var(--jmh-blue);color:#fff;font-weight:700}
body.jms-theme .page-content ol.jmp-steps li::marker{content:""}
.jmp-steps strong{color:var(--jms-heading);font-size:1.0625rem}
.jmp-steps span{color:#3d4b5f}

/* Note and call-to-action */
.jmp-note{margin:0 0 30px;padding:16px 18px;border-left:5px solid var(--jmh-yellow);border-radius:0 12px 12px 0;background:#fff8e1;color:#4a3b00;line-height:1.65}
.jmp-cta{margin:0 0 10px;padding:6px 0}
body.jms-theme .page-content .jmp-cta h2{margin-top:0}

/* Contact layout */
.jmp-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;align-items:start}
.jmp-contact__info{display:grid;gap:14px}
.jmp-contact__info .jmp-note{margin:0}
.jmp-contact__form{padding:24px;background:#fff;border:1px solid var(--jmh-border);border-radius:16px;box-shadow:0 6px 20px rgba(10,42,107,.08)}
body.jms-theme .page-content .jmp-contact__form h2{margin:0 0 16px;padding:0;border:0;background:none;font-size:1.5rem}
.jmp-form{display:grid;gap:14px}
.jmp-form .jms-btn{justify-self:start;min-width:160px}
.jmp-form .jms-btn:disabled{opacity:.6;cursor:wait}
.jmp-form__msg{min-height:1.5em;font-weight:600}
.jmp-form__msg.is-ok{color:#0f7a3d}
.jmp-form__msg.is-err{color:#b32d2e}

/* Legal pages: numbered sections */
body.jms-theme .page-content .jmp-legal{counter-reset:legal;max-width:780px;margin:0 auto}
body.jms-theme .page-content .jmp-legal h2{counter-increment:legal;display:flex;align-items:baseline;gap:12px;margin:1.9em 0 .5em;padding:0;border:0;background:none;font-size:1.375rem}
body.jms-theme .page-content .jmp-legal h2::before{content:counter(legal);flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--jmh-sky);color:var(--jmh-blue);font-size:1rem;font-weight:700}
body.jms-theme .page-content .jmp-legal p{margin:0 0 .9em;padding-left:46px;color:#2a3648}

@media (max-width:860px){
  .jmp-grid--3{grid-template-columns:1fr}
  .jmp-contact{grid-template-columns:1fr}
}
@media (max-width:520px){
  body.jms-theme .page-content ol.jmp-steps li{padding-left:62px}
  body.jms-theme .page-content .jmp-legal p{padding-left:0}
  .jmp-form .jms-btn{justify-self:stretch}
}

/* =====================================================================
   Home polish (v1.5): rhythm, hero board, stats, chips, no-wrap fixes
   ===================================================================== */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
#jobs,#alerts{scroll-margin-top:96px}

/* Section rhythm: white and soft-blue bands */
.elementor .jmh-band.jmh-pad{padding-top:38px;padding-bottom:38px}
.elementor .jmh-band.jmh-alt{background:var(--jmh-page)}
.elementor .jmh-tilesband{padding-top:4px;padding-bottom:6px}
.elementor .jmh-sec{padding-top:0;padding-bottom:0}

/* Tiles fill the row whatever the count */
.jmh-tiles{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}
.jmh-tile small{display:block;margin-top:-4px;color:#667589;font-size:.8125rem;font-weight:400}

/* Headings never wrap awkwardly */
.elementor .jmh-head h2.elementor-heading-title{white-space:nowrap}
.elementor .jmh-head .elementor-button{white-space:nowrap}
.jmh-panel__more,.jmh-panel__t h3{white-space:nowrap}
.jmh-panel__t h3{overflow:hidden;text-overflow:ellipsis}

/* Featured cards */
.jmh-fc__meta>*{white-space:nowrap}
.jmh-fc__vac{display:inline-flex;align-items:center;padding:1px 10px;border-radius:99px;background:var(--jmh-sky);color:#0b4bb0;font-weight:600}
@media (prefers-reduced-motion:no-preference){
  .jmh-fc,.jmh-tile,.jmh-chip{transition:box-shadow .18s,transform .18s,border-color .18s}
}
.jmh-fc:hover{box-shadow:0 8px 22px rgba(10,42,107,.12);transform:translateY(-2px)}
.jmh-tile:hover{box-shadow:0 8px 20px rgba(10,42,107,.12)}

/* Equal-height panels */
.elementor .jmh-row>.elementor-widget-shortcode,
.elementor .jmh-row>.elementor-widget-shortcode>.elementor-widget-container,
.elementor .jmh-row>.elementor-widget-shortcode .elementor-shortcode{height:100%}
.jmh-panel{display:flex;flex-direction:column}
.jmh-panel__list,.jmh-panel__empty{flex:1 1 auto}
.jmh-panel__empty{display:flex;flex-direction:column;gap:4px;padding:26px 20px}
.jmh-panel__empty strong{color:#12284a;font-size:1.0625rem}
.jmh-panel__empty span{color:#4a586c}
.jmh-panel__empty a{align-self:flex-start;margin-top:8px;font-weight:600}

/* Hero: stats on the left, live Closing soon board on the right */
.jmh-stats{display:flex;flex-wrap:wrap;gap:12px 34px;margin-top:22px}
.jmh-stat b{display:block;color:var(--jmh-yellow);font-size:1.875rem;font-weight:700;line-height:1.1}
.jmh-stat span{color:#d5e2fa;font-size:.875rem}
.elementor .jmh-hero__side{align-items:stretch;text-align:left;flex:1 1 40%}
.elementor .jmh-board{background:#fff;border-radius:14px;border-top:5px solid var(--jms-urgent);padding:4px 18px 10px;box-shadow:0 14px 34px rgba(4,20,64,.35)}
.elementor .jmh-board .elementor-heading-title{margin:14px 0 2px;color:#12284a;font-size:1.1875rem;line-height:1.3}
.elementor .jmh-board .elementor-widget{margin:0}
.jmh-board .jmh-cs__row{padding:11px 0}
.jmh-board .jmh-cs__title{font-size:.9375rem}

/* Browse chips */
.jmh-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.jmh-chip{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 8px 0 16px;border:1px solid var(--jmh-border);border-radius:99px;background:#fff;color:#12284a;font-weight:600;text-decoration:none}
.jmh-chip small{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border-radius:99px;background:var(--jmh-sky);color:var(--jmh-blue);font-size:.8125rem;font-weight:700}
.jmh-chip:hover,.jmh-chip:focus-visible{border-color:var(--jmh-blue);color:var(--jmh-blue)}
.jmh-chip:focus-visible{outline:3px solid var(--jmh-yellow);outline-offset:2px}
.elementor .jmh-subhead .elementor-heading-title{margin:0 0 12px;color:#12284a;font-size:1.1875rem;font-weight:700}
.elementor .jmh-subhead{margin-top:22px}

@media (max-width:767px){
  .elementor .jmh-hero__side{flex:none;width:100%}
  .jmh-stats{gap:10px 24px}
  .jmh-stat b{font-size:1.5rem}
  .elementor .jmh-head h2.elementor-heading-title{white-space:normal}
  .elementor .jmh-band.jmh-pad{padding-top:30px;padding-bottom:30px}
}

/* Flex children may shrink below their content width (prevents overflow with long titles) */
.elementor .jmh-hero__copy,.elementor .jmh-hero__side,.elementor .jmh-board,.elementor .jmh-col,.elementor .jmh-row>.elementor-widget{min-width:0}
.jmh-fc__body,.jmh-cs__title,.jmh-panel__list a,.jmh-up a{overflow-wrap:anywhere}

/* Polish round 2 */
.jms-card__btns .jms-btn{min-height:40px;padding:0 14px;font-size:.9375rem}
.jmh-panel__list a,.jmh-up a,.jmh-cs__title{line-height:1.45}
.jmh-chip{white-space:nowrap}
.elementor .jmh-subhead{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;padding:0;gap:0;width:100%}
.jmh-qs__btn{width:100%}
@media (min-width:768px){
  .jms-results__title{white-space:nowrap}
}
@media (max-width:640px){
  .jms-card__side{min-width:0}
}

/* Phones: hero columns stack, so drop the desktop flex-basis */
@media (max-width:767px){
  .elementor .jmh-hero__copy,.elementor .jmh-hero__side{flex:none;width:100%}
  .elementor .jmh-hero>.jmh-in{gap:22px}
}

/* Polish round 3: phones */
.jmh-sub__top .jmh-ico{color:#fff}
@media (max-width:1024px){
  .jmh-whyrow{display:flex;flex-wrap:wrap}
  .jmh-whyrow>div:first-child{flex:1 1 100%}
  .jmh-whyrow>div:not(:first-child){flex:1 1 20%;min-width:0}
}
@media (max-width:767px){
  .jmh-whyrow>div:not(:first-child){flex:1 1 50%;border-left:0;border-top:1px solid #cfdcf3}
  .jmh-qs{display:flex;flex-direction:column}
  .jmh-qs>*{width:100%}
  .jmh-fc{padding-top:48px}
  .jmh-fc__logo{width:48px;height:48px;font-size:1.25rem}
  .jmh-fc__title{margin-right:0}
  .jmh-tag{top:12px;right:auto;left:16px}
}
