﻿/*
Theme Name: JPF Portfolio
Template: twentytwentythree
Author: James Farrant
Version: 1.2.1698346087
Updated: 2023-10-26 18:48:07
STAGING2
*/

*,
html {
  scroll-behavior: auto !important;
}

html {
  font-size: 120%;
}
@media (min-width: 600px) {
  html {
    font-size: calc(100% + 0.5vw);
  }
}
@media (min-width: 1200px) {
  html {
    font-size: calc(100% + 0.5vw);
  }
}
@media (min-width: 1600px) {
  html {
    font-size: 150%;
  }
}
@media (min-width: 2300px) {
  html {
    font-size: 200%;
  }
}
@media (min-width: 3000px) {
  html {
    font-size: 250%;
  }
}

/* !FONTS */

@font-face {
  font-family: "DMSans";
  src:
    url("fonts/dmsans-webfont.woff2") format("woff2 supports variations"),
    url("fonts/dmsans-webfont.woff2") format("woff2");
  font-weight: 100 1000;
  letter-spacing: 0;
  font-feature-settings: "kern";
  font-display: swap;
}

@font-face {
  font-family: "DMSans-var(--black)";
  src:
    url("fonts/DMSans_var(--black).woff2") format("woff2 supports variations"),
    url("fonts/DMSans_var(--black).woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "DMSans-extrabold";
  src:
    url("fonts/DMSans_ExtraBold.woff2") format("woff2 supports variations"),
    url("fonts/DMSans_ExtraBold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "DMSans-medium";
  src:
    url("fonts/DMSans_Medium.woff2") format("woff2 supports variations"),
    url("fonts/DMSans_Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "avant-garde_demi";
  src:
    url("fonts/avant-garde_demi.woff2") format("woff2"),
    url("fonts/avant-garde_demi.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "avant-garde_med";
  src:
    url("fonts/avant-garde_med.woff2") format("woff2"),
    url("fonts/avant-garde_med.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "avant-garde_std";
  src:
    url("fonts/avant-garde_std.woff2") format("woff2"),
    url("fonts/avant-garde_std.woff") format("woff");
  font-display: swap;
}

/* !FONT !STYLING */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  transition: color 0.3s ease-in-out;
  font-family: avant-garde_demi;
  font-weight: normal;
  font-style: normal;
  text-transform: unset;
  text-decoration: none;
  letter-spacing: -0.04em;
}

a {
    color: var(--primary-color);
}

h2 .highlight {
  color: var(--primary-hover-color) !important;
}

.bold {
  font-family: "avant-garde_demi";
}

strong {
  font-weight:500;
}

p, li, label {
  color: var(--primary-color);
  transition: color 0.3s ease-in-out;
  font-style: normal;
  text-transform: unset;
  text-decoration: none;
  font-family: "dmsans";
  font-weight: 300;
  font-size: 0.7rem;
  line-height: 1.75;
}

a:hover,
a:active {
  text-decoration: none !important;
}

label {
  color: var(--primary-color) !important;
  transition: color 0.3s ease-in-out;
  font-weight: normal;
  font-style: normal;
}

h1 {
  font-family: "avant-garde_std";
}

h1 .bold {
  font-family: "avant-garde_demi";
}

/**/

h1 a:hover,
h2 a:hover,
h3 a:hover,
p a:hover,
h1 a:active,
h2 a:active,
h3 a:active,
p a:active h1 a:visited,
h2 a:visited,
h3 a:visited,
p a:visited,
h1 a:focus,
h2 a:focus,
h3 a:focus,
p a:focus {
  text-decoration: none !important;
}

h1,
h2,
h3,
p,
a {
  user-select: none;
  -webkit-user-select: none;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.home h3 {
  line-height: 1.1;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-top: 0.8rem;
  margin-bottom: 0px;
}
h3 span {
  font-weight: 950;
}
h4 {
  top: 0px !important;
  width: auto;
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
  padding: 20px 0px !important;
  margin-bottom: 5px;
  margin-top: 0px;
  border-radius: 0;
}
.call-to-action h5 {
  width: auto;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem !important;
  text-transform: unset;
  font-size: 1.9rem;
  max-width: 40rem;
  line-height: 1.3;
}

h6 {
  width: auto;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 20px;
  text-transform: unset;
  padding-right: 15%;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

@media screen and (max-width: 900px) {
  h4 {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  h6 {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 28px;
  }
}

.featured-title,
h4 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 10px;
  font-family: dmsans;
  font-weight: 500 !important;
  padding-left: 5px;
}

.featured-projects {
  z-index: 100;
}
.clients-say {
  z-index: 101;
  margin:
    bottom -20px,
    important !important;
}
.how-wework {
  z-index: 102;
}

/* !COLOR !PRIMARY */

:root {
  --primary-color: rgb(48, 48, 48); /*rgb(39, 46, 100);*/
  --secondary-color: white;
  --tertiary-color: rgb(248, 248, 248);
  --primary-hover-color: rgb(0, 157, 230);
  --primary-hover-color-in: white;
  --primary-background: #ffffff;
  --primary: rgb(0, 157, 230);
  --secondary: #00326c;
  --card-height: 30vw;
  --black: rgb(48, 48, 48);
   --site-radius: 1.3rem;
}

@media screen and (max-width: 900px) {
  :root {
    --card-height: 500px;
  }
}

.default-color {
  --primary-color: rgb(48, 48, 48);
}

body
  .is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: unset !important;
}

:where(body .is-layout-constrained) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}

/* !BODY */

html {
  height: auto;
  scroll-behavior: smooth;
}

body {
  height: auto;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overflow: visible !important;
  scroll-behavior: smooth;
  background-color: var(--primary-background);
}

.wp-site-blocks {
  padding: 0 0;
}

.wp-block-search__button-outside {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* Your SVG Data URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 120'%3E%3Cpath d='M63.2012 5.7251H45.9706C45.9706 31.3239 25.3584 52.1556 0.0292969 52.1556V69.5697C23.2692 69.5697 43.6229 56.8139 54.5859 37.8542C60.0782 47.3667 67.9397 55.3119 77.3519 60.8626C58.592 71.9424 45.9706 92.5129 45.9706 116H63.2012C63.2012 90.4014 83.8134 69.5697 109.142 69.5697V52.1556C83.8134 52.1556 63.2012 31.3239 63.2012 5.7251Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80px;

  /* Animation */
  animation: spin 30s linear infinite;

  transition: opacity 1s linear;
  pointer-events: none;
}

/* The Spinning Logic */
@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.5);
  }
}

body::before {
  content: "";
  position: fixed;
  z-index: 99998;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00abfa;
  transition: all linear 1s;
  background-size: 100px;
  max-height:100dvh;
}

/* The Spinning Logic */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.hide:after,
body.hide:before {
  visibility: hidden;
  opacity: 0;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* !HEADER */

header {
  position: absolute;
  top: 1.7rem;
  left: 0;
  width: calc(100vw - 2.8rem);
  max-width: 100%;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  z-index: 900;
  pointer-events: none;
  margin-top: 0px;
}

header {
  position: fixed !important;
}

header * {
  pointer-events: all;
}

#header-wrap {
  gap: 0;
}

.home .is-layout-flow {
  padding: 0px 0px !important;
}

/* !HEADER !LOGO */

#jpf-wrap {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  z-index: 1000;
  left: 29px;
}

header #jpf-wrap {
  left: 1.4rem;
  position: absolute;
}

@media screen and (max-width: 900px) {
  header #jpf-wrap {
    left: 25px !important;
  }
}

footer #jpf-wrap {
  z-index: 10;
}

#jpf-wrap .cls-1,
#jpf-logo-footer .cls-1 {
  transition: fill 0.2s linear;
  fill: var(--primary-hover-color) !important;
}

.page-id-886 .cls-1 {
  fill: none !important;
}

.page-id-886 h2 {
  margin-top: 0px;
}

.home header #jpf-wrap g path,
.home header #jpf-wrap g polygon,
.home header #jpf-wrap g rect {
  fill: white;
}
.menu-open header #jpf-wrap g path,
.menu-open header #jpf-wrap g polygon,
.menu-open header #jpf-wrap g rect {
  fill: white !important;
}

.home header #jpf-wrap g path,
.home header #jpf-wrap g polygon {
  fill: white;
}
.menu-open header #jpf-wrap g path,
.menu-open header #jpf-wrap g polygon {
  fill: white !important;
}

#hamburger .line {
}
.menu-open #hamburger .line {
  stroke: white !important;
}

#hamburger .line {
}
.menu-open #hamburger .line {
  stroke: white !important;
}

#jpf-logo {
  width: 6.5rem;
  max-width: 230px;
  margin-top: -0.3rem;
}

/* .menu-open #jpf-logo {
    width:145px!important;
}*/

#logo-block {
  display: flex;
  flex-direction: row;
  z-index: 1000;
}

#jpf-logotext {
  font-family: avant-garde_demi;
  font-weight: 600;
  letter-spacing: -0.03px;
  margin-top: 11px;
  margin-bottom: 0;
  margin-left: 10px;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  display: none;
}

/* !HEADER !LOGO !MOB */

@media screen and (max-width: 900px) {
  #jpf-logo {
    width: 130px;
  }
  #jpf-logotext {
    display: none;
  }
}

/* !HOME */

.home main {
  margin-top: 0 !important;
  padding: 0 0;
  margin-bottom: 0 !important;
  width: 100vw;
  max-width: 100%;
  left: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  /* overflow-x:hidden!important;
    overflow-y:visible!important;*/
}

/* .home main > .wp-block-query {
    margin:0 0;
    width:100%;
    min-width:100%;
    max-width:100%;
    margin-top:0;
    top:0;
    padding-top:0px;
    overflow:hidden;
}
*/

@media screen and (max-width: 900px) {
  .home main > .wp-block-query,
  .howwework {
    margin-top: 20px;
  }
} 

/* !HOME !GRAPHICS !GRAIN */

#grain {
  display: none;
}

/* !HOME !GRAPHICS !GRAIN !CLICKTHROUGH */

.wp-block-query > * {
  pointer-events: all;
}

/* !HOME !H1 */

#home-h1 {
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  height: auto;
  margin-left: 0px;
  padding-left: 0px;
  pointer-events: none;
}

.home h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  height: fit-content;
  overflow: visible !important;
  width: 90vw;
  margin-top: -5vh !important;
  margin-bottom: 0px !important;
  margin-left: 1.4rem !important;
  transform-origin: left;
  letter-spacing: -0.04em;
  color: var(--secondary-color);
  text-shadow: 1px 1px 20px #00000050;
}

@media screen and (max-width: 900px) {
  .home h1 {
    letter-spacing: -0.05em;
  }
  .home h1 {
    font-size: 2.3rem;
  }
}

/*
.home h1 strong {
    font-family:"Pangaia";
    display:inline-block;
    transform:scaleX(120%) scaleY(110%);
    margin-left:20px;
    transform-origin:left bottom;
}
*/

/*
.home h1 {
    font-weight:1000;
}
.home h1 strong {
    transform:scale(90%);
    font-family:"Mega";
    display:inline-block;
    margin-left:20px;
    letter-spacing:2px;
    transform-origin:left bottom;
}
*/

/* !HOME !ANIMATION !FADEIN */

header,
.page .entry-content {
  opacity: 0;
  animation: fadeIn 2s ease 0s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* !HOME !H1 !MOB */

@media screen and (max-width: 900px) {
  #home-h1 {
    padding-left: 0px;
    margin-left: 0;
    left: 0;
    width: 100vw;
    max-width:100vw;
  }
  .home h1 {
    padding-right: 0px;
    padding-left: 0px;
    width: 80vw !important;
    left: 0px;
    margin-left: 20px !important;
    margin-top: -3vh !important;
  }
  header {
    width: calc(100vw - 50px);
    padding-left: 25px !important;
    padding-right: 25px !important;
    top: 43px;
  }
}

/* !HOME !ARROW */

#arrow-down {
  position: absolute;
  left: 1.3rem;
  width: 0.6rem;
  top: calc(100vh - 2rem);
  z-index: 100;
  cursor: pointer;
  transition: top ease-in-out 0.2s;
}

#arrow-down .cls-2 {
  transition: stroke 0.2s linear;
  stroke: var(--secondary-color);
  stroke-width: 5px !important;
  fill: none;
}

@media screen and (max-width: 900px) {
  #arrow-down {
    top: calc(100svh - 80px);
    width: 17px;
    left: 20px;
  }
}

/* !HOME !PORTFOLIO */

.portfolio-posts,
.work-posts ul,
.page-id-1271 ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr) !important;
  align-items: start;
  grid-template-rows: masonry;
  grid-auto-flow: dense;
  gap: 1.2vw;
  padding-left: 40px !important;
  padding-right: 40px !important;
  transition: width 2s ease-in-out;
  margin-bottom: 0px !important;
}

.page-id-1271 .work-posts {
  margin-top: 160px;
}

.page-id-1271 .wp-block-post-content {
  margin-bottom: 0px;
}

.page-id-1271 .work-posts .tag-testimonial {
  display: none;
}

.info-description {
  top: 0px !important;
  width: auto;
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
  padding: 20px 0px !important;
  border-top: 1.2px solid var(--primary-color);
  margin-bottom: 1.5rem;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-description {
  margin-top: 10px !important;
}

.about-description .info-left,
.about-description .info-right {
  width: 100%;
  margin: 0 0;
}

.about-description .info-left p {
  width: auto;
  padding-right: 15% !important;
  font-weight: 800;
  font-size: 35px !important;
  line-height: 1.3 !important;
}

#menu-links {
  margin-top: 1.5rem;
}
#menu-links a,
#menu-links span {
  font-family: avant-garde_std;
  letter-spacing: -0.01em;
  font-size: 1.4rem !important;
  line-height: 1.2 !important;
  color: white;
  text-decoration: none;
  transition: all linear 0.2s;
}
#menu-links a:hover {
  color: var(--primary-hover-color);
}

#menu-links span {
  font-family: dmsans;
  letter-spacing: 0;
  font-weight: 400;

}

#menu-links #seperator {
  font-weight: 400;
  margin-left: 20px;
  margin-right: 20px;
}

@media screen and (max-width: 900px) {
  .about-description {
    flex-direction: column;
  }
  .about-description .info-left,
  .about-description .info-right {
    width: 100%;
  }

  .about-description .info-right {
    margin-top: 20px !important;
  }

  .about-description .info-right p {
    text-align: left;
  }
  #menu-links a, #menu-links span {
    font-size: .95rem !important;
  }
}

.info-right p {
  text-align: right;
}
.about-description p {
  font-family: dmsans;
  font-size: 15px !important;
  line-height: 28px !important;
  padding: 0px !important;
  font-weight: 450;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.portfolio-posts li,
.work-posts ul li {
  grid-column: span 3;
  transition: grid-column 2s ease-in-out;
  overflow: hidden;
  border-radius: 20px;
}

.archive .portfolio-posts,
.work-posts ul li {
  grid-column: span 2;
  transition: grid-column 2s ease-in-out;
  overflow: hidden;
  /*  box-shadow: 30px 30px 30px 30px rgba(0, 0, 0, 0.021); */
  /*  -webkit-box-shadow: 30px 30px 30px 30px rgba(0, 0, 0, 0.021); */
}

.home .portfolio-posts,
.work-posts ul figure,
.portfolio-posts figure,
.portfolio-posts figure a,
.work-posts ul figure a {
  height: 30vw !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0;
  width: 100%;
}

.home .portfolio-posts,
.work-posts ul figure img {
  min-height: 100% !important;
  min-width: 100% !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain!important;
}

.work-posts .post-626 figure img, .work-posts .post-1607 figure img {
  object-fit: cover!important;
}

.placeholder {
  background-color: var(--tertiary-color);
  height: 100%;
  pointer-events: none;
}

.archive .placeholder:nth-of-type(3) {
  opacity: 50%;
}

/* !HOME !PORTFOLIO !H2 */

.home h2 {
  font-family: avant-garde_demi;
  font-weight: 700;
  width: 100%;
  margin: 0 0;
  height: var(--card-height);
  margin-top: 0 !important;
  z-index: 200;
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 143, 221, 0.61);
  /* backdrop-filter:blur(15px); */
  /* -webkit-backdrop-filter:blur(15px); */
  will-change: opacity;
  opacity: 0;
  transition: opacity 0.5s linear;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
  font-size: 1.8rem !important;
  line-height: 1.2;
}

.page-id-1271 h2,
.archive h2 {
  font-size: 1.8rem !important;
  line-height: 1.4;
}

@media screen and (max-width: 700px) {
  h2:after {
    content: "→";
    display: none;
    color: white;
    font-family: avant-garde_demi;
    font-weight: 400;
    font-size: 24px;
    width: 100%;
    position: absolute;
    bottom: 7%;
  }
}

