.elementor-element-f1858f5 .master-image-box .thumb img {
    width: 100%;
    height: 250px;
    transition: transform 0.5s;
    object-fit: cover;
}
.elementor-element-f1858f5 .master-image-box .desc ul {
	text-align: left;
}

.master-gallery-stack svg path {
	fill: #133A61;
}

#featured-title {
    /*background-image: url(https://sfbnew.alfayez.pro/wp-content/uploads/2023/10/service-featured-bg.jpg);*/
    display: none;
}

.contact-reference {
  width: 100%;
  max-width: 549px;
  color: #09213a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.contact-reference,
.contact-reference * {
  box-sizing: border-box;
}

.contact-reference__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.contact-reference label {
  display: block;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
}

.contact-reference .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.contact-reference input[type="text"],
.contact-reference input[type="email"],
.contact-reference select,
.contact-reference textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 1px solid #c3d0df;
  border-radius: 0;
  background: #fff;
  color: #09213a;
  font-family: inherit;
  font-size: 16px;
  box-shadow: none;
}

.contact-reference input[type="text"],
.contact-reference input[type="email"] {
  height: 54px;
  padding: 12px 16px;
}

.contact-reference select {
  height: 45px;
  padding: 0 36px 0 17px;
  font-weight: 700;
  appearance: auto;
}

.contact-reference textarea {
  height: 162px;
  min-height: 162px;
  padding: 12px 16px;
  resize: vertical;
}

.contact-reference input:focus,
.contact-reference select:focus,
.contact-reference textarea:focus {
  border-color: #173e64;
  outline: 2px solid #173e64;
  outline-offset: 2px;
}

.contact-reference .contact-reference__note {
  margin: 0 0 18px;
  color: #60758b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.contact-reference__actions {
  position: relative;
  display: inline-block;
}

.contact-reference input[type="submit"] {
  display: block;
  width: 240px;
  height: 56px;
  margin: 0;
  padding: 0 48px 0 24px;
  border: 0;
  border-radius: 0;
  background: #173e64;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.contact-reference input[type="submit"]:hover {
  background: #102f4e;
}

.contact-reference__arrow {
  position: absolute;
  top: 50%;
  right: 23px;
  color: #fff;
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-reference__actions .wpcf7-spinner {
  position: absolute;
  top: 16px;
  left: 100%;
  margin: 0 0 0 10px;
}

.contact-reference .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 480px) {
  .contact-reference__grid {
    grid-template-columns: 1fr;
  }
}

.contact-reference input[type="tel"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 54px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #c3d0df;
  border-radius: 0;
  background: #fff;
  color: #09213a;
  font-family: inherit;
  font-size: 16px;
  box-shadow: none;
}

.application-reference input[type="submit"] {
  width: 249px;
}


.career-list {
    width: 100%;
    max-width: 595px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
  }

  .career-list + .career-list {
    margin-top: 32px;
  }

  .career-list li {
    margin: 0;
    padding: 0;
    border-top: 1px solid #d5dfeb;
  }

  .career-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    min-height: 59px;
    padding: 16px 0;
    color: #00345e;
    text-decoration: none;
    background: transparent;
  }

  .career-list__title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
  }

  .career-list__action {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    white-space: nowrap;
  }

  .career-list a:hover {
    color: #0070d7;
  }

  .career-list a:focus-visible {
    outline: 2px solid #173e64;
    outline-offset: 4px;
  }

  @media (max-width: 480px) {
    .career-list a {
      gap: 16px;
    }

    .career-list__title {
      font-size: 14px;
    }
  }

/* Keep main-navigation anchor targets below the fixed header. */
body.elementor-page-5293 section#ambition,
body.elementor-page-6061 section#cvc {
  scroll-margin-top: 110px;
}

/* Keep LinkedIn beside the contact action in both SFB headers. */
.elementor-element-a455212 > .elementor-widget-wrap,
.elementor-element-41da8b2 > .elementor-widget-wrap {
  flex-wrap: nowrap;
  align-items: center;
}

.elementor-element-a455212 .master-button,
.elementor-element-41da8b2 .master-button {
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
}

/* SFB: career heading on one line and responsive railway photograph. */
body.elementor-page-99 .elementor-element-52b1188 .main-heading {
 white-space: nowrap; font-size: clamp(16px, 3.1vw, 36px); letter-spacing: -0.02em;
}
body.elementor-page-6061 .elementor-element-31a5f49 img {
 display: block; width: 100%; height: auto; max-height: 600px;
 object-fit: cover; object-position: 50% 45%;
}
@media (max-width: 767px) {
 body.elementor-page-99 .elementor-element-52b1188 .main-heading {font-size: clamp(16px, 5.25vw, 36px);}
 body.elementor-page-6061 .elementor-element-31a5f49 img {max-height: 480px;}
}
