/* Template additions: brand colour tokens, service navigation panel, Elementor lazy backgrounds */
:root {
  --tc-prime-c: #135CFD;
  --tc-prime-c2: #AD4BFF;
  --tc-prime-c3: #5550FF;
  --tc-prime-c4: #3CEDB7;
}
.mx-navigation-service{
    margin-top: -150px;
    z-index: 111;
    position: relative;
}

.mx-navigation-service:before {
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    clip-path: polygon(0% 4.152%, 0% 4.152%, 0.034% 3.479%, 0.132% 2.84%, 0.289% 2.244%, 0.499% 1.7%, 0.757% 1.216%, 1.059% 0.801%, 1.398% 0.463%, 1.769% 0.212%, 2.167% 0.054%, 2.586% 0%, 22.091% 0%, 22.091% 0%, 22.51% 0.054%, 22.908% 0.212%, 23.279% 0.463%, 23.618% 0.801%, 23.919% 1.216%, 24.178% 1.7%, 24.388% 2.244%, 24.545% 2.84%, 24.643% 3.479%, 24.677% 4.152%, 24.677% 9.343%, 24.677% 9.343%, 24.711% 10.016%, 24.809% 10.655%, 24.965% 11.251%, 25.176% 11.795%, 25.434% 12.279%, 25.736% 12.694%, 26.074% 13.031%, 26.445% 13.283%, 26.843% 13.44%, 27.263% 13.495%, 46.848% 13.495%, 72.737% 13.495%, 72.737% 13.495%, 73.157% 13.44%, 73.555% 13.283%, 73.926% 13.031%, 74.264% 12.694%, 74.566% 12.279%, 74.824% 11.795%, 75.035% 11.251%, 75.191% 10.655%, 75.289% 10.016%, 75.323% 9.343%, 75.323% 4.152%, 75.323% 4.152%, 75.357% 3.479%, 75.455% 2.84%, 75.612% 2.244%, 75.822% 1.7%, 76.081% 1.216%, 76.382% 0.801%, 76.721% 0.463%, 77.092% 0.212%, 77.49% 0.054%, 77.909% 0%, 97.414% 0%, 97.414% 0%, 97.833% 0.054%, 98.231% 0.212%, 98.602% 0.463%, 98.941% 0.801%, 99.243% 1.216%, 99.501% 1.7%, 99.711% 2.244%, 99.868% 2.84%, 99.966% 3.479%, 100% 4.152%, 100% 95.848%, 100% 95.848%, 99.966% 96.521%, 99.868% 97.16%, 99.711% 97.756%, 99.501% 98.3%, 99.243% 98.784%, 98.941% 99.199%, 98.602% 99.537%, 98.231% 99.788%, 97.833% 99.946%, 97.414% 100%, 2.586% 100%, 2.586% 100%, 2.167% 99.946%, 1.769% 99.788%, 1.398% 99.537%, 1.059% 99.199%, 0.757% 98.784%, 0.499% 98.3%, 0.289% 97.756%, 0.132% 97.16%, 0.034% 96.521%, 0% 95.848%, 0% 4.152%);
}

.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
@media screen and (max-height: 1024px) {
.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
}
@media screen and (max-height: 640px) {
.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
background-image: none !important;
}
}

/* WordPress parts the static design did not have: form result, spam trap, page links, empty states */
.drn-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.drn-form-notice {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.drn-form-notice--ok {
  color: #fff;
  background: #16a34a;
}
.drn-form-notice--error {
  color: #fff;
  background: #dc2626;
}
#drn-request-form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}
.drn-pagination {
  margin-top: 50px;
}
.drn-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.drn-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 50%;
  color: #0a1a3a;
  background: #fff;
  box-shadow: 0 6px 20px rgba(10, 26, 58, 0.08);
  transition: color 0.3s, background 0.3s;
}
.drn-pagination .page-numbers.current,
.drn-pagination a.page-numbers:hover {
  color: #fff;
  background: var(--tc-prime-c);
}
.drn-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 0;
}
.drn-empty h3 {
  margin-bottom: 12px;
}
.drn-empty .mx-btn1 {
  display: inline-block;
  margin-top: 20px;
}
.drn-search-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.drn-search-form input {
  flex: 1;
  height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(10, 26, 58, 0.12);
  border-radius: 30px;
}
.drn-search-form button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--tc-prime-c);
}

/* Service pages: content written in the editor, in the site's style (rounded photos, airy headings) */
.nc-service-details .wp-block-image img,
.nc-service-details .wp-block-gallery img {
  border-radius: 20px;
}
.nc-service-details .wp-block-image,
.nc-service-details .wp-block-gallery {
  margin-bottom: 36px;
}
.nc-service-details h2.wp-block-heading {
  margin-top: 40px;
}
.nc-service-details .wp-block-list {
  margin-bottom: 30px;
  padding-right: 22px;
}
.nc-service-details .wp-block-list li {
  margin-bottom: 8px;
}