@media (pointer: fine) {
  h2 {
    transition: opacity 0.2s linear;
  }
}

h2 a {
  color: var(--primary-hover-color-in) !important;
  width: 100%;
  height: 100%;
  padding: auto auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: "avant-garde_demi";
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 40px;
}

h2:hover {
  opacity: 1;
}

.testimonials-outer .work-posts ul p,
.testimonials-outer .wp-block-post-excerpt__excerpt {
  width: 85%;
  letter-spacing: -0.02em;
  font-family: "avant-garde_demi" !important;
  font-size: 1.2rem;
  font-weight: 500 !important;
  line-height: 1.5;
}
@media screen and (max-width: 703px) {
  .testimonials-outer .work-posts ul p,
  .testimonials-outer .wp-block-post-excerpt__excerpt {
    font-size: 20px !important;
  }
}
.wp-block-post-excerpt__excerpt span {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  font-family: dmsans;
  letter-spacing: -0.015em;
  font-size:.7rem;
}
.testimonial-wrap {
  font-size: 0.7rem;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 20px;
}
.testimonial-meta {
  margin-top: 0;
  font-weight: 400;
  margin-top:0!important;
}

@media screen and (max-width: 900px) {
  .testimonials-outer .work-posts ul p,
  .testimonials-outer .wp-block-post-excerpt__excerpt {
    width: 100%;
    letter-spacing: -0.02em;
    font-family: "DMSans" !important;
    font-size: 25px;
    font-weight: 500 !important;
    line-height: 1.5;
  }
}

.wp-block-post-excerpt__more-link,
.wp-block-post-excerpt__more-link:hover,
.wp-block-post-excerpt__more-link:active,
.wp-block-post-excerpt__more-link:visited {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.2s linear;
}

.inline-arrow {
  display: inline-block;
  transition: transform 0.2s linear;
  margin-left: 2px;
}

.wp-block-post-excerpt__more-link .inline-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.wp-block-post-excerpt__more-link:hover .inline-arrow {
    transform: translateX(3px);
}
/*
.featured-section .wp-block-post-excerpt__more-link, .featured-section .wp-block-post-excerpt__more-text {
    font-size:16px;
    font-family:"avant-garde_demi";
    font-weight:500;
    width:90%;
    letter-spacing:10;
    line-height:1.8;
    margin-top:7px;
}
*/

.featured-section .wp-block-post-excerpt__more-link:hover {
  color: var(--primary-hover-color) !important;
}

/* !HOME !PORTFOLIO !MOB */

@media screen and (min-width: 700px) and (max-width: 1100px) {
  .portfolio-posts,
  .work-posts ul li {
    grid-column: span 3 !important;
  }

  .page-id-1271 .wp-block-post-template li,
  .page-id-1271 .wp-block-post-template li figure,
  .work-posts ul figure,
  .work-posts ul figure a,
  .archive figure {
    height: var(--card-height) !important;
  }
  .archive h2,
  .page-id-1271 .wp-block-post-template li h2 {
    height: var(--card-height) !important;
  }
  .page-id-1271 figure,
  .work-posts ul figure {
    margin-top: calc(var(--card-height) * -1);
  }
  .page-id-1271 figure,
  .work-posts ul figure {
    margin-top: calc(var(--card-height) * -1);
  }
  .archive main {
    margin-bottom: 0px !important;
  }
}

@media screen and (max-width: 700px) {
  .portfolio-posts li,
  .work-posts ul li {
    grid-column: span 6 !important;
  }
  .portfolio-posts,
  .work-posts ul {
    padding-left: 15px !important;
    padding-right: 15px !important;
    gap: 10px;
    /* margin-top:calc(100svh + 20px)!important; */
  }
  .work-posts ul figure,
  .work-posts ul figure a {
    height: 100% !important;
  }
  .archive h2 {
    height: 90vw !important;
    margin-top: -90vw !important;
  }
  .archive h2 {
    font-size: 35px;
  }
  .archive main {
    margin-bottom: 0px !important;
  }
}

@media screen and (min-width: 1600px) {
  .portfolio-posts,
  .work-posts ul {
    grid-template-columns: repeat(12, 1fr) !important;
  }
  .portfolio-posts,
  .work-posts ul li,
  .page-id-1271 ul li {
    grid-column: span 3 !important;
  }
  .portfolio-posts,
  .work-posts ul figure,
  .portfolio-posts,
  .work-posts ul figure a {
    height: var(--card-height) !important;
  }
  .portfolio-posts h2 {
    height: var(--card-height) !important;
    margin-top: calc(var(--card-height) * -1) !important;
  }
}

/* !POST !DESCRIPTION  */

.single-post main,
.single-post .entry-content {
  margin-top: 0px !important;
}

.single-post #post-description {
  width: 100vw;
  max-width: 100%;
  height: fit-content;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-auto-flow: row dense;
  padding: 0 0 !important;
  padding-top: 1.3rem !important;
  padding-left: 10rem !important;
  padding-right: 45vw !important;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  z-index: 0;
  gap: 20px;
}

.single-post #post-description p {
  font-family: "dmsans";
  margin-top: 0px;
  font-weight: 350;
  font-size: 0.65rem;
  line-height: 1.6;
  min-width: unset;
  display: block;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0;
  margin-bottom: 0;
  height: fit-content;
  letter-spacing: 0.05px;
  max-width: 80rem;
}

.single-post #post-description p strong,
.bodycopy-wrap p strong,
.bodycopy-wrap p:nth-of-type(1) {
  font-weight: 550 !important;
}

.single-post #post-description p:nth-of-type(1) strong,
.bodycopy-wrap p:nth-of-type(1) strong {
  font-weight: 550 !important;
}

#post-description a,
#bodycopy-wrap a {
  color: var(--primary-color);
  text-decoration: none;
}

#grid-title,
#post-title {
  display: none !important;
}

/* !POST !ABOUT !MOB */

@media screen and (max-width: 900px) {
  .single-post #post-description {
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-bottom: 10px !important;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 150px !important;
  }
  .single-post #post-description p {
    margin-top: 0px;
    left: 0 !important;
  }
  .single-post #post-description p:nth-of-type(1) {
    left: 0 !important;
  }
}

/* !POST !CONTENT */

.single-post .entry-content {
  padding: 0 0 !important;
  min-height: 80vh;
}

.single-post .wp-block-image,
.single-post .wp-block-video,
.single-post figure {
  width: 100vw;
  height: auto;
  margin: 0 0;
  padding: auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
  position: relative;
  z-index: -1;
}

.single-post .wp-block-image video,
.single-post .wp-block-video img {
  max-width:1080px;
}

.single-post .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  margin: 0 0 !important;
  max-height: clamp(700px, 75vh, 1100px) !important;
}

.single-post figure:nth-of-type(1) {
  height: 85vh;
  height: 85svh;
  max-height: 2000px;
  overflow: hidden;
}

.single-post .wp-block-video video {
  width: 90vw !important;
  height: 90% !important;
  max-width: 2000px !important;
  max-height: 1100px !important;
}

.single-post figure:not(:first-of-type) {
  height: 96vh;
  height: 96svh;
  overflow: hidden;
}

.single-post figure:last-of-type {
  padding-bottom: 80px;
}

/* !POST !CONTENT !FULLWIDTH */

.single-post .entry-content .full-img {
  width: 100vw !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: fit-content !important;
  padding: 0 0 !important;
  margin-top: -1px;
}

.single-post .entry-content .full-img img {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: unset !important;
  overflow: hidden;
}

/* !POST !CONTENT !MOB */

@media screen and (max-width: 900px) {
  .single-post figure:not(:first-of-type) {
    height: 75vh;
    height: 75svh;
    overflow: hidden;
  }
  .single-post .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    margin: 0 0 !important;
  }
  .single-post .wp-block-video video {
    width: 100vw !important;
    max-width:100%;
    height: 75vh !important;
    height: 75svh !important;
    max-width: 95% !important;
  }
  .single-post figure:nth-of-type(1) {
    height: 63vh;
    height: 63svh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* !POST !CONTENT !COLUMNS */

.single-post .entry-content .wp-block-columns .wp-block-column {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}

.single-post .entry-content .wp-block-columns {
  width: 80%;
  margin: auto auto;
  max-width: unset;
  min-width: unset;
  gap: 0;
  margin-top: 0;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  height: 96vh;
  height: 96svh;
  min-height: 100%;
  max-height: 100%;
}

.single-post .entry-content .wp-block-columns figure,
.single-post .entry-content .wp-block-columns .wp-block-image,
.single-post .entry-content .wp-block-columns .wp-block-video {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: fit-content !important;
  max-height: unset !important;
  min-height: unset !important;
  margin: 0 0 !important;
  padding: 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
}

.single-post .entry-content .wp-block-columns figure img,
.single-post .entry-content .wp-block-columns .wp-block-image img {
  width: auto;
  max-width: 100%;
  min-width: unset;
  height: auto;
  max-height: unset;
  margin: 0 0;
  padding: auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
}

/* !POST !COLUMNS !MOB */

@media screen and (max-width: 900px) {
  .single-post .entry-content .wp-block-columns {
    width: 100% !important;
    min-height: 80% !important;
    max-height: 80% !important;
    justify-content: center !important;
    align-items: center !important;
    vertical-align: center !important;
    flex-direction: column !important;
    gap: 0px !important;
    height: 94vh !important;
    height: 94svh !important;
  }
  .single-post .entry-content .wp-block-columns .wp-block-column {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    vertical-align: center !important;
    height: auto !important;
    min-height: auto !important;
    max-height: auto !important;
  }
  .single-post
    .entry-content
    .wp-block-columns
    .wp-block-column:nth-of-type(1) {
    justify-content: flex-end !important;
    flex-direction: column !important;
  }
  .single-post
    .entry-content
    .wp-block-columns
    .wp-block-column:nth-of-type(2) {
    justify-content: flex-start !important;
    flex-direction: column !important;
  }
  .single-post .entry-content .wp-block-columns figure img,
  .single-post .entry-content .wp-block-columns .wp-block-image img {
    height: 38vh !important;
    max-height: 38vh !important;
  }
}

/* !POST !NAV */

.nav-group {
  margin: 0 0;
}

.portfolio-nav {
  position: fixed;
  top: 100px;
  height: calc(100vh - 200px);
  width: 200px;
  display: none;
  z-index: 10;
  margin: 0 0;
}

.portfolio-nav polyline {
  transition: stroke 0.2s linear;
}

.portfolio-nav:touch .cursor-arrow polyline,
.portfolio-nav:touch .cursor-arrow line {
  stroke: var(--primary-hover-color) !important;
}

.post-navigation-link-previous:hover polyline,
.post-navigation-link-next:hover polyline {
  stroke: var(--primary-hover-color) !important;
}

.no-link:hover polyline {
  stroke: var(--primary-color) !important;
}

.single-post .portfolio-nav {
  display: block;
}

.post-navigation-link-previous {
  right: 0;
}
.post-navigation-link-next {
  left: 0;
}

.postid-626 .post-navigation-link-next {
  display: none;
}

.post-navigation-link-previous a {
  cursor: url("assets/arrow-right.svg"), auto;
}
.post-navigation-link-next a {
  cursor: url("assets/arrow-left.svg"), auto;
}

.post-navigation-link-previous svg,
.post-navigation-link-next svg {
  display: none;
}

.portfolio-nav a {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0px;
  opacity: 0px;
}

.no-link {
  opacity: 0.3;
}

/* !POST !NAV !MENU */

.menu-open .portfolio-nav {
  pointer-events: none;
}

/* !POST !NAV !MOB */

@media screen and (max-width: 900px) {
  .portfolio-nav {
    top: 2.2rem;
    height: 20px;
    width: 20px;
    margin: 0 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: absolute;
    background-size: 16px !important;
    background-repeat: no-repeat;
    background-position: center;
  }
  .single-post #hamburger {
    margin-top: -0.5px !important;
  }
  .portfolio-nav a {
    height: 100%;
    width: 100%;
  }
  .post-navigation-link-previous {
    right: 90px;
    left: unset;
  }
  .post-navigation-link-next {
    right: 130px;
    left: unset;
  }
  .post-navigation-link-previous svg,
  .post-navigation-link-next svg {
    position: relative;
    display: block;
    width: 14px;
    height: auto;
  }
  #hamburger-wrap {
    height: 26px !important;
    right: 1.5rem !important;
  }
  .wp-block-post-navigation-link,
  .wp-block-post-navigation-link a {
    cursor: pointer;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000;
  }
  .wp-block-post-navigation-link:hover svg {
    stroke: var(--primary-hover-color) !important;
  }
}

/* !TAG PAGE */

.archive .portfolio-posts,
.work-posts ul,
.page-id-1271 .work-posts {
  margin-top: 120px !important;
}

.tag-styling {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: right;
  flex-wrap: wrap;
  top: 0px;
  padding-left: 0 !important;
  width: 45vw;
  min-width: unset !important;
  gap: 0px;
  z-index: 100;
  margin-top: 0px !important;
}

.single-post .tag-styling {
  justify-content: right;
  right: 3.5rem;
}

.single-post #navigation-wrap .tag-styling {
  width: 52vw;
}

.home .tag-styling,
#navigation-dropdown .tag-styling,
.archive .tag-styling,
.page .tag-styling,
.error404 .tag-styling {
  width: 550px !important;
  max-width: 60vw !important;
  right: unset;
  right: 60px;
}

#navigation-dropdown .tag-styling {
  justify-content: left;
}

.single-post .taxonomy-post_tag {
  margin-top: 1.49rem !important;
  z-index: 920 !important;
}
.menu-open .taxonomy-post_tag {
  z-index: 0 !important;
}

.tag-styling a,
.tag-cloud-link,
.taxonomy-post_tag a {
  text-decoration: none;
  border: 1.2px solid var(--primary-color);
  color: var(--primary-color);

  border-radius: 2rem;
  padding: 0.25rem 0.4rem;
  font-family: dmsans;
  font-size: 0.6rem !important;
  line-height: 1;
  margin: 0 0;
  width: max-content;
  min-width: max-content;
  height: fit-content !important;
  max-height: unset !important;
  min-height: unset !important;
  max-width: max-content;
  flex-basis: 100%;
  transition:
    color 0.2s linear,
    border-color 0.2s linear,
    opacity 0.2s linear;
  margin-bottom: 0px;
}

.home .tag-styling a,
.home .tag-cloud-link,
.home .taxonomy-post_tag a {
  text-decoration: none;
  border: 0.08rem solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 2rem;
  padding: 0.25rem 0.4rem;
  font-family: dmsans;
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 500;
  margin: 0 0;
  width: max-content;
  min-width: max-content;
  height: fit-content !important;
  max-height: unset !important;
  min-height: unset !important;
  max-width: max-content;
  flex-basis: 100%;
  transition:
    color 0.2s linear,
    border-color 0.2s linear,
    opacity 0.2s linear;
  margin-bottom: 0px;
}

header .tag-styling {
  display: none;
}
.taxonomy-post_tag a,
.tag-styling a {
  /*text-transform:uppercase;*/
}

.tag-styling a:hover {
  opacity: 1 !important;
}

.single-post .tag-styling {
  padding-left: 0 !important;
  width: calc(40vw - 60px);
}

.single-post .wp-block-tag-cloud {
  top: 42px;
}

/*
.wp-block-tag-cloud  {
    margin-left: 30px;
    margin-right: 30px;
    gap: 0px;
    display: flex;
    max-width:900px;
    width: calc(100vw - 60px);
    flex-wrap: wrap;
}

.wp-block-tag-cloud a {
    margin-right:0;
    font-size:19px!important;
    padding:8px 13px!important;
    font-weight:600;
    border-width:1.3px;
    line-height:1.4;
}*/

/* !TAG PAGE !SWAP */

.single-post .taxonomy-post_tag {
  display: flex;
}

.single-post .menu-open .wp-block-tag-cloud {
  display: flex !important;
}

.single-post .menu-open .taxonomy-post_tag {
  display: none !important;
}

.wp-block-post-terms__separator {
  display: none;
}

.wp-block-post-terms {
  display: flex;
  flex-direction: row;
  gap: 0.2rem;
  max-width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
}
.home .wp-block-post-terms {
  margin-top: 0px;
}

.single-post.menu-open header .wp-block-tag-cloud {
  display: none !important;
}

@media screen and (min-width: 900px) {
  #navigation-dropdown .wp-block-tag-cloud {
    display: none !important;
  }
  .single-post header .wp-block-tag-cloud {
    display: none !important;
  }
  .single-post #navigation-dropdown .wp-block-tag-cloud {
    display: flex !important;
  }
}

