.careers_module .careers-module__inner{
    position: relative;
    z-index: 2;
}

.careers_module .careers-module__intro{
    text-align: center;
    margin-bottom: 40px;
}

.careers_module .careers-module__title{
    color: var(--heading-color);
    margin-bottom: 12px;
}

.careers_module .careers-module__subtitle{
    color: var(--text-color);
    max-width: 850px;
    margin: 0 auto;
}

.careers_module .careers-module__filters{
    margin-bottom: 40px;
}

.careers_module .careers-module__filters-top{
    display: flex;
    /* grid-template-columns: 1.3fr 1fr auto; */
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}

.careers_module .careers-filter input[type="text"],
.careers_module .careers-filter select{
    width: 100%;
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    color: #191d38;
    border-radius: 30px;
    border: 1px solid #191d38;
    min-width: 300px;
        font-size: 18px;
}

.careers_module .careers-search-btn{
    background-color: #111636;
    color: #ffffff;
    border-color: #111636;
    cursor: pointer;
}
.careers_module .careers-search-btn:hover{
    background-color: #ffffff;
    color: #111636;
}
.careers_module .careers-module__filter-types{
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-bottom: 16px;
    justify-content: center;
}

.careers_module .careers-checkbox{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    cursor: pointer;
}

.careers_module .careers-checkbox input{
    margin: 0;
}

.careers_module .careers-module__filter-actions{
    margin-top: 10px;
    text-align: center;
}

.careers_module .careers-module__reset{
    color: var(--heading-color);
    text-decoration: underline;
        background: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
}
.careers_module .careers-module__reset:hover{
    text-decoration: none;
}
.careers_module .careers-module__grid{
    display: grid;
    gap: 28px;
}

.careers_module.jobs-per-row-2 .careers-module__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.careers_module.jobs-per-row-3 .careers-module__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.careers_module .career-card{
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.careers_module .career-card__image-link{
    display: block;
        height: 430px !important;
}

.careers_module .career-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}
.careers_module .career-card__image.default_image{
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    display: block;
    
}
.careers_module .career-card__image--placeholder{
    background: #d9d9d9;
}

.careers_module .career-card__content{
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.careers_module .career-card__meta{
    font-size: 14px;
    line-height: 1.4;
    color: var(--cat-color);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.careers_module .career-card__title{
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.careers_module .career-card__title a{
    color: #2b4794;
    text-decoration: none;
}

.careers_module .career-card__summary{
    color: #191d38;
    line-height: 1.6;
    margin-bottom: 20px;
}

.careers_module .career-card__footer{
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.careers_module .career-card__more{
    color: #2b4794;
    font-weight: 700;
    text-decoration: none;
}

.careers_module .career-card__expiry{
    color: #6e6d65;
    font-size: 14px;
}

.careers_module .careers-module__pagination{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.careers_module .careers-module__pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    background: #fff;
    color: #2b4794;
    text-decoration: none;
}

.careers_module .careers-module__pagination .page-numbers.current{
    background: #2b4794;
    color: #fff;
}

.careers_module .careers-module__no-results{
    text-align: center;
    color: var(--text-color);
    padding: 30px 0 10px;
}

.careers_module .careers-module__cta-wrap{
    text-align: center;
    margin-top: 40px;
}

.careers_module .careers-module__grid.jobs-per-row-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.careers_module .careers-module__grid.jobs-per-row-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


  #jobs-ajax-spinner {
    /* position: absolute;
    top: 5%;
    left: 50%;
    width: auto;
    z-index: 9999;
    transform: translate(-50%, 0%); */
    position: relative;
    gap: 10px;

    /* use real rendered size */
    --logo-w: 170px;
    --logo-h: 129px;

    --beam-start: 70%;
    --beam-end: 86%;
  }
  #jobs-ajax-spinner > span{
    margin-top: 10px;
    /* font-family: "Inter", sans-serif !important; */
    color: #111636;
    letter-spacing: 1px;
    font-weight: 500;
  }
  .spinner-img {
    /* width: 60px;   
    height: 60px;
    animation: shaking 0.2s linear infinite; */
    width: var(--logo-w);
    height: var(--logo-h); /* important: matches overlay */
    display: block;
    opacity: 0.05;
    filter: saturate(0.6) brightness(0.9);
    position: relative;
    z-index: 1;
  }
  /* Rotating light beam overlay */
    @property --a {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
    }

#jobs-ajax-spinner::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--logo-w);
  height: var(--logo-h);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;

  background: url("/wp-content/uploads/2026/02/datapac_Blue_Watermark-1.svg") center / contain no-repeat;

  /* key part: no tinting effects here */
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;

  clip-path: circle(50px at 50% 10%);
  animation: spotlight-move 1.6s linear infinite;
}
#jobs-ajax-spinner::after{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--logo-w);
  height: var(--logo-h);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;

  /* just light, no image repaint */
  background: radial-gradient(circle 50px at 50% 10%,
    rgba(120, 190, 255, 0.55) 0%,
    rgba(120, 190, 255, 0.22) 45%,
    rgba(120, 190, 255, 0.00) 70%
  );

  mix-blend-mode: screen;
  animation: spotlight-move 1.6s linear infinite, spotlight-pulse 1.6s ease-in-out infinite;
}

/* Move the circle around the logo */
@keyframes spotlight-move{
  0%   { clip-path: circle(50px at 50% 8%); }
  12%  { clip-path: circle(50px at 80% 18%); }
  25%  { clip-path: circle(50px at 92% 50%); }
  37%  { clip-path: circle(50px at 80% 82%); }
  50%  { clip-path: circle(50px at 50% 92%); }
  62%  { clip-path: circle(50px at 20% 82%); }
  75%  { clip-path: circle(50px at 8% 50%); }
  87%  { clip-path: circle(50px at 20% 18%); }
  100% { clip-path: circle(50px at 50% 8%); }
}

/* Slight breathing so it feels like a real beam */
@keyframes spotlight-pulse{
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

@keyframes beam-rotate{
  to { --a: 360deg; }
}

/* Subtle thickness pulse so it feels like a moving light, not a static cutout */
@keyframes beam-breathe{
  0%, 100% { --beam-start: 70%; --beam-end: 86%; opacity: 0.85; }
  50%      { --beam-start: 64%; --beam-end: 90%; opacity: 1; }
}

  @keyframes shaking {
    0% { transform: translateY(0) }
    25% { transform: translateY(5px) }
    50% { transform: translateY(-5px) }
    75% { transform: translateY(5px) }
    100% { transform: translateY(0) }
   }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }

.careers_module .js-careers-results{
    display: block;
}
.careers_module.is-loading .js-careers-results{
    display: none;
}

@media only screen and (max-width: 980px){
    .careers_module .careers-module__filters-top{
        grid-template-columns: 1fr;
    }

    .careers_module.jobs-per-row-2 .careers-module__grid,
    .careers_module.jobs-per-row-3 .careers-module__grid{
        grid-template-columns: 1fr;
    }

        .careers_module .careers-module__grid.jobs-per-row-2,
    .careers_module .careers-module__grid.jobs-per-row-3{
        grid-template-columns: 1fr;
    }
}