.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* Filipino Hub: job card hover and active states
 * Paste into Appearance > Customize > Additional CSS
 * (or Elementor > Site Settings > Custom CSS). Replace the older version.
 *
 * Hover:  border #743EB799, 1px -> 1.2px.
 * Active (the job open in the detail panel): border 1.2px #743EB7 and
 *         the job title turns #743EB7. The widget adds .is-selected to
 *         the card's .e-loop-item when a job is opened.
 *
 * The border rules cover both places the card border can live: the
 * a.job-card link container, or the loop item's top container.
 */
.e-loop-item a.job-card,
.e-loop-item > .e-con {
    transition: border-color 0.2s ease, border-width 0.2s ease;
}

/* Hover (and keyboard focus) on cards that are not the open job. */
.e-loop-item:not(.is-selected) a.job-card:hover,
.e-loop-item:not(.is-selected) a.job-card:focus-visible,
.e-loop-item:not(.is-selected) > .e-con:hover {
    border-color: #743EB799 !important;
    border-width: 1.2px !important;
}

/* Active card border. */
.e-loop-item.is-selected a.job-card,
.e-loop-item.is-selected > .e-con {
    border-color: #743EB7 !important;
    border-width: 1.2px !important;
}

/* Active card title. Works with the Post Title widget out of the box.
   If the title is a plain Heading widget, add the class job-card-title
   to it (Advanced > CSS Classes) so the tags stay their own colors. */
.e-loop-item.is-selected .elementor-widget-theme-post-title .elementor-heading-title,
.e-loop-item.is-selected .job-card-title .elementor-heading-title,
.e-loop-item.is-selected .job-card-title a {
    color: #743EB7 !important;
}

/* "Seen" badge. The widget adds it to every card automatically, top right,
   so there is nothing to build in the card template. It stays hidden until
   the person has opened that job and moved on to another one, and hides
   again while that job is open. (If you ever add your own element with the
   class job-seen-badge to the card, the widget uses that one instead.) */
.e-loop-item a.job-card { position: relative; }
.job-seen-badge.is-auto {
    /* Figma "_Badge base": Dust Grey border, Gunmetal text, Roboto Medium 12/20. */
    position: absolute;
    top: 16px;    /* card padding, Figma "Tags" row at 16/16 */
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px !important;
    height: 24px !important;
    box-sizing: border-box !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    border: 1px solid #D6D6D6 !important;
    border-radius: 4px !important;
    background: transparent;
    color: #3D3D3D;
    font-family: "Roboto", sans-serif;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    white-space: nowrap;
    pointer-events: none;
}
body:not(.elementor-editor-active) .e-loop-item:not(.is-seen) .job-seen-badge,
body:not(.elementor-editor-active) .e-loop-item.is-selected .job-seen-badge {
    display: none !important;
}

/* Job type tags: fixed size instead of stretching across the card.
   Full-time 64 x 24, Part-time 67 x 24. The job-type-tag and
   is-part-time classes are added by the part-time tag snippet. */