.wp-block-query-title,
.archive h1,
.page .entry-content > h3 {
  display: block;
  position: absolute;
  text-decoration: none;
  border: 1.2px solid var(--primary-color);
  color: var(--primary-color);
  line-height: 0.7rem !important;
  margin: 0;
  top: 1.5rem;
  right: 80px;
  width: max-content;
  min-width: max-content;
  height: fit-content !important;
  max-height: unset !important;
  min-height: unset !important;
  max-width: max-content;
  flex-basis: 100%;
  transition:
    color 0.2s linear,
    border-color 0.2s linear,
    opacity 0.2s linear;
  margin-bottom: 0;
  font-weight: 550;
  letter-spacing: unset;
  border-radius: 2rem;
  padding: 0.25rem 0.4rem;
  font-family: dmsans;
  font-size: 0.6rem;
}

/* !TAG PAGE !MOB */

@media screen and (max-width: 900px) {
  .home h3 {
    margin-top: 2rem !important;
  }
  .wp-block-query-title,
  .archive h1,
  .page .entry-content > h3 {
    top: 43px !important;
  }
  #hamburger-wrap {
    top: 2rem !important;
  }
  #globe-wrap {
    top: 2.2rem !important;
    right: 75px !important;
  }
  .archive .taxonomy-post_tag {
    display: none !important;
  }
  .single-post #navigation-dropdown .wp-block-tag-cloud {
    display: flex !important;
  }
  .single-post header .wp-block-tag-cloud {
    display: none !important;
  }
  header .wp-block-tag-cloud {
    display: none !important;
  }
  .single-post .taxonomy-post_tag {
    display: flex !important;
    min-width: max-content !important;
    max-width: max-content !important;
    width: max-content !important;
    height: fit-content;
    position: absolute !important;
    top: 0;
    left: 20px;
    margin-top: 0 !important;
    padding-right: 18px;
  }
  .tag-ticker {
    width: auto;
    top: 105px !important;
    position: absolute !important;
    left: 0px;
    right: 0px;
    height: 1.5rem;
    margin: 0 0 !important;
    padding: 0 0 !important;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .tag-ticker::-webkit-scrollbar {
    display: none; /* for Chrome, Safari and Opera */
  }
  .tag-ticker {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .archive .portfolio-posts,
  .work-posts ul {
    margin-top: 100px !important;
    padding-bottom: 100px;
  }
  .archive h1 {
    display: block;
    position: absolute;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.6rem !important;
    line-height: 1rem !important;
    font-weight: 420 !important;
    margin: 0 0;
    top: 2rem;
    right: 3.2rem;
    width: max-content;
    min-width: max-content;
    height: fit-content !important;
    max-height: unset !important;
    min-height: unset !important;
    max-width: max-content;
    flex-basis: 100%;
    transition:
      color 0.2s linear,
      border-color 0.2s linear,
      opacity 0.2s linear;
    margin-bottom: unset !important;
    line-height: 0.7rem !important;
  }
  #navigation-wrap .tag-styling {
    width: calc(100vw - 40px) !important;
    max-width: unset !important;
  }
}

/* !404 */

.error404 .wp-block-spacer {
  display: none;
}

.error404 main:before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  background-color: var(--primary-hover-color);
  mix-blend-mode: screen;
  pointer-events: none;
}

.errorwrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100vw;
  max-width:100%;
  min-width: 100vw;
}

.error404 h1 {
  padding: 0 0;
  font-family: Fraktionsans !important;
  font-style: italic;
  font-weight: 900;
  transform: scaleX(102%);
  transform-origin: left;
  font-size: clamp(250px, 55vw, 750px);
  left: -1vw !important;
  height: 100vh;
  left: 0;
  top: 0;
  position: absolute;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  transition: filter linear 1s;
  z-index: -10;
  filter: blur(20px);
  margin-top: 0;
  margin: 0 0 !important;
}

.error404 #not-found {
  padding: 0 0;
  user-select: none;
  -webkit-user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  font-family: "dmsans" !important;
  font-weight: 800;
  font-size: clamp(30px, 11vw, 80px);
  line-height: clamp(45px, 11vw, 85px);
  transform-origin: center;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 20px;
  pointer-events: none;
}

.error404 .errorwrap:hover h1 {
  filter: blur(10px) !important;
}

@media screen and (max-width: 900px) {
  .error404 h1 {
    filter: blur(10px) !important;
  }
  .error404 h1:hover {
    filter: blur(5px) !important;
  }
}

.error404 .alignwide {
  padding: 0 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.error404 main {
  margin-top: 0px;
}

/* !ARCHIVE !TAGS !HIGHLIGHT */

.archive .tag-cloud-link,
.single-post .tag-cloud-link,
.archive .tag-styling::after {
  opacity: 0.3;
}

.tag-branding .tag-link-11,
.tag-figma .tag-link-8,
.tag-icon-design .tag-link-17,
.tag-logo-design .tag-link-23,
.tag-illustrator .tag-link-13,
.tag-indesign .tag-link-15,
.tag-merchandising .tag-link-7,
.tag-motion-graphics .tag-link-6,
.tag-photoshop .tag-link-9,
.tag-print-design .tag-link-16,
.tag-social-media .tag-link-12,
.tag-squarespace .tag-link-14,
.tag-web-design .tag-link-10,
.tag-web-development .tag-link-18,
.tag-wordpress .tag-link-20,
.tag-adobe-xd .tag-link-22,
.tag-after-effects .tag-link-24 {
  opacity: 1 !important;
}

.home-subtitle .tag-link-34 {
  display: none !important;
}

/* !ARCHIVE !TAGS !SKILLS */
.tag-link-11,
a[href="https://matterdesign.uk/tag/branding/"],
.tag-branding .wp-block-query-title {
  order: 1;
}
.tag-link-17,
a[href="https://matterdesign.uk/tag/icon-design/"],
.tag-icon-design .wp-block-query-title {
  order: 2;
}
.tag-link-23,
a[href="https://matterdesign.uk/tag/logo-design/"],
.tag-logo-design .wp-block-query-title {
  order: 3;
}
.tag-link-7,
a[href="https://matterdesign.uk/tag/merchandising/"],
.tag-merchandising .wp-block-query-title {
  display: none !important;
  order: 4;
}
.tag-link-6,
a[href="https://matterdesign.uk/tag/motion/"],
.tag-motion .wp-block-query-title {
  order: 5;
}
.tag-link-16,
a[href="https://matterdesign.uk/tag/print/"],
.tag-print .wp-block-query-title {
  order: 6;
}
.tag-link-12,
a[href="https://matterdesign.ukm/tag/social-media/"],
.tag-social-media .wp-block-query-title {
  order: 7;
}
.tag-link-10,
a[href="https://matterdesign.uk/tag/web-design/"],
.tag-web-design .wp-block-query-title {
  order: 10;
  border-radius: 0.2rem !important;
}
.tag-link-18,
a[href="https://matterdesign.uk/tag/web-development/"],
.tag-web-development .wp-block-query-title {
  order: 11;
  border-radius: 0.2rem !important;
}

.tag-link-31,
a[href="https://matterdesign.uk/tag/infographics/"],
.tag-logo-design .wp-block-query-title {
  order: 8;
}
.tag-link-33,
a[href="https://matterdesign.uk/tag/brochure/"],
.tag-logo-design .wp-block-query-title {
  order: 9;
}

/* !ARCHIVE !TAGS !TECH */
.tag-link-13,
a[href="https://matterdesign.uk/tag/illustrator/"],
.tag-illustrator .wp-block-query-title {
  display: none;
  order: 10;
  border-radius: 0.2rem !important;
}
.tag-link-15,
a[href="https://matterdesign.uk/tag/indesign/"],
.tag-indesign .wp-block-query-title {
  display: none;
  order: 11;
  border-radius: 0.2rem !important;
}
.tag-link-9,
a[href="https://matterdesign.uk/tag/photoshop/"],
.tag-photoshop .wp-block-query-title {
  display: none;
  order: 12;
  border-radius: 0.2rem !important;
}
.tag-link-22,
a[href="https://matterdesign.uk/tag/adobe-xd/"],
.tag-adobe-xd .wp-block-query-title {
  display: none !important;
  order: 13;
  border-radius: 0.2rem !important;
}
.tag-link-24,
a[href="https://matterdesign.uk/tag/after-effects/"],
.tag-after-effects .wp-block-query-title {
  display: none;
  order: 14;
  border-radius: 0.2rem !important;
}
.tag-link-14,
a[href="https://matterdesign.uk/tag/squarespace/"],
.tag-squarespace .wp-block-query-title {
  display: none;
  order: 15;
  border-radius: 0.2rem !important;
}
.tag-link-8,
a[href="https://matterdesign.uk/tag/figma/"],
.tag-figma .error404::before {
  display: none;
  order: 16;
  border-radius: 0.2rem !important;
}
.tag-link-20,
a[href="https://matterdesign.uk/tag/wordpress/"],
.tag-wordpress .wp-block-query-title {
  display: none;
  order: 17;
  border-radius: 0.2rem !important;
}

.tag-link-26 {
  display: none !important;
}

.featured-description .tag-link-13,
.featured-description a[href="https://matterdesign.uk/tag/illustrator/"],
.featured-description .tag-link-15,
.featured-description a[href="https://matterdesign.uk/tag/indesign/"],
.featured-description .tag-link-9,
.featured-description a[href="https://matterdesign.uk/tag/photoshop/"],
.featured-description .tag-link-22,
.featured-description a[href="https://matterdesign.uk/tag/adobe-xd/"],
.featured-description .tag-link-24,
.featured-description a[href="https://matterdesign.uk/tag/after-effects/"],
.featured-description .tag-link-14,
.featured-description a[href="https://matterdesign.uk/tag/squarespace/"],
.featured-description .tag-link-8,
.featured-description a[href="https://matterdesign.uk/tag/figma/"],
.featured-description .tag-link-20,
.featured-description a[href="https://matterdesign.uk/tag/wordpress/"] {
  display: none;
}

.featured-description .taxonomy-post_tag a:nth-of-type(2n) {
  border-radius: 0.2rem !important;
}

/* !MENU !OPEN */

body.menu-open {
  overflow: hidden;
}

/* !MENU !OPEN !COLOR */

.menu-open #jpf-logo path,
.menu-open #jpf-logo polygon {
  fill: white;
}
.menu-open #jpf-logotext {
  color: white;
}
.menu-open .tag-styling a {
  border-color: white;
  color: white;
}

/* !MENU */

#navigation-dropdown {
  background-color: var(--primary-color);
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  z-index: 500;
  position: fixed;
  will-change: transform;
  top: -100vh;
  left: 0;
  transition: top 0.2s linear, background-color 0.2s linear;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-open #navigation-dropdown {
  top: 0;
  background-color:rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(10px);
}

#navigation-wrap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#info-columns {
  width: 85vw !important;
  min-width: unset !important;
  max-width: unset !important;
  margin-left: 1.5rem !important;
  margin-right: auto !important;
  display: flex;
  flex-direction: row;
  /* margin-top:-50px; */
}

#navigation-dropdown p {
  opacity: 0;
  transition: opacity 0.2s linear;
  transition-delay: 0.1s !important;
}

.menu-open #navigation-dropdown p {
  opacity: 1 !important;
}

/* !MENU !HAMBURGER */

#hamburger-wrap {
  position: fixed;
  width: 0.9rem;
  height: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 1.75rem;
  right: 1.6rem;
  /*mix-blend-mode: difference;*/
  z-index: 1000;
  mix-blend-mode: difference;
  opacity: 0.8;
}

#hamburger {
  cursor: pointer;
  width: 0.9rem;
  height: auto;
  margin-top: -0.5rem;
  -webkit-filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
}

.line {
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke: var(--primary-color);
  transition: all 500ms;
}

#hamburger .line {
  stroke: var(--secondary-color);
}

.top {
  transform-origin: 26px 40px;
}
.middle {
  stroke-dasharray: 60 60;
}
.bottom {
  transform-origin: 26px 60px;
}

/* !MENU !MOB */

@media screen and (max-width: 900px) {
  #info-columns {
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
  }
  #info-one {
    margin-bottom: 0px;
  }
  #info-two {
    display: none;
  }
}

/* !MENU !HAMBURGER !MENUOPEN */

.menu-open #hamburger .line {
  stroke: var(--secondary-color);
}

.menu-open #hamburger .top {
  transform: rotate(45deg);
}
.menu-open #hamburger .middle {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}
.menu-open #hamburger .bottom {
  transform: rotate(-45deg);
}

@media (pointer: fine) {
  #hamburger:hover .line,
  .menu-open #hamburger:hover .line {
    stroke: var(--primary-hover-color) !important;
  }
}

/* !MENU !HAMBURGER !MOB */

@media screen and (max-width: 900px) {
  #hamburger {
    margin-top: -1px;
    right: 25px !important;
  }
}

/* !MENU !WHITE */

.invert p,
.invert h1,
.invert a,
.invert #contact-block {
  color: white !important;
  z-index: 15 !important;
}

.invert .taxonomy-post_tag a {
  border-color: white !important;
}

.invert #jpf-logo .cls-1 {
  fill: white !important;
  z-index: 15 !important;
}

.invert main::after {
  content: "";
  width: 100vw;
  max-width: 100%;
  height: 98vh;
  height: 98dvh;
  top: 0;
  left: 0;
  position: absolute;
  background: var(--primary-color);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1 !important;
}

/* !MENU !TAGS !MOB */

@media screen and (max-width: 900px) {
  #navigation-dropdown .tag-styling {
    width: calc(100vw - 40px) !important;
    left: unset !important;
    padding-left: 0px !important;
    right: unset !important;
    justify-content: flex-start !important;
    top: unset;
    margin-left: 20px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: clamp(25px, 7.5vh, 60px) !important;
    position: relative;
    padding-left: -50px !important;
  }
}

/* !MENU !INNER */

.info-column {
  width: auto !important;
}

#info-columns p {
  font-family: "dmsans";
  color: white !important;
  margin-top: 0;
}

#info-one {
  flex-basis: 65%;
  flex-grow: 0;
  flex-shrink: 0;
  padding-right: 60px;
}

#info-one p {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-top: -0.5rem;
  margin-bottom: 0;
  font-family: avant-garde_med;
  letter-spacing: -0.02em;
}

#info-two {
  flex-basis: 35%;
  flex-grow: 0;
  flex-shrink: 0;
}

#info-two p {
  font-size: 15px;
  line-height: 26px;
  font-weight: 450;
}

@media screen and (max-width: 900px) {
  #info-one {
    height: fit-content !important;
    flex-grow: 0;
    flex-shrink: 0;
    padding-right: 0px !important;
    flex-basis: unset !important;
  }

  #info-columns {
    width: calc(100vw - 62px) !important;
  }
  #navigation-wrap .tag-styling {
    /*margin-bottom:37px!important;*/
  }

  #info-one p {
    font-size: clamp(25px, 6vw, 35px);
  }
  #navigation-dropdown {
    display: block;
  }
  #navigation-wrap {
    position: absolute;
    top: clamp(85px, 12vh, 96px) !important;
    right: 0;
    left: 0;
    bottom: 95px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* !MENU SOCIALS */

#socials {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#socials #ig-logo {
  margin-right: 10px;
}

#socials #ig-logo {
  width: 21px;
}

#socials .ig-inner-one,
#socials .ig-inner-two,
#socials .mail-inner-one {
  transition: stroke 0.2s linear;
}

#socials #mail-logo {
  width: 22px;
}

#socials a {
  display: flex;
  justify-content: center;
  align-items: center;
}

#socials p {
  font-family: "dmsans";
  font-weight: 500;
  font-size: 13px;
  color: white;
}

/* !FOOTER */

footer {
  padding: 1.5rem 1.5rem;
  min-height: 230px;
  background-color: white !important;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  z-index: 100;
  position: relative;
  margin-top: -50px;
  box-shadow: 0px 0px 20px 0px #0000001c;
  display:flex;
  flex-direction:column;
  padding-top:40px;
  justify-content:space-between;
}

.footer-row {
  margin-bottom:0;
  height:fit-content;
  display:flex;
  flex-direction:row;
}

.home footer {
  margin-top: 0px;
  justify-content: space-between;
}

/* !FOOTER !COLUMNS */

footer .wp-block-column {
  padding-top: 0px;
  padding-bottom: 20px;
}

#footer-branding {
  flex-basis: 33%;
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height:auto;
  align-items: flex-end;
  flex-grow:1;
    margin-right: 5px;
}

#footer-contact {
  flex-basis: 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  gap:.5rem;
}

#footer-links {
  width: max-content;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  min-width: max-content;
}

#footer-contact a, #footer-branding a {
  text-decoration: none !important;
  font-weight: 500;
  color: var(--primary-color);
  transition: 0.3s ease;
}

#footer-links p {
  margin-bottom: 0.2rem;
}
#footer-links a {
  font-weight: 500;
}

.privacy a, .privacy p {
  font-size:.6rem!important;
  font-weight: 400!important;
  text-decoration: none !important;
}

#footer-contact a:hover {
  color: var(--primary-hover-color);
}

#footer-socials {
  flex-basis: 33%;
  width: 33%;
}

/* !FOOTER !DESCRIPTION */

#footer-contact p {
  width: auto;
  margin-top: 0px;
  max-width: 20rem;
  --primary-color:var(--black);
}

/* !FOOTER !SOCIAL */

#footer-socials p {
  font-family: "dmsans";
  font-weight: 400;
  font-size: 13px;
  width: fit-content;
  height: fit-content;
  flex-wrap: wrap;
  white-space: nowrap;
  margin: 0;
  transition: all 0.2s linear;
}

#footer-contact-links,
#menu-contact-links {
  font-family: "dmsans";
  font-weight: 500;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  justify-content: left;
  width: fit-content;

  padding: 0 0;
  flex-wrap: wrap;
  display: none;
}

@media screen and (max-width: 703px) {
  .footer-row {
  flex-direction:column;
}
#footer-contact {
  width:100%;
  gap:1.5rem;
}
}

#footer-contact-link,
#menu-contact-link {
  font-family: "dmsans";
  font-size: 0.7rem !important;
  line-height: 14px !important;
  font-weight: 420;
  margin-left: 0 !important;
  margin-top: 0px !important;
  border-radius: 3px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: fit-content !important;
  min-width: fit-content;
  height: fit-content;
  margin-right: 5px !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s linear !important;
}

#footer-contact-link svg,
#menu-contact-link svg {
  width: auto;
  height: 14px;
  margin-right: 5px;
}

#footer-contact-link {
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  transition: all 0.2s linear !important;
}
#menu-contact-link {
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color);
  transition: all 0.2s linear !important;
}

#footer-contact-link a,
#menu-contact-link a {
  text-decoration: none;
  transition: all 0.2s linear;
  padding: 4px 9px;
  display: flex !important;
  flex-direction: row;
}

#footer-contact-link p {
  font-size: 0.7rem;
}

#footer-contact-link a {
  color: var(--primary-color) !important;
}
#menu-contact-link a {
  color: var(--secondary-color) !important;
}

#footer-contact-link:hover a,
#menu-contact-link:hover a,
#footer-contact-link:hover p,
#menu-contact-link:hover p {
  color: var(--primary-hover-color) !important;
}

#footer-contact-link:hover .footer-icon,
#menu-contact-link:hover .menu-icon {
  stroke: var(--primary-hover-color) !important;
}

.footer-icon {
  stroke: var(--primary-color) !important;
  stroke-width: 1.8px;
  transition: all 0.2s linear;
}

.menu-icon {
  stroke-width: 1.8px;
  transition: all 0.2s linear;
}

#footer-contact-link:hover .footer-icon {
  stroke: var(--primary-hover-color) !important;
}

#footer-contact-link:hover,
#menu-contact-link:hover {
  border-color: var(--primary-hover-color) !important;
}

/* !FOOTER !LOGO */

#jpf-logo-footer {
  width: 140px;
  margin-bottom: 10px;
  margin-top: 0 !important;
}

@media screen and (max-width: 703px) {
  #jpf-logo-footer {
    max-width: 70vw;
  }
}

footer #jpf-logotext {
  display: none;
}

footer #jpf-logo-footer {
  cursor: pointer;
}

footer #jpf-logo-footer:hover .cls-1 {
  fill: var(--primary-hover-color);
}

/* !FOOTER !MOB */

@media screen and (max-width: 900px) {
  footer {
    padding-left: 20px;
    padding-right: 40px;
    padding-bottom: 1.5rem !important;
    height: fit-content;
  }
  #footer-branding {
        height: 40px;
        min-height: fit-content;
        max-height: unset;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        padding:0;
  }
}

/* !COLOR !HOVER */

#arrow-down:hover .cls-2,
#socials a:hover .ig-inner-one,
#socials a:hover .ig-inner-two,
#socials a:hover .mail-inner-one {
  stroke: var(--primary-hover-color) !important;
}

#jpf-wrap:hover .cls-1,
.invert #jpf-wrap:hover .cls-1,
.menu-open #jpf-wrap:hover #jpf-logo .cls-1 {
  fill: var(--primary-color) !important;
}

#jpf-wrap:hover #jpf-logotext,
#contact-block a:hover,
.tag-styling a:hover,
.invert #contact-block:hover,
.invert #contact-block:hover a,
.invert #jpf-wrap:hover a,
.menu-open #jpf-wrap:hover #jpf-logotext,
.featured-section .taxonomy-post_tag a:hover {
  color: var(--primary-hover-color) !important;
}

.tag-styling a:hover,
.invert .taxonomy-post_tag a:hover,
.invert .tag-styling a,
.featured-section .taxonomy-post_tag a:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

/* !ANIMATION !IMG !FADEIN 

.entry-content .wp-block-image,
.entry-content video,
footer .wp-block-column,
li {
    opacity:0;
    transform: translateY(20px);
    
}

.single-post figure:nth-of-type(1) > * {
    transition-delay:.1s!important;
}

.entry-content .animated,
.animated,
.homeanimated
 {
    opacity:1!important;
    filter:none;
    transform: translateY(0px);
}

.home .placeholder.animated {
      opacity:.1!important;
}

*/

/* CANVAS */

#canvaswrap {
  margin: 0 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: absolute !important;
  top: 0px !important;
  right: 0px !important;
  bottom: 0 !important;
  left: 0px !important;
  z-index: -1;
  width: 100vw !important;
  max-width: 100%;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /**/
  touch-action: auto !important;
  max-height: 100svh !important;
  min-height: 100svh !important;
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}

canvas {
  margin: 0 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  top: 0px !important;
  left: 0px !important;
  z-index: -10;
  width: 100vw !important;
  max-width: 100%;
  min-width: 100vw !important;
  height: 100svh !important;
  position: fixed !important;
  transform: scale(1.15);
  background-color: var(--primary-background);
  z-index: -10;
  touch-action: auto !important;
  max-height: 100svh !important;
  min-height: 100svh !important;
}

/* !SUM !ANIMATION */

#sum-graphic {
  width: 110% !important;
  max-width: unset !important;
  min-width: 110% !important;
  height: auto !important;
  max-height: 70vh !important;
}

@media screen and (max-width: 900px) {
  #sum-graphic {
    width: 280% !important;
    max-width: unset !important;
    min-width: 280% !important;
    height: auto !important;
    max-height: 45vh !important;
    margin-top: 0px !important;
    margin-left: 4vw !important;
  }
}

#l-globe,
#l-globe2,
#l-globeb,
#l-globeb2,
#m-globe,
#m-globe2,
#r-globe,
#r-globe2 {
  transform-origin: center center;
  transform-box: fill-box;

}

#l-globe {
  animation: rotating 120s linear infinite;
  animation-direction: reverse;
}
#l-globe2 {
  animation: rotating 100s linear infinite;
  animation-delay: -90s;
  animation-direction: reverse;
}
#l-globeb {
  animation: rotating 140s linear infinite;
  animation-delay: -100s;
  animation-direction: reverse;
}
#l-globeb2 {
  animation: rotating 140s linear infinite;
  animation-direction: reverse;
}
#m-globe {
  animation: rotating 120s linear infinite;
  animation-direction: reverse;
}
#m-globe2 {
  animation: rotating 110s linear infinite;
  animation-delay: -130s;
}
#r-globe {
  animation: rotating 120s linear infinite;
  animation-delay: -90s;
}
#r-globe2 {
  animation: rotating 115s linear infinite;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* !POST !SUM !MOVE */

.sum-one img {
  transform: translateY(2vh) !important;
}
@media screen and (max-width: 900px) {
  .sum-one img {
    width: 252vw !important;
    max-width: 252vw !important;
    min-width: 252vw !important;
    max-height: 70vh !important;
    transform: translateY(4vh) !important;
  }
}

/* !POST !COLORS !SUM */

.postid-21 {
  --primary-color: var(--black);
  --primary-hover-color: #ff7300;
}
.sum-orange {
  background-color: #ffb400;
}
.sum-grey {
  background-color: #f4f4f4;
}

/* !POST !NORBULK */

#norbulk-one img {
  margin-top: 50px !important;
}
#norbulk-icons {
  height: fit-content !important;
  margin-top: -35px;
  padding-bottom: 10px;
}
#norbulk-icons img {
  width: 70% !important;
}

@media screen and (max-width: 900px) {
  #norbulk-one img {
    margin-top: 0px !important;
  }
  #norbulk-icons img {
    width: 95% !important;
  }
  #norbulk-icons {
    margin-top: 0px;
  }
}

/* !POST !COLORS !NORBULK */

.postid-33 {
  --primary-color: #171b3a;
  --primary-hover-color: #a3a3a3; /*#1849ec;*/
  --primary-background: white;
}

.norbulk-blue {
  background: #050064;
}

.norbulk-blue p {
  color: white;
}

.wp-block-image.norbulk-blue {
  max-height: 750px !important;
}

.postid-33 footer {
  --primary-color: #171b3a;
}

/* !POST !COLORS !WCCF */

.postid-29 {
  --primary-hover-color: #dff518; /*rgb(98, 96, 139);*/
}
.wccf-grad {
  background: rgb(156, 154, 210);
  background: linear-gradient(
    68deg,
    rgba(156, 154, 210, 1) 0%,
    rgba(208, 188, 180, 1) 100%
  );
  margin-top: -400px !important;
  padding-top: 400px;
}
.wccf-yellow {
  background: #cedc27;
}
.wccf-spread2 {
  margin-top: -100px !important;
}
@media screen and (max-width: 900px) {
  footer.wccf-yellow {
    height: 70vh !important;
    max-height: 70vh !important;
  }
  .wccf-spread1,
  .wccf-spread2 {
    height: 60vh !important;
    max-height: 60vh !important;
  }
  .wccf-spread2 {
    margin-top: clamp(-100px, -20vw, -200px) !important;
  }
}

/* !COLORS !LULLABY */

.la-orange {
  background: rgb(241, 145, 0);
}
.la-orange p {
  color: white;
}
.postid-26 {
  --primary-hover-color: rgb(255, 183, 29);
  --primary-color: rgb(12, 12, 12);
}
.postid-26 footer {
  --primary-color: rgb(245, 139, 0) !important;
}

/* !COLORS !SEISMIC  */

.seismic-coral {
  background: #f26057;
}
.postid-436 {
  --primary-hover-color: #ffc75e;
  --primary-color: #1f2a33;
}
.seismic-icons {
  margin-top: -20px !important;
  margin-bottom: 20px !important;
}
.seismic-icons img {
  transform: scale(0.95);
  max-height: 900px;
}

.post-436 figure.wp-block-post-featured-image {
  background-color: #f26057;
}

@media screen and (max-width: 900px) {
  .seismic-icons {
    margin-top: 0px !important;
  }
  .seismic-icons img {
    transform: scale(1);
  }
}

@media screen and (max-width: 900px) {
  .seismic-icons {
    height: 100vh !important;
    height: 100svh !important;
  }
}

/* !COLORS !CATHAY */

.cc-yellow {
  background: #ffa907;
}
.postid-462,
.postid-626 {
  --primary-hover-color: #ffa907 !important;
  --primary-color: #1a1e2c !important;
}

/* !COLORS !M&B */

.mb-grey {
  background: #f4f4f4;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.mb-grey img {
  transform: translateY(-30px);
}
#bodycopy-wrap.mb-solution,
.bodycopy-wrap.mb-solution {
  background-color: white;
  padding-bottom: 50px !important;
}
#bodycopy-wrap.mb-solution p,
.bodycopy-wrap.mb-solution p {
  color: var(--primary-color);
}
#bodycopy-wrap.mb-grey {
  padding-bottom: 1.5rem !important;
}
.postid-476 {
  --primary-hover-color: #03a0c9 !important;
  --primary-color: #171b3a !important;
}
.postid-476 .entry-content figure.full-img {
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0px 0px 20px 0px #0000001c;
  box-shadow: 0px 0px 20px 0px #0000001c;
  overflow: visible;
  position: relative;
  z-index: 10;
}

/* !COLORS !PT */

.pt-gradient {
  background: rgb(194, 15, 22);
  background: linear-gradient(
    135deg,
    rgba(194, 15, 22, 1) 0%,
    rgba(221, 72, 29, 1) 52%,
    rgba(233, 186, 33, 1) 100%
  );
  z-index: -5;
  height: 95vh !important;
  max-height: 95vh !important;
}
#post-description .postid-499 {
  background: rgb(194, 15, 22);
  background: linear-gradient(
    135deg,
    rgba(194, 15, 22, 1) 0%,
    rgba(221, 72, 29, 1) 52%,
    rgba(233, 186, 33, 1) 100%
  );
}
.pt-gradient:after {
  content: "";
  position: fixed;
  width: 100vw;
  max-width: 100%;
  min-width: 100vw;
  height: 100%;
  margin-top: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none !important;
  background-image: url("assets/grain.webp");
  background-size: 80%;
  opacity: 0.15;
  background-repeat: repeat;
}
.pt-secondary {
  background: rgb(194, 15, 22);
  background: linear-gradient(
    298deg,
    rgba(194, 15, 22, 1) 0%,
    rgba(221, 72, 29, 1) 52%,
    rgba(233, 186, 33, 1) 100%
  );
}
.pt-three {
  background: rgb(194, 15, 22);
  background: linear-gradient(
    341deg,
    rgba(194, 15, 22, 1) 0%,
    rgba(221, 72, 29, 1) 52%,
    rgba(233, 186, 33, 1) 100%
  );
}
.postid-499 #jpf-wrap .cls-1 {
  fill: white !important;
}
.postid-499 {
  --primary-color: white;
  --primary-hover-color: var(--black);
}
.postid-499 #navigation-dropdown {
  background-color: var(--primary-hover-color);
}
.postid-499 footer {
  background:white;
  --primary-color:var(--black);
  --primary-hover-color: rgb(194, 15, 22);
}

.postid-499 #contact-button {
  --primary-color: var(--black);
}

.postid-499 #jpf-logo-footer .cls-1 {
  fill:rgb(194, 15, 22)!important;
}

/* !COLORS !FUSE */

.fuse-grey {
  background-color: #f7f7f7;
}
.postid-522 {
  --primary-color: #e23d14 !important;
  --primary-hover-color: rgb(182, 182, 182) !important;
}

/* !COLORS !MELIX */

.postid-865 {
  --primary-color:/*#f9e2dc*/ white;
  --primary-hover-color: #f9e2dc;
}
.postid-865 #navigation-dropdown {
  background-color: var(--black);
}
.postid-865 footer {
  --primary-color: var(--black);
}

.postid-865 #contact-button {
  --primary-color: var(--black);
}

.melix-logo {
  background-color: #e31937;
  height: 75vh !important;
}

.melix-banner {
  min-height: 75vh !important;
}

.postid-865 .entry-content .wp-block-columns {
  width: 100vw;
  max-width:100%;
  height: fit-content;
  padding-bottom: 80px;
}

.melixwhite p {
  color: var(--black) !important;
}

.melixgrey {
  background-color: #ebebeb;
  color: var(--black);
  z-index: -10;
  position: relative;
}

.melixgrey > * {
  z-index: 10;
  position: relative;
  --primary-color: var(--black);
}

@media screen and (max-width: 900px) {
  .postid-865 .entry-content .wp-block-columns {
    height: auto !important;
    max-height: unset !important;
  }
  .postid-865 .entry-content .wp-block-columns figure img,
  .postid-865 .entry-content .wp-block-columns .wp-block-image img {
    height: auto !important;
    max-height: unset !important;
    width: 90% !important;
    max-width: unset !important;
  }
  .bodycopy,
  #bodycopy-wrap p {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-right: 40px !important;
    width: 600px !important;
    max-width: calc(100vw - 80px) !important;
  }
  .postid-865 .entry-content p {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-right: 40px !important;
    width: 600px !important;
    max-width: calc(100vw - 80px) !important;
  }
}

.postid-865 > * {
  outline: 1px solid red;
}

/* !COLORS !interim */

.postid-866 {
  --primary-color: white;
  --primary-hover-color: #064728;
}

.postid-866 footer {
  --primary-color: var(--black);
}

.single-post .head-img {
  height: 100vh !important;
  max-height: 100vh !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 100%;
}