.e-loop-item .job-type-tag,
.job-detail-panel .job-type-tag {
    --container-widget-width: 64px;
    --container-widget-flex-grow: 0;
    width: 64px !important;
    max-width: 64px !important;
    height: 24px !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
    padding: 2px 8px !important;
    margin: 0 !important;
}
.e-loop-item .job-type-tag:not([hidden]),
.job-detail-panel .job-type-tag:not([hidden]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.e-loop-item .job-type-tag.is-part-time,
.job-detail-panel .job-type-tag.is-part-time {
    --container-widget-width: 67px;
    width: 67px !important;
    max-width: 67px !important;
}
.e-loop-item .job-type-tag,
.job-detail-panel .job-type-tag,
.e-con:has(> .job-type-tag:only-child) {
    border-radius: 4px !important;
}
.e-loop-item .job-type-tag .elementor-heading-title,
.job-detail-panel .job-type-tag .elementor-heading-title {
    /* Same type as the Seen badge (Figma "_Badge base"): Roboto Medium 12/20. */
    font-family: "Roboto", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    white-space: nowrap;
    text-align: center;
}

/* If the tag's Heading sits alone inside its own Container (as in the
   card template), that Container carries the background, so size the
   Container instead and let the Heading fill it. */
.e-loop-item .e-con:has(> .job-type-tag:only-child),
.job-detail-panel .e-con:has(> .job-type-tag:only-child) {
    --width: 64px;
    --flex-grow: 0;
    --flex-shrink: 0;
    width: 64px !important;
    max-width: 64px !important;
    min-width: 0 !important;
    height: 24px !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}
.e-loop-item .e-con:has(> .job-type-tag.is-part-time:only-child),
.job-detail-panel .e-con:has(> .job-type-tag.is-part-time:only-child) {
    --width: 67px;
    width: 67px !important;
    max-width: 67px !important;
}
.e-con:has(> .job-type-tag:only-child) > .job-type-tag {
    --container-widget-width: 100%;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
}

/* Job type tag colours (Full-time and Part-time alike), per Figma:
   background FilHub/Lavender #E3E7FC, text FilHub/Indigo Bloom #743EB7,
   Roboto Medium 12/20, centred. "body" raises specificity over the
   Elementor widget styles and the part-time tag snippet. */
body .e-loop-item .job-type-tag,
body .job-detail-panel .job-type-tag,
body .e-con:has(> .job-type-tag:only-child) {
    background: #E3E7FC !important;
    background-color: #E3E7FC !important;
}
body .e-loop-item .job-type-tag .elementor-heading-title,
body .job-detail-panel .job-type-tag .elementor-heading-title,
body .e-loop-item .job-type-tag .elementor-heading-title a,
body .job-detail-panel .job-type-tag .elementor-heading-title a {
    color: #743EB7 !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 12px !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
}
/* Tag pills: job type + industry (detail panel and cards) */

/* 1. Strip the widget wrapper's spacing so it can't add height */
.job-dynamic-type.elementor-element,
.job-dynamic-industry.elementor-element,
.job-card-industry.elementor-element,
.job-dynamic-type .elementor-widget-container,
.job-dynamic-industry .elementor-widget-container,
.job-card-industry .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

/* 2. Same box for all tags */
.job-dynamic-type:not(.elementor-element),
.job-dynamic-industry:not(.elementor-element),
.job-dynamic-type .elementor-heading-title,
.job-dynamic-industry .elementor-heading-title,
.job-card-industry .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

/* 3. Colors */
.job-dynamic-type:not(.elementor-element),
.job-dynamic-type .elementor-heading-title {
  background: #E3E7FC !important;
  color: #743EB7 !important;
}
.job-dynamic-industry:not(.elementor-element),
.job-dynamic-industry .elementor-heading-title,
.job-card-industry .elementor-heading-title {
  background: #EBEBEB !important;
  color: #333333 !important;
}

/* 4. Hide the card pill when a job has no industry */
.job-card-industry .elementor-heading-title:empty {
  display: none !important;
}

/* Platform link in the detail panel: "VIA JOBSDB", styled as one link */
.job-dynamic-platform .elementor-heading-title::before {
  content: "via ";
  white-space: pre;   /* keeps the space so the underline runs straight through */
}

/* No "via" if a job has no platform */
.job-dynamic-platform .elementor-heading-title:empty::before {
  content: none;
}
/* "View Job Listing" button in the detail panel (Figma: 151 x 44) */
.job-dynamic-apply .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  height: 44px !important;
  min-width: 151px !important;
  padding: 10px 16px !important;
  border: 1px solid #743EB7 !important;
  border-radius: 6px !important;
  background: #743EB7 !important;
  color: #FFFFFF !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
}

/* ---------- Job listing pagination (Figma "Frame 246") ---------- */

/* Pagination row goes below the "Want to post your job here?" banner, as in Figma */
.filhub-jobs-grid,
.filhub-jobs-grid > .elementor-widget-container {
  display: contents !important;
}

.filhub-jobs-grid .elementor-pagination {
  order: 99;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  margin: 0 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}

/* Counter on the left: "1 - 7 of 28 Jobs" */
.filhub-jobs-count {
  margin-right: auto;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #707070;
}
.filhub-jobs-count__range {
  color: #080808;
}

/* ---------- Page numbers (Figma "_Badge base") ---------- */

/* Inactive page number */
.filhub-jobs-grid .elementor-pagination .page-numbers:not(.prev):not(.next) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-width: 24px !important;   /* 24 x 24, grows for 2-digit pages */
  height: 24px !important;
  margin: 0 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  background: transparent !important;
  opacity: 1 !important;
  color: #3D3D3D !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
}

/* Active page */
.filhub-jobs-grid .elementor-pagination .page-numbers.current:not(.prev):not(.next) {
  background: #743EB7 !important;
  color: #FFFFFF !important;
}