.single-post .head-img:before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 20%,
    rgba(0, 0, 0, 0) 100%
  );
  display: block;
  position: absolute;
  z-index: 0;
}

.single-post .interim-img {
  height: 100% !important;
  max-height: unset !important;
  object-fit: cover !important;
  padding: 0 !important;
}

.single-post figure.interim-img {
  height: 100% !important;
  max-height: unset !important;
  object-fit: cover !important;
  padding: 0 !important;
}

.single-post .interim-img video {
  object-fit: cover !important;
  max-height: unset !important;
  height: 100% !important;
  max-width: unset !important;
  width: 100% !important;
  padding: 0 !important;
  object-position: 50% 60%;
}

.interim-green {
  background-color: #064728;
}

.postid-815 footer {
  --primary-color: white;
}

.single-post figure.interim-bottom {
  position: absolute !important;
  bottom: 0;
  height: auto !important;
  z-index: 200 !important;
}

@media screen and (max-width: 900px) {
  .single-post figure.interim-img {
    height: 100% !important;
    max-height: unset !important;
  }
  .single-post figure.interim-bottom {
    display: none;
  }
}

/* !COLORS !ARBINGER */

.postid-1134 {
  --primary-color: #1f2e3b;
}

.arbinger-slideshow .wp-block-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.arbinger-slideshow .wp-block-image img {
  width: auto !important;
  height: 80% !important;
}

.arbinger-slideshow figure:nth-of-type(1){
  opacity:1!important;
}

.postid-1134 .wp-block-video:nth-of-type(1) video {
  /*width:65vw!important;*/
  height: 80% !important;
  margin-top: -2%;
}

.post-stack {
  gap: 0 !important;
  padding-left: 40px;
  padding-right: 40px;
  width: auto !important;
  max-width: unset !important;
  min-width: unset !important;
}
.post-stack .wp-block-image {
  width: auto !important;
  height: auto !important;
  max-width: unset !important;
  max-height: unset !important;
  min-width: unset !important;
  min-height: unset !important;
}
.post-stack .wp-block-image img {
  object-fit: contain !important;
}
.arbinger-dark {
  background-color: #1f2e3b;
}
.arbinger-banners {
  height: 80vh !important;
  height: 80svh !important;
}
.arbinger-dark p {
  color: white;
}
.arbinger-blue {
  background-color: #00a6e2;
}
.arbinger-purple {
  background-color: #a5519f;
}
.arbinger-orange {
  background-color: #f2ae2e;
}

@media screen and (max-width: 703px) {
  .post-stack {
    flex-direction: column !important;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .post-stack figure,
  .post-stack figure:nth-of-type(1),
  .post-stack .wp-block-image,
  .post-stack figure:not(:first-of-type) {
    height: 65svh !important;
    max-height: unset !important;
    min-height: unset !important;
  }
  .arbinger-slideshow .wp-block-image img {
    object-fit: contain !important;
  }
  .arbinger-dark,
  .arbinger-dark:not(:first-of-type) {
    height: fit-content !important;
  }
  .arbinger-banners {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.arbinger-slideshow .wp-block-image {
  opacity: 0 !important;
  transition: opacity 2s ease-in-out; /* Adjust the duration and easing as needed */
}
.arbinger-slideshow .wp-block-image.active {
  opacity: 1 !important;
}


.wp-block-gallery-1 figure {
  padding-bottom:0!important;
}


/* !COLORS !OMNIADVISOR */

.postid-1607 {
  --primary-color: rgb(48, 48, 48);
  --primary-hover-color: #2b7939;
}

.postid-1607 footer {
  --primary-color: var(--black);
}

.postid-1607 #post-description {
  padding-left: 2rem !important;
  background-color: #efefef !important;
  padding-bottom: 2rem !important;
  padding-top: 2rem !important;
}

/* !COLORS !OMNIADVISOR 
@media screen and (min-width: 900px) {
    .postid-1607 #post-description {
    }
}
    */

.oa-copy {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.oa-copy p {
  max-width: 40rem;
  width: 50%;
  margin-right: 0;
}

.OA-grey {
  background-color: #efefef;
}
.OA-dark {
  background-color: #2b7939;
}
.OA-dark p {
  color: white !important;
}
.OA-light {
  background-color: #78b13d;
}
#oa-video {
  margin: 0;
  height: fit-content;
  object-fit: cover !important;
  max-height: 95vh;
  margin-top: unset !important;
}
#oa-video video {
  margin: 0;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
}

.postid-1607 .head-img:before {
  display: none !important;
}

.postid-1607 .arbinger-slideshow {
  object-fit: contain !important;
}

.postid-1607 .arbinger-slideshow img {
  height: auto !important;
  max-width: 80% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  max-width: unset !important;
  flex: unset !important;
}

.omni-slideshow {
  height: 90svh;
}

.oa-laptop {
  height: 100svh !important;
}
.oa-laptop img {
  height: 90% !important;
  width: auto !important;
}

.oa-laptop {
  background-color: #efefef;
}

.oa-linkedin {
  background-color: #efefef;
  max-height: 80vh;
}

.oa-linkedin img {
  width: 90% !important;
  max-width: 1080px !important;
  margin-left: auto;
  margin-right: auto;
  height: auto;
}

.postid-1607 .arbinger-slideshow .wp-block-image {
  padding-bottom: 0 !important;
}

.oa-cover-image {
  height: 100svh !important;
}
.oa-cover-image img {
  object-fit: cover !important;
}

.oa-banner {
  padding-bottom: 0 !important;
}

.single-post .cover-image img {
  object-fit: cover;
}

.icon-gallery {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  max-width: 45rem;
  width: 80vw !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 100px !important;
  margin-bottom: 100px !important;
  min-width: unset !important;
  height: auto !important;
  overflow: visible;
  gap: 2rem !important;
}
.icon-gallery .wp-block-image {
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  aspect-ratio: 1 / 1 !important;
  padding-bottom: 0 !important;
  overflow: visible;
}

@media screen and (max-width: 900px) {
  #oa-video {
    height: 95svh !important;
  }
  .oa-laptop {
    height: 500px !important;
  }
  .oa-banner {
    height: 85vw !important;
  }
  #oa-video video {
    margin: 0;
    min-width: 210% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  .omni-slideshow {
    height: 60svh !important;
  }
  .omni-slideshow figure {
    height: 100% !important;
  }
  .omni-slideshow .wp-block-image img {
    width: 95% !important;
    height: auto !important;
  }
  .icon-gallery {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 20vw !important;
    max-width: 90vw;
    gap: 20px !important;
  }
  .icon-gallery .wp-block-image {
    padding-top: 0px !important;
    padding-top: 0px !important;
    padding: 0 !important;
  }
  .oa-linkedin img {
    width: 95vw !important;
    max-width: 95% !important;
    margin-left: auto;
    margin-right: auto;
    height: auto;
  }

  .oa-copy {
    flex-direction: column;
  }

  .oa-copy p {
    width: 100%;
    margin-bottom: 0;
  }

  .OA-grey {
    flex-direction: column;
  }
}

/* !BODYCOPY */

.bodycopy-wrap,
#bodycopy-wrap {
  display: flex;
  width: 100%;
  height: fit-content;
  margin-top: 0px;
  padding-top: 40px !important;
  max-width: unset;
  flex-direction: row;
  padding: 0 0;
  padding-left: 40px !important;
  padding-right: 30% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  z-index: 0;
  gap: 20px;
  padding-bottom: 10px !important;
}

@media screen and (max-width: 900px) {
  .bodycopy-wrap,
  #bodycopy-wrap {
    margin-top: 0px;
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-bottom: 10px !important;
    flex-direction: column;
    gap: 10px;
  }
}

.bodycopy-wrap p,
#bodycopy-wrap p {
  width: 50%;
  max-width: unset;
  padding-right: 0 !important;
  padding-left: 0 !important;
  font-family: "dmsans";
  margin-top: 0px;
  font-weight: 420;
  font-size: 0.65rem;
  line-height: 1.6;
  min-width: unset;
  display: block;
  height: fit-content;
  margin: 0 0;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.bodycopy-wrap p:nth-of-type(1),
#bodycopy-wrap p:nth-of-type(1) {
  width: max-content;
  min-width: max-content;
}

.bodycopy-more p:nth-of-type(1) {
  color: transparent;
  border-top: 1px solid var(--primary-color);
  transform: translateY(10px);
}

/* !TAG !TICKER */

.tag-ticker {
  margin: 0 0 !important;
  padding: 0 0 !important;
}

/* !POST !GLOBE  */

#globe-wrap {
  position: absolute;
  top: 2.6rem;
  right: 1.5rem;
}

#link-globe {
  width: 20px;
  height: auto;
}

#link-globe .globe-inner {
  fill: none;
  stroke: var(--primary-color);
  stroke-miterlimit: 10;
  stroke-width: 0.75px;
  transition: 0.2s linear stroke;
}

#globe-wrap:hover .globe-inner {
  stroke: var(--primary-hover-color);
}

/* CTA SECTION */

.call-to-action {
  margin-top: 0px;
  margin-bottom: calc(var(--site-radius) * -1);
  background-color: var(--secondary) !important;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
  height: 0px;
  transform-origin: bottom;
  height: 15rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

@media screen and (max-width: 900px) {
  .call-to-action {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.wp-block-separator {
  border-top: 1.2px solid var(--primary-color);
  width: auto;
  margin-left: 20px;
  margin-right: 20px;
}

@media screen and (max-width: 900px) {
  .about-description p {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

.about-description strong {
  font-family: avant-garde_demi !important;
}

.testimonials {
  height: fit-content;
  margin-bottom: 40px !important;
  width: auto !important;
  max-width: unset !important;
  min-width: unset !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-top: -30px;
  overflow-x: hidden !important;
}

.category-testimonials > div {
  padding: 0 0 !important;
}

.testimonials figure:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #ffffff2c;
  display: block;
  position: absolute;
  z-index: -10;
  /* filter: blur(20px); */
  transform: translate(15px, 5px);
  /* mix-blend-mode: screen; */
}

@media screen and (max-width: 900px) {
  .testimonials {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
}

.testimonials .slick-track {
  gap: 0px;
  display: flex;
}
@media screen and (max-width: 900px) {
  .testimonials .slick-slide {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

.testimonials .slick-slide {
  background-color: #efefef;
  border-radius: 40px;
  padding: 35px 30px !important;
  margin-left: 40px;
  margin-right: 40px;
}

.testimonials .slick-slider,
.testimonials .slick-list,
.testimonials .slick-track,
.testimonials .slick-slide,
.testimonials .slick-slide > div,
.testimonials .slick-slide > div > div,
.testimonials li,
.testimonials li > div {
  height: 100%;
}

.slick-arrow {
  position: relative;
  height: 20px;
  width: 20px;
  margin-top: 0px;
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(assets/arrow-right.svg);
  cursor: pointer;
}

.nav {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 20px;
  width: fit-content;
  margin-left: 50px;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: relative !important;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: auto !important;
  background-size: contain;
  background-position: center;
}

.slick-prev::before,
.slick-next::before {
  display: none !important;
}

.slick-prev {
  left: 0 !important;
  background-image: url("assets/arrow-left.svg") !important;
}
.slick-next {
  background-image: url("assets/arrow-right.svg") !important;
}

@media screen and (max-width: 900px) {
  .slick-prev {
    left: unset !important;
  }
  .slick-next {
    right: unset !important;
    left: unset !important;
  }

  .nav {
    width: auto;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    justify-content: space-between;
  }
}

.slick-dots {
  padding: 0px;
  display: flex;
  flex-direction: row;
  height: auto;
  /* margin-top: 10px; */
  list-style-type: none;
  margin-left: 120px;
  position: absolute;
  top: -55px;
  display: none !important;
}

.slick-dots button::before {
  font-family: "slick";
  font-size: 10px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "â¢";
  text-align: center;
  opacity: 0.25;
  color: var(--primary-color);
  -webkit-font-smoothing: antialiased;
}

.slick-dots .slick-active button::before {
  opacity: 0.75;
  color: var(--primary-color);
}

.slick-dots button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.testimonials li > div {
  display: flex;
  flex-direction: row;
}

li {
  display: flex;
  flex-direction: row;
}

.testimonials li figure {
  height: 10px;
  width: 100px;
  min-width: 100px;
  min-height: 100px;
  background-color: white;
  border-radius: 80px;
  padding: 8px;
}

.testimonials li figure img {
  width: auto;
  height: auto;
  object-fit: cover !important;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
}

.testimonial-description {
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  margin-left: 20px;
}

.testimonial-description .wp-block-post-excerpt {
  margin-top: 0px;
}

.home .featured-section .wp-block-post-excerpt {
  margin-top: 0px;
}

h4 {
  font-size: 15px !important;
  line-height: 11px !important;
  font-weight: 600;
  /*border: 1.2px solid var(--primary-color);*/
  display: block;
  /*padding: 5px;*/
  width: fit-content;
  text-transform: uppercase;
}

h4 {
  margin-left: 1.5rem;
}

.testimonials-outer h4 {
  margin-left: 10px;
  padding-bottom: 10px !important;
  border-bottom: unset;
}

.testimonial-description p {
  font-weight: 450;
  font-size: 15px !important;
  line-height: 28px !important;
  width: 80%;
  max-width: 1200px;
}

.testimonials-outer .wp-block-post-excerpt {
  margin: 0;
}

.about-inner {
  margin-top: 1.5rem !important;
  margin-bottom: 40px;
}

.about-block > div {
  width: 50%;
}

@media screen and (max-width: 900px) {
  .about-block {
    flex-direction: column;
  }
  .about-block > div {
    width: 100%;
  }
  .testimonials li > div {
    flex-direction: column;
  }
  .testimonials figure {
    height: 60px !important;
  }
  .testimonial-description {
    margin-left: 0px;
    margin-top: 10px;
  }
  .testimonials .slick-slide {
    padding: 0px;
    padding-top: 20px;
  }
  .testimonials-outer h4 {
    margin-left: 20px;
  }
}

.testimonials-outer {
  margin-top: 9rem;
}

.testimonials figure:before {
  content: "";
  width: 100px;
  height: 100px;
  color: red;
  display: block;
  position: absolute;
}

/**/

.about-inner {
  width: 100% !important;
}

/**/

.page main#wp--skip-link--target {
  margin-top: 0px !important;
}

.page h1 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
  max-width: unset;
  border-bottom: 1.2px solid var(--primary-color);
  padding-left: 00px;
  padding-right: 0px;
  padding-top: 130px;
  padding-bottom: 15px;
  font-weight: 800;
  margin-bottom: 40px;
  /*background-color:var( --primary-hover-color);
    color:white;*/
  display: none;
}

.has-global-padding {
  padding: 0 0;
}

/*
.page header {
    --primary-color:white;
    --secondary-color:green;
    --tertiary-color:rgb(248, 248, 248);
    --primary-hover-color:rgb(0, 157, 230); 
    --primary-hover-color-in:white;
    --primary-background:green;
}
*/

#work-link {
  position: absolute;
  top: 0px;
  right: 162px;
  color: var(--primary-color);
  font-family: dmsans;
  font-size: 12px;
  line-height: 11px;
  font-weight: 650;
  padding: 5px 0px;
  margin: 0;
  transition: all 0.2s linear;
  z-index: 100;
  display: none;
}

#work-link:after {
  content: "v";
  display: inline;
  position: absolute;
  width: fit-content;
  height: fit-content;
  font-family: dmsans;
  font-size: 12px;
  color: var(--primary-color);
  padding-left: 10px;
  padding-right: 10px;
  display: none;
}

#contact-button {
  position: fixed;
  bottom: 1rem;
  right: 1.2rem;
  border-radius: 1rem;
  border: 1.2px solid var(--secondary-color);
  color: var(--primary-color);
  font-family: "avant-garde_med";
  font-size: 0.5rem;
  line-height: 1;
  font-weight: 550;
  padding: 0.2rem 0.4rem;
  margin: 0;
  transition: all 0.5s linear;
  z-index: 100;
  background-color: white;
  padding-top: 0.26rem !important;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}
.cta-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#lightbulb {
  width: auto;
  margin-top: -10%;
  position: absolute;
  right: 0;
  margin-right: 1.5rem;
  height: 16rem;
  margin-top: -4rem;
  z-index:-1;
}

@media screen and (max-width: 900px) {
  #lightbulb {
    right: -9rem;
  }
}

.page-id-886 #contact-button {
  display: none;
}

.home .scrolled #contact-button {
  border-color: var(--primary-hover-color);
  color: var(--primary-hover-color);
}

.menu-open #contact-button {
  border-color: white;
  background: transparent;
  color: white;
}


@media screen and (max-width: 900px) {
  #contact-button {
    right: 20px;
    position: fixed;
    background: rgba(255, 255, 255, 0.466);
    /* backdrop-filter:blur(15px); */
    /* -webkit-backdrop-filter:blur(15px); */
    display: none;
  }
}

/* CONTACT PAGE */

#contact-columns {
  padding-left: 40px !important;
  padding-right: 40px !important;
}
#contact-columns h2 {
  font-size: 2rem;
}

#contact-column .wp-block-column:nth-of-type(1) {
  padding-left: 0px !important;
  padding-right: 1.5rem !important;
  padding-top: 60px;
}

#contact-columns h4 {
  margin-left: 0;
  font-family: avant-garde_demi;
  font-weight: 700;
  line-height: 35px !important;
  font-size: 1.5rem !important;
}

#contact-link path,
#contact-link line {
  transition: all 0.2s linear;
}

#contact-link:hover path,
#contact-link:hover line {
  stroke: var(--primary-hover-color) !important;
}

#contact-link:hover {
  display: flex;
  flex-direction: row;
}

#contact-link svg {
  width: 1rem;
  height: auto;
  margin-right: 15px;
}

#contact-column {
  width: calc(100% - 3rem);
  min-width: calc(100% - 3rem);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 150px;
  height: auto;
  min-height: calc(100vh - 120px);
  margin-top: 0px;
}

#contact-column input,
#contact-column button {
  box-shadow: unset;
}

#contact-column input {
  border: unset !important;
  border: 0.05rem solid rgb(226, 231, 233) !important;
  border-radius: 0.5rem;
  padding: 0.5rem 0.2rem;
  background-color: #ffffff;
}
#contact-column button {
  text-decoration: none;
  border: 0.1rem solid var(--primary-hover-color);
  color: var(--primary-hover-color);
  border-radius: 2rem;
  padding: 0.3rem 0.45rem;
  font-family: dmsans;
  font-size: 0.72rem !important;
  line-height: 1;
  font-weight: 450;
  margin-bottom: 0.3rem;
  margin-right: 0.3rem;
  width: max-content;
  max-width: max-content;
  min-width: max-content;
  height: fit-content !important;
  max-height: unset !important;
  min-height: unset !important;
  flex-basis: 100%;
  background: none !important;
  position: relative;
  z-index: 10;
  transition: color 0.2s linear, border-color 0.2s linear;
  line-height: 1.2;
}

#contact-column button:hover {
  border-color: var(--primary-hover-color) !important;
  color: white !important;
  background-color: var(--primary-hover-color) !important;
}

#field_1h3zc {
  height: 100px;
}

.with_frm_style .frm_required {
  font-weight: normal !important;
  color: var(--primary-hover-color);
}

.frm_style_formidable-style.with_frm_style .frm_error {
  color: var(--primary-color);
  opacity: 0.7;
  margin-top: 5px;
}

.with_frm_style input[type="text"],
.with_frm_style input[type="password"],
.with_frm_style input[type="email"],
.with_frm_style input[type="number"],
.with_frm_style input[type="url"],
.with_frm_style input[type="tel"],
.with_frm_style input[type="phone"],
.with_frm_style input[type="search"],
.with_frm_style select,
.with_frm_style textarea,
.frm_form_fields_style,
.with_frm_style .frm_scroll_box .frm_opt_container,
.frm_form_fields_active_style,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement,
.with_frm_style .chosen-container-multi .chosen-choices,
.with_frm_style .chosen-container-single .chosen-single,
.with_frm_style .frm_slimselect.ss-main {
  background: transparent;
}

.with_frm_style input[type="text"]:focus,
.with_frm_style input[type="password"]:focus,
.with_frm_style input[type="email"]:focus,
.with_frm_style input[type="number"]:focus,
.with_frm_style input[type="url"]:focus,
.with_frm_style input[type="tel"]:focus,
.with_frm_style input[type="phone"]:focus,
.with_frm_style input[type="search"]:focus,
.with_frm_style select:focus,
.with_frm_style textarea:focus,
.frm_form_fields_style:focus,
.with_frm_style .frm_scroll_box .frm_opt_container:focus,
.frm_form_fields_active_style:focus,
.frm_form_fields_error_style:focus,
.with_frm_style .frm-card-element.StripeElement:focus,
.with_frm_style .chosen-container-multi .chosen-choices:focus,
.with_frm_style .chosen-container-single .chosen-single:focus,
.with_frm_style .frm_slimselect.ss-main:focus,
#contact-column input:focus {
    border:2px solid var(--primary-hover-color) !important;
  box-shadow:0px 0px 5px var(--primary-hover-color) !important;
}

.page input:focus,
.page input:select,
.page input:after,
.page input:target,
.page input:visited,
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="email"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="text"],
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="password"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="url"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="tel"],
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="number"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="email"],
.frm_style_formidable-style.with_frm_style .frm_blank_field textarea,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .mce-edit-area
  iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  select:not(.ui-datepicker-month):not(.ui-datepicker-year),
.frm_form_fields_error_style,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-g-recaptcha
  iframe,
.frm_style_formidable-style.with_frm_style .frm_blank_field .g-recaptcha iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-card-element.StripeElement,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-multi
  .chosen-choices,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-single
  .chosen-single,
.frm_style_formidable-style.with_frm_style .frm_form_field :invalid {
  background: transparent !important;
  background-color: unset !important;
}

.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="text"],
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="password"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="url"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="tel"],
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="number"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="email"],
.frm_style_formidable-style.with_frm_style .frm_blank_field textarea,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .mce-edit-area
  iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  select:not(.ui-datepicker-month):not(.ui-datepicker-year),
.frm_form_fields_error_style,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-g-recaptcha
  iframe,
.frm_style_formidable-style.with_frm_style .frm_blank_field .g-recaptcha iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-card-element.StripeElement,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-multi
  .chosen-choices,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-single
  .chosen-single,
.frm_style_formidable-style.with_frm_style .frm_form_field :invalid {
  background: transparent !important;
  background-color: unset !important;
}

input,
select,
textarea {
  color: var(--primary-color) !important;
}

textarea:focus,
input:focus {
  color: var(--primary-color) !important;
}

.frm_style_formidable-style.with_frm_style .frm_error_style,
.frm_message,
.with_frm_style .frm_message {
  background-color: unset;
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-family: dmsans;
}

.with_frm_style .frm_radio input[type=radio], .with_frm_style .frm_checkbox input[type=checkbox] {
    width: 25px !important;
    border-radius:5px!important;
}

.page #contact-links {
  margin-top: 1.5rem;
}

/* FOOTER CTA */

.call-to-action .pre-title,
.call-to-action label,
.call-to-action .frm_primary_label {
  color: #a8e3ff !important;
  transition: color 0.3s ease-in-out;
  font-style: normal;
  text-transform: unset;
  text-decoration: none;
  font-family: "dmsans";.call-to-action
  font-weight: 500;
  font-size: 0.7rem;
  line-height: 1.75;
  margin: 0rem;
  margin-bottom: 0.25rem;
}

@media screen and (max-width: 900px) {
  .call-to-action .pre-title,
  .call-to-action label,
  .call-to-action .frm_primary_label {
    font-size: 0.6rem!important;
  }
  .call-to-action {
    padding-left:20px;
    padding-right:20px;
  }
  .call-to-action h5 {
    margin-bottom:1rem!important;
  }
      .call-to-action .pre-title, .call-to-action label, .call-to-action .frm_primary_label {
        margin-bottom: .5rem;
    }
}

.call-to-action .pre-title {
  color: #a8e3ff !important;
}

.call-to-action .with_frm_style .frm_top_container .frm_primary_label,
.call-to-action .with_frm_style .frm_hidden_container .frm_primary_label,
.call-to-action .with_frm_style .frm_pos_top {
  margin-bottom: 0.25rem;
}

.call-to-action .frm_forms,
.frm_fields_container {
  display: flex;
  flex-direction: row;
}

.home #frm_field_16_container input {
  height: 1.8rem !important;
}
.call-to-action .frm_forms button,
.home .home.frm_style_formidable-style.with_frm_style input[type="submit"],
.home
  .frm_style_formidable-style.with_frm_style
  .frm_submit
  input[type="button"],
.home .frm_style_formidable-style.with_frm_style .frm_submit button,
.home .frm_form_submit_style {
  height: 1.8rem;
  width: 1.8rem;
  line-height: normal;
  background: unset;
  border-width: 2px;
  border-color: #00a0d8;
  border-style: solid;
  cursor: pointer;
  font-weight: normal;
  border-radius: 10px;
  text-shadow: none;
  padding: 0px;
  box-sizing: border-box;
  box-shadow: unset;
  margin: 0px;
  margin-bottom: 0 !important;
  margin-left: 0;
  margin-right: 0;
  vertical-align: middle;
  transition: all linear 0.3s;
}
.call-to-action .with_frm_style input,
.call-to-action .with_frm_style input[type="email"]:focus {
  border-radius: 10px;
  background-color: white !important;
  margin: 0 !important;
  vertical-align: middle !important;
}
.call-to-action .frm_message,
.call-to-action .frm_error_style,
.call-to-action .frm_error_style p,
.call-to-action .with_frm_style .frm_message p,
.call-to-action .frm_success_style p,
.call-to-action .frm_style_formidable-style.with_frm_style .frm_error_style {
  border-color: #00a0d8 !important;
  border-width: 2px !important;
  /* border: none!important; */
  color: #00a0d8 !important;
  margin-bottom: 0.5rem !important;
  border-radius: 10px !important;
  padding: 0.5rem;
  font-weight: 300;
}
.home .frm_forms button,
.frm_style_formidable-style.with_frm_style .frm_submit {
  font-size: 0px !important;
}

.call-to-action
  .frm_style_formidable-style.with_frm_style
  .form-field:nth-of-type(3) {
  margin-bottom: 0 !important;
  height: fit-content;
}

/* 2. Create the dot using a pseudo-element */
.with_frm_style .frm_radio input[type="radio"]:checked:before,
.with_frm_style .frm_checkbox input[type="checkbox"]:checked:before,
.call-to-action
  .frm_forms.with_frm_style
  .frm_fields_container
  .frm_checkbox
  input[type="checkbox"]:checked::after {
  content: "";
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 10px !important; /* Adjust size of the dot here */
  height: 10px !important; /* Adjust size of the dot here */
  background-color: var(--border-color-active);
  border-radius: 50%; /* Makes it a circle */
}
.call-to-action .frm_primary_label {
  display: none !important;
}

.call-to-action .with_frm_style .frm_radio label,
.call-to-action .with_frm_style .frm_checkbox label {
  display: flex;
  flex-direction: row !important;
  gap: 0.5rem !important;
  justify-content: center;
  align-items: center;
  font-weight: 300;
    letter-spacing: 0;
    font-family: 'DMSans';
}

.home .frm_forms button:hover,
.home .frm_style_formidable-style.with_frm_style .frm_submit button:hover {
  background-color: var(--primary-hover-color) !important;
}

.home .frm_forms button:before {
  content: "";
  background-image: url(assets/arrow-right_white.svg) !important;
  color: white;
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  background-repeat: no-repeat;
  /* top: .2rem; */
  background-size: 100% auto;
  transform: translate(-0.4rem, -0.35rem);
}

.home #frm_field_16_container {
  width: calc(100% - 2.5rem);
  min-width: calc(100% - 2.5rem) !important;
  order: 1;
  height: 2rem;
}
.call-to-action .frm4 {
  order: 2;
  max-width: 17rem;
}
.home #frm_field_19_container {
  width: 100%;
  order: 3;
}

.frm_form_fields *  {
  font-family:dmsans
}

.home .frm_combo_inputs_container,
.home .frm_grid_container,
.home .frm_form_fields .frm_section_heading,
.home .frm_form_fields .frm_fields_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 25rem;
  justify-content: space-between;
}

/*
.frm_checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.frm_checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.frm_checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-hover-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.frm_checkbox label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background-color: var(--primary-hover-color);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.frm_checkbox input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) scale(1);
}

.frm_checkbox input[type="checkbox"]:checked + label::before {
    background-color: #f0f8ff; 
}
 */

.home
  .frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="text"],
.home
  .frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="password"],
.home
  .frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="url"],
.home
  .frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="tel"],
.home
  .frm_style_formidable-style.with_frm_style
  .frm_blank_field
  input[type="number"],
.frm_style_formidable-style.with_frm_style .frm_blank_field input[type="email"],
.frm_style_formidable-style.with_frm_style .frm_blank_field textarea,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .mce-edit-area
  iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  select:not(.ui-datepicker-month):not(.ui-datepicker-year),
.frm_form_fields_error_style,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-g-recaptcha
  iframe,
.frm_style_formidable-style.with_frm_style .frm_blank_field .g-recaptcha iframe,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .frm-card-element.StripeElement,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-multi
  .chosen-choices,
.frm_style_formidable-style.with_frm_style
  .frm_blank_field
  .chosen-container-single
  .chosen-single,
.frm_style_formidable-style.with_frm_style .frm_form_field :invalid,
.call-to-action input {
  background-color: #ffffff !important;
  border: 2px solid var(--primary-hover-color) !important;
  border-radius: 10px;
  padding: 10px 10px !important;
  font-family: "DM Sans", sans-serif !important;
  color: #333333;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.with_frm_style .frm_radio input[type="radio"],
.call-to-action .with_frm_style .frm_checkbox input[type="checkbox"] {
  width: 0.5rem !important;
  height: 0.5rem !important;
  border-radius: 0.4rem !important;
}

.call-to-action .frm_style_formidable-style.with_frm_style input[type="submit"],
.frm_style_formidable-style.with_frm_style .frm_submit input[type="button"],
.frm_style_formidable-style.with_frm_style .frm_submit button,
.frm_form_submit_style {
  width: 10px;
}

.call-to-action input {
  border-color: var(--primary-hover-color) !important;
}

/* CONTACT LINK */

#contact-link {
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
  padding: 0.2rem 1rem;
  border-radius: 2rem;
  background-color: #f6fbfe;
  width: fit-content;
  transition: all ease 0.3s;
}

.page #contact-links a {
  font-family: dmsans;
  font-weight: 400;
  text-decoration: none;
  color: var(--primary-color);
  transition: all ease 0.3s;
  font-size: 0.72rem;
}

#contact-links p {
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.72rem;
}

.with_frm_style .frm_primary_label {
  font-weight: 500;
}

#contact-link path,
#contact-link stroke,
#contact-link line {
  stroke: var(--primary-color) !important;
  transition: all ease 0.3s;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  overflow: visible !important;
}

/* CONTACT LINK !HOVER */

#contact-link:hover path,
#contact-link:hover stroke,
#contact-link:hover line {
  stroke: white !important;
}
#contact-link:hover {
  background-color: var(--primary-hover-color) !important;
}
#contact-link:hover a {
  color: white !important;
}

#contact-linkedin {
  transform: translateY(-2px);
}
#footer-linkedin {
  transform: translateY(-1px);
}

.cv,
.portfolio {
  border-radius: 7px !important;
}

#contact-links .linkedin-icon g {
  overflow: visible !important;
}

.page #contact-link:hover a {
  color: var(--primary-hover-color);
}

.page #contact-link:hover .mail-style {
  stroke: var(--primary-hover-color) !important;
}

/*
.frm_style_formidable-style.with_frm_style .frm_error_style {
    display:none;
}
*/

.page .wp-block-post-content {
  margin-bottom: 90px;
}

#contact-column,
.page .wp-block-columns {
  flex-direction: row;
}

.frm_error_style p,
.with_frm_style .frm_message p,
.frm_success_style p,
.frm_style_formidable-style.with_frm_style .frm_error_style {
  margin: 0 !important;
  color: var(--primary-color) !important;
}

#contact-column .wp-block-column:nth-of-type(2) {
  margin-top: 10px;
}