/* Hover on other pages */
.filhub-jobs-grid .elementor-pagination a.page-numbers:not(.prev):not(.next):hover {
  background: #743EB799 !important;
  color: #FFFFFF !important;
}

/* "…" */
.filhub-jobs-grid .elementor-pagination .page-numbers.dots:not(.prev):not(.next) {
  color: #757575 !important;
}

/* ---------- Prev / next chevrons: 16 x 16 icon, 4 x 8 chevron, 1.6px stroke ---------- */
.filhub-jobs-grid .elementor-pagination .page-numbers.prev,
.filhub-jobs-grid .elementor-pagination .page-numbers.next {
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-color: #000000 !important;
  -webkit-mask: var(--chev) center / 16px 16px no-repeat;
          mask: var(--chev) center / 16px 16px no-repeat;
}

/* Left chevron: x 6–10, y 4–12 */
.filhub-jobs-grid .elementor-pagination .page-numbers.prev {
  margin: 0 8px 0 0 !important;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4 6 8l4 4'/%3E%3C/svg%3E");
}

/* Right chevron: x 6–10, y 4–12 */
.filhub-jobs-grid .elementor-pagination .page-numbers.next {
  margin: 0 0 0 8px !important;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E");
}

/* Disabled arrow (first / last page): Elementor renders it as a span */
.filhub-jobs-grid .elementor-pagination span.page-numbers.prev,
.filhub-jobs-grid .elementor-pagination span.page-numbers.next {
  background-color: #C2C2C2 !important;
}
.filhub-jobs-grid .elementor-pagination a.page-numbers.prev:hover,
.filhub-jobs-grid .elementor-pagination a.page-numbers.next:hover {
  background-color: #743EB7 !important;
}

/* Card meta item (Experience Level): icon + text */
.e-loop-item .job-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #3D3D3D;
  white-space: nowrap;
}
.e-loop-item .job-card-meta-item svg {
  flex: 0 0 auto;
  color: #3D3D3D;
}
/* Card meta row: company + level side by side, location on its own line */
.job-card-meta-row > .e-con {
  --width: auto;
  width: auto !important;
  flex: 0 1 auto !important;
  max-width: 100%;
}
/* Location (last item) always takes a full line */
.job-card-meta-row > .e-con:last-child {
  --width: 100%;
  width: 100% !important;
  flex: 0 0 100% !important;
}
/* Line up the level with the company text */
.job-card-meta-row {
  align-items: center !important;
}
.job-card-meta-row .elementor-shortcode {
  display: flex;
  line-height: 0;   /* removes the space under the item; its own line-height still applies */
}
/* Card meta line 2: location + work setting side by side */
.job-card-meta-line {
  align-items: center !important;
}
.job-card-meta-line > .e-con {
  --width: auto;
  width: auto !important;
  flex: 0 1 auto !important;
  max-width: 100%;
}

/* Detail panel meta row: company · location · level · setting · schedule · VIA */
.job-panel-meta-row {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 24px !important;
}
.job-panel-meta-row > .e-con {
  --width: auto;
  width: auto !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
}
/* Keep the icons centred on the text */
.job-panel-meta-row .elementor-widget-html {
  line-height: 0;
}
/* Card tags row: leave room for the "Seen" badge (43px + 8px gap) and wrap if needed */
.e-loop-item .job-card-tags {
  flex-wrap: wrap !important;
  padding-right: 52px !important;
  row-gap: 8px !important;
}

/* "A quick note to our community": collapsible */
.job-note {
  position: relative;
}

/* The toggle widget sits in the top-right corner of the box */
.job-note .job-note-toggle-widget {
  position: absolute !important;
  top: 12px;
  right: 16px;
  width: auto !important;
  margin: 0 !important;
  line-height: 0;
  z-index: 2;
}

/* Keep the title clear of the chevron */
.job-note > :first-child,
.job-note > .e-con-inner > :first-child {
  padding-right: 32px;
}

.job-note .job-note-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  color: #1E3A8A;        /* match the title's blue */
  cursor: pointer;
}
.job-note .job-note-toggle:hover,
.job-note .job-note-toggle:focus {
  background: none;
  color: #1E3A8A;
}
.job-note .job-note-toggle:focus-visible {
  outline: 2px solid #1E3A8A;
  outline-offset: 2px;
}
.job-note .job-note-toggle svg {
  transition: transform 0.2s ease;
}
.job-note.is-collapsed .job-note-toggle svg {
  transform: rotate(180deg);   /* points down when hidden */
}