@media screen and (max-width: 703px) {
  #contact-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column;
    padding-top: 90px;
  }
  #contact-columns {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #contact-column .wp-block-column:nth-of-type(2) {
    /*border:1.2px solid var(--primary-color)!important;*/
    border-radius: 5px;
    /*padding:20px 15px;*/
    margin-top: 20px;
  }
  #contact-column {
    width: calc(100% - 40px);
    min-width: calc(100% - 40px);
    gap: 15px;
  }
  #contact-columns:nth-of-type(2) {
    padding-bottom: 0px !important;
    margin-bottom: 5px;
  }
  .page h1 {
    display: none;
  }

  .page #frm_field_6_container,
  .page fieldset {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .page .entry-content {
    margin-bottom: 10px !important;
  }

  .frm_message,
  .frm_error_style,
  .with_frm_style .frm_message,
  .frm_success_style,
  .with_frm_style .frm_message,
  .frm_success_style {
    border: unset !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.page #contact-columns .wp-block-column:nth-of-type(2) {
  margin-top: 5px;
}

.tag-testimonial .entry-content {
  width: 100%;
  padding-top: 100px !important;
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.tag-testimonial .entry-content p {
  max-width: 900px;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.4;
}

.tag-testimonial .entry-content p:last-of-type {
  font-weight: 1000;
}

.featured-section {
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 70px;
  margin-top: 20px;
  margin-right:auto;
  margin-left:auto;
  max-width:60rem;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.featured-section li {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 40px;
  opacity: 1;
}

h5 {
  font-size: clamp(45px, 2.2vw, 60px);
  line-height: 1.1;
  margin-top: 0px !important;
  margin-bottom: 40px !important;
  font-family: avant-garde_med;
  color: white;
  position: relative;
  z-index: 10;
}

.howitworks h5 {
  text-align: center;
  margin-top: 20px !important;
  margin-bottom: 10px;
  line-height: 1.1;
  font-size: 0.9rem;
  letter-spacing: -0.5px;
  font-weight: 800 !important;
}
.howitworks p {
  /*font-size:1.4rem;
    font-weight:700;
    margin-left:-.5rem;*/
  margin-top: 0px;
  text-align: center;
  width: 90%;
  font-size: 0.7rem;
  line-height: 1.75;
  font-weight: 300;
}

.featured-section p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6; /* Number of lines to show */
  overflow: hidden;
  font-size: 0.7rem;
  line-height: 1.75;
  font-weight: 300;
}

.featured-section .wp-block-column {
  width: 60%;
}

.featured-section .wp-block-columns {
  display: flex;
  flex-direction: row;
}
.featured-section li:nth-of-type(2n) .wp-block-columns {
  flex-direction: row-reverse;
}

.featured-section figure {
  height: 35vw;
  overflow: hidden;
  border-radius:calc(var(--site-radius) - 15px);
  margin-bottom: 5px;
  /* filter: drop-shadow(0px 0px 4px #00000027); */
}
.featured-section figure img {
  box-sizing: border-box;
  height: 100%;
  max-width: 100%;
  vertical-align: bottom;
  width: 100%;
  object-position: center;
  transition: all 0.3s ease-in-out;
}

.featured-section figure:hover img {
  transform: scale(102%);
}

.featured-section li:last-of-type #featured-posts {
  margin-bottom: 0px;
}

#featured-posts {
  margin-bottom: 0px;
}

@media screen and (max-width: 703px) {
  .featured-section figure {
    height: 70vw;
    margin-bottom: 0px;
  }
  #featured-posts {
    padding-bottom: 10px;
    margin-bottom: 10px;
    width: 100%;
  }
  #featured-posts:nth-of-type(3) {
    border-bottom: unset;
    margin-bottom: 0px;
  }
}
@media screen and (max-width: 781px) {
  .featured-section figure {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-top: -1rem;
    border-radius: 1.5rem;
  }
}

.featured-description .wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.featured-section li:nth-of-type(2n - 1) .featured-description .wp-block-group {
  padding-left: 1.2rem;
}
.featured-section li:nth-of-type(2n) .featured-description .wp-block-group {
  padding-left: 0.2rem;
}
.featured-section li:nth-of-type(2n) .featured-description {
  padding-left: 0px;
  padding-right: 2rem;
}

.testimonials li {
  display: flex !important;
  flex-direction: row;
  gap: 50px;
}

@media screen and (max-width: 900px) {
  .testimonials li {
    flex-direction: column;
    gap: 0;
  }
  .testimonials li > div {
    margin: 0;
  }
  .testimonials li figure {
  }
}

.margin-bottom {
  margin-bottom: 80px !important;
}

.displaynone {
  display: none !important;
}

.outlink a {
  text-decoration: none;
}

.outlink:hover,
.wp-block-button__link:hover,
.subtitle-button:hover {
  background-color: var(--primary);
}
.outlink:hover a {
  color: var(--secondary) !important;
}

.wp-block-post-excerpt__more-link {
  width: fit-content;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  margin: 0;
  margin-right: 10px;
  margin-top: 5px;
  font-family: dmsans;
}

.wp-block-post-excerpt__more-text {
  margin-top: 0.15rem;
}

.outlink:last-of-type {
  margin-right: 0px;
}

.button-group {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 703px) {
  .featured-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .featured-section .featured-description .wp-block-group {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .button-group {
    margin-left: 0px;
    margin-right: 0px;
  }
  .custom-scrollbar {
    margin-top: 20px !important;
  }
  #menu-links {
    display: flex;
    flex-direction: row;
    line-height: 10px;
  }
}

h7 {
  color: var(--primary-color);
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  width: auto;
  margin-top: 200px;
  font-size: 40px;
  font-weight: 400;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1.2px solid var(--primary-color);
  display: none;
}

.work-post .post-1134 img {
  object-fit: contain !important;
  width: 120%;
  height: auto;
  background-color: #f2ae2e;
}

.hidden {
  display: none;
}

.work-posts {
  margin-top: 20px !important;
}

.work-posts ul {
  margin-top: 1.5rem !important;
}

.wp-block-post-featured-image img {
  /* height:auto!important; */
}

.wp-block-post-featured-image.alignwide img {
  height: 100% !important;
}

#home-block {
  min-height: 400px;
  height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  letter-spacing: -0.5px;
  padding-bottom: 70px;
}

#homehead-inner {
  margin-top: -70px;
}

#homehead-inner h6 {
  display: none;
}

#homevideo {
  position: absolute;
  width: 100vw;
  max-width:100%;
  height: 100svh;
  top: 0;
  z-index: -10;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  background-color: #00a3ef;
}

#homevideo video {
  height: 100%;
  object-fit: cover;
}

#header-section {
  height: 100svh;
  width: 100vw;
  max-width:100%;
  z-index: 100;
  position: relative;
  box-shadow: 0px 0px 20px 0px #0000001c;
}

#homehead-inner {
  margin-top: -70px;
}

#home-subtitle {
  pointer-events: auto; /* Ensure pointer events are enabled */
  z-index: -100;
  width: auto;
  padding: 0px 40px;
  padding-right: 50vw !important;
  /* padding-top: 130px !important; */
  background-color: var(--secondary) !important;
  /* padding-bottom: 70px; */
  /*position: relative;*/
  letter-spacing: -0.02em;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  font-family: avant-garde_demi;
  font-size: 42px;
  line-height: 1.4;
  /* margin-bottom:50px!important; */
  color: white;
  /* height:fit-content; */
  overflow: hidden;
  margin-top: -60px;
}

.home-subtitle {
  pointer-events: auto; /* Ensure pointer events are enabled */
  position: relative;
  width: auto;
  padding: 20px 40px;
  padding-right: 50vw !important;
  background-color: var(--secondary) !important;
  letter-spacing: -0.02em;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  font-family: avant-garde_demi;
  font-size: 42px;
  line-height: 1.4;
  color: white;
  height: fit-content;
  overflow: hidden;
  margin-bottom: 80px;
  margin-top: -60px;
  padding-top: 120px;
  transform: translate3d(0px, -100%, 0px);
  will-change: transform;
  transition: transform 1s ease-in-out;
}

.home-subtitle.active {
  transform: translate3d(0px, 0%, 0px);
}

.subtitle-decoration > * {
  fill: var(--primary);
  width: 300px;
  height: 300px;
}

.home-subtitle .subtitle-animation {
  position: absolute;
  right: 0;
  top: 0;
}

.home-subtitle .subtitle-animation #spin-one {
  transform: rotate(0deg);
  transition: transform 1s linear;
  will-change: transform;
}
.home-subtitle .subtitle-animation #spin-two {
  transform: rotate(-45deg);
  transition: transform 1s linear;
  will-change: transform;
}
.home-subtitle.active .subtitle-animation #spin-one {
  transform: rotate(90deg);
}
.home-subtitle.active .subtitle-animation #spin-two {
  transform: rotate(45deg);
}

@media screen and (max-width: 900px) {
  .home-subtitle .subtitle-animation {
    right: -150px;
    opacity: 25%;
  }
  #lightbulb {
    display:none;
  }
  .home .wp-block-tag-cloud {
    width: 100% !important;
  }
  .home .wp-block-tag-cloud a {
  }
}

.subtitle-animation {
  display: flex;
  flex-direction: column;
}
.home .wp-block-tag-cloud a {
  margin: 0px;
  margin-bottom: 0.25rem;
  margin-right: 0.1rem;
  padding: 0.3rem 0.45rem;
  font-family: dmsans;
  font-size: 0.72rem !important;
  line-height: 1;
  background: none !important;
  border: 0.1rem solid #a8e3ff;
  color: #a8e3ff;
  position: relative;
  z-index: 10;
  transition: all linear 0.2s;
  padding-bottom: 0.23rem;
}

.home .wp-block-tag-cloud a:hover {
  background: #a8e3ff !important;
  border: 2px solid #a8e3ff;
  color: var(--secondary);
}

#navigation-dropdown .wp-block-tag-cloud {
  margin-left: 1.5rem;
  margin-right: auto;
  width: 60vw;
  margin-bottom: 40px;
}

@media screen and (max-width: 900px) {
  #navigation-dropdown .wp-block-tag-cloud {
    display: none;
  }
}

#matter-background {
  position: fixed;
  top: 70px;
  left: 0;
  z-index: -200;
  width: 100vw;
  max-width:100%;
  height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

#matter-background svg {
  width: auto;
  height: 90%;
  opacity: 20%;
}

@media (max-width: 900px) {
  .home-subtitle {
    padding-right: 40px !important;
    padding-left: 20px;
    font-size: 28px;
  }
  .home-subtitle a {
  }
  .featured-header {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.7rem !important;
  }
}

.outlink,
.wp-block-button__link,
.subtitle-button {
  display: block;
  border-radius: 2rem;
  font-family: dmsans;
  width: fit-content;
  text-decoration: none;
  padding: 0px;
  margin-right: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.7rem;
  background-color: transparent;
  letter-spacing: -0.02em;
  color: #a8e3ff;
  line-height: 1.6;
  border: 2px solid #a8e3ff;
  padding: 0.2rem 0.75rem;
  transition: 0.2s linear all;
  z-index: 10;
  position: relative;
}

.wp-block-button__link a,
.subtitle-button a,
.outlink a {
  margin-top: 0px !important;
  padding: 0;
  color: #a8e3ff !important;
}

.hidden {
  display: none;
}

/*
.wp-block-post-excerpt__more-link  {
    display: block;
    border-radius: 100px;
    font-family:dmsans;
    width: fit-content;
    text-decoration: none;
    padding: 3px 10px;
    margin-top: 10px;
    font-weight: 500;
    font-size: 15px;
    background-color:white;
    letter-spacing:-0.02em;
    border:1.2px solid var(--black);
}
*/

.project-buttons {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: none;
}

/*
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000000" stroke="none" width="20px" height="20px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>') 10 10, auto;
  height: 100vh;
}


a {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" stroke="%none" fill="orange" width="20px" height="20px" viewBox="0 0 10.04 10.04"><circle cx="5.02" cy="5.02" r="4.52"/></svg>') 10 10, auto;
}
*/

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*
#spin-one {
  animation: rotating 20s linear reverse infinite;
}
#spin-two {
  animation: rotating 20s linear  infinite;
}
#spin-three {
  animation: rotating 20s linear reverse infinite;
}
*/

#jpf-wrap g,
#jpf-logo,
header {
  transition: all linear 0.2s;
}

header.scrolled #jpf-wrap g {
  opacity: 0 !important;
}

header.scrolled #jpf-logo {
  width: 9rem !important;
  margin-top: -10px;
  -webkit-filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.1));
  max-width: 10rem;
  overflow: visible !important;
}

/* HOW IT WORKS */

.howitworks {
  width: auto;
  margin-left: 60px;
  margin-right: 60px;
  margin-top: 60px;
  margin-bottom: 100px;
}
.howitworks .wp-block-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.howitworks figure {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.howitworks figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.howwework {
  background-color: var(--primary-hover-color);
  border-radius: 40px;
  padding-top: 80px;
  padding-bottom: 70px;
  margin-bottom: 60px;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 20px;
  width: calc(100vw - 80px) !important;
}
.howwework p,
.howwework h5 {
  margin-top: 0 !important;
}
.howwework h5 {
  color: var(--secondary) !important;
}
.howwework p {
  color: white;
}

.howwework img {
  /* mix-blend-mode:multiply; */
  display: none;
}

.hww-columns {
  margin-left: 3rem !important;
  margin-right: 1.5rem !important;
  margin-top: 20px;
  gap: 20px;
}
.howwework .hww-col {
  display: flex;
  flex-direction: column;
  max-width: fit-content;
  gap: 20px;
}
.howwework .hww-title {
  min-width: fit-content;
  font-size: 25px;
  margin-bottom: 20px !important;
  font-family: "avant-garde_demi";
}
.hww-desc {
  display: none;
  max-width: 500px;
}
.hww-active {
  width: auto;
  max-width: unset !important;
}

.hww-active img {
  display: block !important;
}

.howwework .hww-active .hww-title {
  font-family: "avant-garde_demi";
}
.howwework .hww-active .hww-title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 40px;
}
.hww-active .hww-desc {
  display: block;
  margin-bottom: 40px;
}
.hww-active .hww-title {
  font-size: 40px;
}
.hww-active-icon {
  /* mix-blend-mode: multiply; */
}

#how-it-works {
  display: grid;
  grid-template-rows: 50% 50%;
  grid-template-columns: 50% 50%;
  width: 33vw;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  padding-inline-start: none;
  padding: 0;
  margin: 0 auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.how-it-works-wrap {
  display: flex;
  flex-direction: row;
  width: auto;
  margin-left: 60px;
}

@media screen and (max-width: 703px) {
  .how-it-works-wrap {
    margin-left: 0px !important;
  }
}

.how-it-works-copy {
  margin-right: 0px;
  max-width: 500px;
}

.hhw-copy {
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all linear 0.5s;
}
.hhw-copy.accordian-active {
  /* margin-bottom:50px; */
  pointer-events: none;
}

.hhw-copy.accordian-active:before {
  content: "";
  width: 25px;
  height: 25px;
  border-radius: 100px;
  background-color: #cecece;
  display: block;
  position: absolute;
  transform: translate(-40px, 8px);
  display: none;
}

.hhw-copy h5 {
  color: var(--primary-color);
  margin-bottom: 20px !important;
  font-family: "avant-garde_demi";
  letter-spacing: -0.02em;
  font-size: 20px;
  transition: all linear 0.5s;
  cursor: pointer;
}

.hhw-copy.accordian-active h5 {
  font-size: 40px;
}
@media screen and (max-width: 703px) {
  .hhw-copy.accordian-active h5 {
    font-size: 7vw;
  }
}

#how-it-works li {
  height: auto;
  width: auto;
}

.icon-chunk {
  transition: all ease-in-out 1s;
}

.stage1 .hiw-1 .icon-chunk {
  stroke: var(--secondary) !important;
}
.stage2 .hiw-2 .icon-chunk {
  stroke: var(--secondary) !important;
}
.stage3 .hiw-3 .icon-chunk {
  stroke: var(--secondary) !important;
}

@media (max-width: 900px) {
  .how-it-works-wrap {
    flex-direction: column;
  }
  #how-it-works {
    max-width: calc(100vw - 80px);
    width: auto;
    padding: 0;
    margin-left: 40px;
    margin-right: 40px;
  }
  .howwework {
    width: calc(100vw - 40px) !important;
    padding-top: 60px;
    margin-left: 20px;
    margin-right: 20px;
  }
  #progress-bar {
    width: 6px !important;
  }
  .strategy-set {
    padding-left: 0px;
    padding-right: 20px;
  }
}

/* PAGE SUBTITLE */

#page-subtitle {
  display: initial;
  top: 2rem;
  height: auto;
}

#pre-tab {
  width: 25px;
  height: 10px;
  border-radius: 20px;
  position: absolute;
  left: 50px;
  transform: translateY(13px);
  margin-left: 5px;
  display: none;
}

#pre-tab p {
  margin: 0;
  font-size: 20px;
  line-height: 10px;
  font-family: "inter";
  font-weight: 500;
  margin-left: 15px;
}