/* Hidden: only the title row stays */
.job-note.is-collapsed > *:not(:first-child):not(.job-note-toggle-widget),
.job-note.is-collapsed > .e-con-inner > *:not(:first-child):not(.job-note-toggle-widget) {
  display: none !important;
}

/* Detail panel: "back to top" button (Figma "Button Component" 7649:10311) */
.job-detail-panel .job-scroll-top-widget {
  position: sticky !important;
  bottom: 24px;
  align-self: flex-end !important;
  width: auto !important;
  margin: -56px 0 0 0 !important;   /* sits over the panel's last lines, adds no height */
  line-height: 0;
  z-index: 5;
  pointer-events: none;             /* only the button itself is clickable */
}
.job-scroll-top {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #743EB7;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}
.job-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.job-scroll-top:hover,
.job-scroll-top:focus {
  background: #5A2F9A;
  color: #FFFFFF;
}
.job-scroll-top:focus-visible {
  outline: 2px solid #743EB7;
  outline-offset: 2px;
}

/* Back-to-top: phone version at the end of the listing (Figma mobile 7573:10500) */

/* Hidden on tablet and desktop: the panel has its own button there */
.job-browser > .job-scroll-top-widget,
.job-browser > .e-con-inner > .job-scroll-top-widget {
  display: none !important;
}

@media (max-width: 767px) {
    /* Phone: show the listing's button, sticky in the bottom-right corner */
  .job-browser > .job-scroll-top-widget,
  .job-browser > .e-con-inner > .job-scroll-top-widget {
    display: flex !important;
    justify-content: flex-end !important;   /* button on the right */
    position: sticky !important;
    bottom: 16px;
    width: 100% !important;
    max-width: 100% !important;
    margin: -48px 0 0 0 !important;          /* rests on the note box's bottom-right corner */
    line-height: 0;
    z-index: 5;
    pointer-events: none;                    /* only the button itself is clickable */
  }
  .job-browser > .job-scroll-top-widget > .elementor-widget-container,
  .job-browser > .e-con-inner > .job-scroll-top-widget > .elementor-widget-container {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100%;
  }
}

/* Keep Elementor's "Hide on Desktop / Tablet / Mobile" working on the job grids */
@media (min-width: 1025px) {
  .filhub-jobs-grid.elementor-hidden-desktop { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .filhub-jobs-grid.elementor-hidden-tablet { display: none !important; }
}
@media (max-width: 767px) {
  .filhub-jobs-grid.elementor-hidden-mobile { display: none !important; }
}

/* Phone: pagination row lines up with the note box (16px from the edges) */
@media (max-width: 767px) {
  .filhub-jobs-grid .elementor-pagination {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 0 16px !important;
  }
}

/* Single job page: meta below the title */
.fh-job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #3D3D3D;
}
.fh-job-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fh-job-meta__item svg {
  flex: 0 0 auto;
  color: #3D3D3D;
}
.fh-job-meta a.fh-job-meta__via,
.fh-job-meta span.fh-job-meta__via {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: #743EB7;
  text-decoration: underline;
  text-transform: uppercase;
}
/* Line breaks only on phones; wider screens keep it on one wrapping row */
.fh-job-meta__break {
  display: none;
}
@media (max-width: 767px) {
  .fh-job-meta__break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
}

/* Filters popup: Shift / Schedule as multi-select pills (desktop and tablet;
   phones already show pills) */
@media (min-width: 768px) {
  .fh-modal .fh-checks.fh-checks--pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .fh-modal .fh-checks--pills .fh-cb {
    gap: 0;
    padding: 9px 16px;
    border: 1px solid #707070;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 0 0.2px #707070, 0 1px 2px rgba(0, 0, 0, 0.05);
    font: 400 16px/24px "Roboto", sans-serif;
    color: #707070;
    white-space: nowrap;
  }
  .fh-modal .fh-checks--pills .fh-cb-box {
    display: none;
  }
  .fh-modal .fh-checks--pills .fh-cb:hover {
    border-color: #6E3EB7;
    box-shadow: 0 0 0 0.2px #6E3EB7, 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .fh-modal .fh-checks--pills .fh-cb:has(input:checked) {
    border-color: #6E3EB7;
    color: #6E3EB7;
    font-weight: 500;
    box-shadow: 0 0 0 0.2px #6E3EB7, 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .fh-modal .fh-checks--pills .fh-cb:has(input:focus-visible) {
    border-color: #6E3EB7;
  }
}/* End custom CSS */