.featured-header {
  margin-left: auto;
  position: sticky;
  top: 1.5rem;
  border-radius: 1rem;
  background-color: white;
  color: var(--primary-color);
  width: fit-content;
  transition: all linear 0.5s;
  margin-right: 2.7rem;
  font-family: "avant-garde_med";
  margin-bottom: 10px;
  z-index: 101;
  font-size: 0.6rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  padding-top: 0.26rem;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.featured-header {
  margin-left: auto;
  margin-right: 3.5rem !important;
}

.page-id-1271 .featured-header {
  margin-right:3rem!important;
  position:relative!important;
  margin-top:0;
}

@media screen and (max-width: 900px) {
  h4 {
    margin-left: 20px;
  }
  .featured-header {
    margin-left: auto !important;
    margin-right: auto !important;
    top: 40px;
  }
}

.featured-header.hide {
  opacity: 0;
}
/*
        .more-posts  {
        padding:0;
        margin:0;
        margin-top:100px!important;
        width:100%;
    }*/

.more-posts .tag-testimonial {
  display: none;
}

.more-title {
  height: 350px;
  /* width: 300px; */
  margin-top: -350px;
  width: 100%;
  flex-basis: unset;
  z-index: 4000;
  position: relative;
}

a.wp-block-button__link.wp-element-button {
  border: 0.08rem solid var(--black);
}

/* MORE POSTS */

.container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* More-posts section */
.more-posts {
  margin-top: 25px;
  width: calc(100vw - 80px) !important;
  position: relative;
  max-width: unset !important;
  padding: 0;
  width: auto !important;
  margin-left: 40px;
  margin-right: 40px;
  border-radius: 1.5rem;
}
/* Make sure the list is displayed in a row */
.more-posts ul {
  display: flex;
  flex-direction: row;
  gap: 0;
  flex-wrap: nowrap;
  max-width: unset !important;
  padding: 0;
  width: fit-content !important;
  gap: 20px;
}
.more-posts ul li {
  min-width: 350px;
  border-radius: 1.5rem;
  padding: 0px;
  overflow: hidden;
}
.more-posts .wp-block-post-featured-image a,
.more-posts .wp-block-post-featured-image img {
  pointer-events: none;
}

.more-posts .slick-slide > div li wp-block-columns,
.more-posts .slick-list,
.more-posts .slick-track,
.more-posts .slick-slide,
.more-posts .slick-slide > div,
.more-posts .slick-slide > div li {
  height: auto;
}
.more-posts .slick-slide {
  padding: 10px;
}
.more-posts .slick-slide > div li {
  aspect-ratio: 1 / 1;
  height: 400px;
  /* margin-right: 1.5rem; */
  border-radius: 1.5rem;
  overflow: hidden;
  width: auto;
  max-width: unset;
  min-width: 400px;
}

.more-posts ul li .wp-block-columns {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 350px;
  height: 350px;
}

.more-posts ul li .wp-block-column {
  flex-basis: unset !important;
}

.more-posts .wp-block-post-title {
  height: 100%;
  border-radius: 1.5rem;
}

.more-posts ul li figure {
  margin: 0;
}

@media screen and (max-width: 703px) {
  .more-posts {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
}

.more-posts .wp-block-column, .more-posts .wp-block-column figure, .more-posts .wp-block-column img{
  height: 100%;
  object-fit: contain!important;
  object-position: center!important;
}

/* HOW WE WORK */

.wp-block-group.hhw-copy:before {
  content: "";
  display: block;
  width: 500px;
  height: 60px;
  position: absolute;
  background: linear-gradient(0deg, #f9f9f9, #f9f9f900);
  /* top: 0px; */
  transform: translateY(-50px);
  border-radius: 0px;
  /* outline: 1px solid red; */
  display: none;
}

@media screen and (max-width: 703px) {
  .wp-block-group.hhw-copy:before {
    width: 80vw !important;
    max-width: 80vw !important;
    display: none;
  }
}

#progress-bar {
  width: 6px;
  min-height: 100%;
  background-color: rgb(255 255 255);
  overflow: hidden;
  margin-right: 40px;
}

#progress {
  width: 100%;
  height: 0%;
  background-color: var(--secondary);
  transition: height linear 0.5s;
}

#how-it-works li {
  transition: transform ease-in-out 1s;
}

.stage2 li:nth-of-type(3) {
  transform: rotate(90deg);
}
.stage3 li:nth-of-type(4),
.stage3 li:nth-of-type(1) {
  transform: rotate(-90deg);
}

.strategy-set {
  display: flex;
  flex-direction: row;
}

/*


@media screen and (min-width:900px) {  


.home-subtitle {
    padding-left:100px!important;
    padding-right:40vw!important;
}

#arrow-down {
    left:unset!important;
    right:1.5rem;
}

.featured-section {
    padding-left:90px!important;
    width:calc(100vw - 130px);
}

.more-posts, .more-posts, .howwework {
    margin-left:90px!important;
    width:calc(100vw - 130px)!important;
}

.testimonials .slick-slide {
    margin-left:90px!important;
}

.wp-site-blocks > .wp-block-template-part {
    margin-top:0px!important;
}

#hamburger-wrap {
    top:calc(100vh - 70px);
    left:30px;
    right:unset;
}
}*/

.wp-site-blocks > div.wp-block-template-part,
#hamburger-wrap {
  margin-top: 0px !important;
}

.archive .portfolio-posts li,
.archive .work-posts ul li,
.page-id-1271 .wp-block-post-template li,
.page-id-1271 .wp-block-post-template ul li {
  display: flex;
  flex-direction: column;
}

.archive figure,
.archive figure a,
.page-id-1271 figure,
.page-id-1271 figure a {
  height: var(--card-height) !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0;
}

.archive h2,
.page-id-1271 h2 {
  font-family: DMSans;
  font-weight: 700;
  width: 100%;
  margin: 0 0;
  height: var(--card-height);
  margin-top: calc(var(--card-height) * -1);
  z-index: 200;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 143, 221, 0.61);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  will-change: opacity;
  opacity: 0;
  transition: opacity 0.5s linear;
  padding-left: 10px;
  padding-right: 10px;
}

.page-id-1271 figure,
.work-posts ul figure {
  margin-top: calc(var(--card-height) * -1);
}

.archive .portfolio-posts li:hover h2 {
  opacity: 1;
}

.archive h2:hover,
.page-id-1271 h2:hover {
  opacity: 1;
}

@media screen and (max-width: 900px) {
  .portfolio-posts,
  .work-posts ul {
    display: flex;
    flex-direction: column;
  }
  .portfolio-posts li,
  .work-posts ul li {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .portfolio-posts figure,
  .archive figure {
    height: 100% !important;
  }
  .portfolio-posts figure a {
    height: 100% !important;
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 697px) {
  h5 {
    font-size: 8vw;
  }
  .home .wp-block-tag-cloud a {
    font-size: 0.7rem !important;
  }
}

/*WIDE SCREEN
.featured-section li {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
}
.featured-section figure {
    max-height: 25rem;
}
.testimonials .slick-slide {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
}
    */

.featured-section figure {
  max-height: 25rem;
}

.featured-section {
  margin-bottom: 3rem;
}
.more-posts {
  margin-bottom: 3rem;
}
.slick-slider {
  margin-bottom: 3rem !important;
}

@media screen and (min-width: 2000px) {
  html {
    font-size: 34px !important;
  }
}

body {
  overflow-x:clip!important;
}

.more-posts_wrap {
 overflow-x: clip !important;
  overflow-y: visible !important;
  max-width: 100% !important;
}

/* INSIGHTS PAGE */

ul .tag-insights {
  display: none;
}

.tag-insights main {
  padding:125px 2rem 100px 2rem!important;
}

.tag-insights h1 {
  margin-bottom:.5rem!important;
}

.tag-insights li {
  display:list-item!important;
}

.tag-insights #grid-title, #post-title {
  display:inline-block!important;
}

.tag-insights main > .wp-block-group {
  max-width: 50rem;
  margin-left:auto;
  margin-right:auto;
}

#matomo-opt-out {
  background-color: var(--tertiary-color);
  padding: 1rem;
  border-radius: 30px;
  margin-top: 1.5rem;
}
#matomo-opt-out p {
  margin-top: 0 !important;
  font-weight: 300;
  margin-bottom:1rem;
}

#trackVisits {
  display: none;
}

#matomo-opt-out label {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

#trackVisits:checked + label {
  background: var(--primary);
  color: var(--tertiary-color)!important;
}

.page-id-886 #lightbulb {
  margin-top: 0px;
  height: auto;
  width: 30rem;
  margin-right: 0px;
  left: -10rem;
  top: 0rem;
  z-index: -1;
  opacity: 0.1;
  display: none;
}

.atom {
  transform-box: fill-box;
  transform-origin: center;
}

.about-title_row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: left;
}

#contact-columns h2 {
  margin-bottom: 0 !important;
  max-width: 25rem;
}

#frm_form_2_container {
  background-color: #f6fbfe;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
}

/* =============================================
   Insights Page - /insights/ (page-id-1906)
   ============================================= */

/* Variables */
.page-id-1906 {
  --insights-radius: 1000px;
}

/* Page wrapper */
.page-id-1906 .insights-wrapper {
  min-height: 100vh;
  padding-top: 100px;
  box-sizing: border-box;
}

/* Page heading */
.page-id-1906 .insights-wrapper .insights-heading {
  font-family: "avant-garde_demi", sans-serif;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 0.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Query loop container */
.page-id-1906 .insights-wrapper .featured-section {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Post list */
.page-id-1906 .insights-wrapper ul.wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem;
}

/* Post card */
.page-id-1906 .insights-wrapper .wp-block-post-template li {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.9rem;
  grid-column: unset;
  overflow: hidden;
  background: var(--tertiary-color);
  border-radius: var(--insights-radius);
  box-shadow: none;
  padding: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.page-id-1906 .insights-wrapper .wp-block-post-template li:hover {
  transform: translateY(-4px);
}

/* Featured image - full bleed at top */
.page-id-1906 .insights-wrapper .wp-block-post-featured-image {
  width: 100%;
  margin: 0;
  flex-shrink: 0;
}
.page-id-1906 .insights-wrapper .wp-block-post-featured-image a,
.page-id-1906 .insights-wrapper .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content area below image */
.page-id-1906 .insights-wrapper .wp-block-post-title,
.page-id-1906 .insights-wrapper .date-tags-row,
.page-id-1906 .insights-wrapper .wp-block-post-excerpt,
.page-id-1906 .insights-wrapper .wp-block-post-excerpt__more-link {
  padding-left: 2rem;
  padding-right: 2rem;
}
.page-id-1906 .insights-wrapper .wp-block-post-title {
  padding-top: 0.9rem;
}
.page-id-1906 .insights-wrapper .taxonomy-post_tag {
  padding-right: 2rem;
}
.page-id-1906 .insights-wrapper .wp-block-post-excerpt {
  padding-bottom: 0;
}
.page-id-1906 .insights-wrapper .wp-block-post-excerpt__more-link {
  padding: 0;
  display: block;
  margin-bottom: 0.9rem;
}

/* Post title */
.page-id-1906 .insights-wrapper .wp-block-post-title {
  font-family: "avant-garde_demi", sans-serif;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--primary-color);
}
.page-id-1906 .insights-wrapper .wp-block-post-title a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s linear;
}
.page-id-1906
  .insights-wrapper
  .wp-block-post-template
  li:hover
  .wp-block-post-title
  a {
  color: var(--primary-hover-color);
}

/**/

.single-post #post-title {
  display: none!important;
}

/* Date + tags row */
.page-id-1906 .insights-wrapper .date-tags-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

/* Date - styled like outline pill tag */
.page-id-1906 .insights-wrapper .wp-block-post-date {
  margin: 0;
  display: flex;
  align-items: center;
}
.page-id-1906 .insights-wrapper .wp-block-post-date time {
  font-family: "dmsans", sans-serif;
  font-weight: 450;
  font-size: 0.65rem;
  line-height: 1;
  color: var(--primary-color);
  border: 0.08rem solid var(--primary-color);
  border-radius: var(--insights-radius);
  padding: 0.25rem 0.5rem;
  display: inline-block;
}

/* Post excerpt */
.page-id-1906 .insights-wrapper .wp-block-post-excerpt {
  font-family: "dmsans", sans-serif;
  font-weight: 300;
  color: var(--primary-color);
  margin: 0;
}
.page-id-1906 .insights-wrapper .wp-block-post-excerpt p {
  margin: 0;
}

/* Read more - brand blue with arrow */
.page-id-1906 .insights-wrapper .wp-block-post-excerpt__more-link {
  font-size: 0.85rem;
  font-family: "avant-garde_demi", sans-serif;
  font-weight: 500;
  color: var(--primary-hover-color) !important;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: opacity 0.2s linear;
}
.page-id-1906 .insights-wrapper .wp-block-post-excerpt__more-link:hover {
  opacity: 0.75;
}

/* Tags */
.page-id-1906 .insights-wrapper .wp-block-post-terms.taxonomy-post_tag {
  margin: 0;
  flex-shrink: 0;
}
.page-id-1906 .insights-wrapper .taxonomy-post_tag {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  justify-content: flex-end;
}
.page-id-1906 .insights-wrapper .taxonomy-post_tag a {
  text-decoration: none;
  border: 0.08rem solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--insights-radius);
  padding: 0.25rem 0.4rem;
  font-family: "dmsans", sans-serif;
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 450;
  width: max-content;
  height: fit-content;
  transition:
    color 0.2s linear,
    border-color 0.2s linear,
    background-color 0.2s linear;
  margin-bottom: 0;
}
.page-id-1906 .insights-wrapper .taxonomy-post_tag a:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

/* --- Full border-radius --- */
.portfolio-posts li,
.work-posts ul li {
  border-radius: var(--site-radius) !important;
}

.tag-cloud-link,
.taxonomy-post_tag a {
  border-radius: var(--site-radius) !important;
}

.home .tag-cloud-link,
.home .taxonomy-post_tag a {
  border-radius: var(--site-radius) !important;
}

.wp-block-query-title,
.archive h1,
.page .entry-content > h3 {
  border-radius: var(--site-radius) !important;
}

.testimonials .slick-slide {
  border-radius: var(--site-radius) !important;
}

.testimonials li figure {
  border-radius: calc(var(--site-radius) - 15px) !important;
}

#contact-button {
  border-radius: var(--site-radius) !important;
}

#contact-column button {
  border-radius: var(--site-radius) !important;
}

#contact-link {
  border-radius: var(--site-radius) !important;
}

.whatsapp-link {
  display:none!important;
}

.featured-section li {
  border-radius: var(--site-radius) !important;
}

.outlink,
.wp-block-button__link,
.subtitle-button {
  border-radius: var(--site-radius) !important;
}

.wp-block-post-excerpt__more-link {
  border-radius: var(--site-radius) !important;
}

.howwework {
  border-radius: var(--site-radius) !important;
}

.howwework .hww-active .hww-title::before {
  border-radius: var(--site-radius) !important;
}

.hhw-copy.accordian-active:before {
  border-radius: var(--site-radius) !important;
}

#pre-tab {
  border-radius: var(--site-radius) !important;
}

.featured-header {
  border-radius: var(--site-radius) !important;
}

.more-posts,
.more-posts ul li,
.more-posts .slick-slide > div li,
.more-posts ul li .wp-block-columns,
.more-posts .wp-block-post-title {
  border-radius: var(--site-radius) !important;
}

#frm_form_2_container {
  border-radius: var(--site-radius) !important;
}

/* --- Individual corners only --- */
footer {
  border-top-left-radius: var(--site-radius) !important;
  border-top-right-radius: var(--site-radius) !important;
}

#canvaswrap {
  border-bottom-left-radius: var(--site-radius) !important;
  border-bottom-right-radius: var(--site-radius) !important;
}

.mb-grey {
  border-bottom-left-radius: var(--site-radius) !important;
  border-bottom-right-radius: var(--site-radius) !important;
}

.postid-476 .entry-content figure.full-img {
  border-top-left-radius: var(--site-radius) !important;
  border-top-right-radius: var(--site-radius) !important;
}

.call-to-action {
  border-top-left-radius: var(--site-radius) !important;
  border-top-right-radius: var(--site-radius) !important;
}

#homevideo {
  border-bottom-left-radius: var(--site-radius) !important;
  border-bottom-right-radius: var(--site-radius) !important;
}

#home-subtitle,
.home-subtitle {
  border-bottom-left-radius: var(--site-radius) !important;
  border-bottom-right-radius: var(--site-radius) !important;
}



.posts-progress-wrapper {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 200px;
    height: 6px;
    background: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.posts-progress-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}
.posts-progress-fill {
    height: 100%;
    background: var(--primary-hover-color);
    transform-origin: left center;
    transform: scaleX(0);
    border-radius: 10px;
}

  .posts-progress-wrapper {
    opacity:0;
    transition:opacity .3s ease;
  }
  .posts-progress-wrapper.active {
    opacity: 1;
  }
  @media screen and (max-width: 900px) {
    .posts-progress-wrapper {
      max-width:calc(100vw - 40px);
    }
  }