/*
Theme Name: Lanex Block Theme
Author: Lanex, LLC
Author URI: https://www.lanex.com
Theme URI: https://www.lanex.com
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: lanex-starter-theme
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.3
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}


html,body {
  min-width: 320px;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
.wp-block-tag-cloud.is-style-default a {
	background:  #000;
	color:  #ffffff;
}
footer.wp-block-template-part {
    margin: 0;
}
.post-navigation-link-previous a,
.post-navigation-link-next a {
  text-decoration: none;
}
.post-navigation-link-previous:hover a,
.post-navigation-link-next:hover a{
  text-decoration: underline;
}






.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: var(--wp--preset--color--base-2);
  padding: 10px 0;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
}

.tag-marquee {
  display: flex;
  gap: 3rem; /* Space between links */
  will-change: transform;
  animation: marquee 15s linear infinite;
}

.tag-marquee a {
  text-decoration: none;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}




/*   buttons   */


.wp-block-button a.wp-block-button__link.wp-element-button {
  opacity: 1;
  transition: .1s opacity linear;
  overflow: hidden;
  white-space: nowrap;
}
.wp-block-button a.wp-block-button__link.wp-element-button:hover {
    opacity: .85;
    color: currentColor;
    background-color: inherit;
}


button.frm_button_submit.frm_final_submit{
  background-color: var(--wp--preset--color--contrast);
  border-radius: 60px;
  border: none;
  color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--medium);
  font-style: normal;
  font-weight: 500;
  line-height: inherit;
  padding-top: 0.9rem;
  padding-right: 2rem;
  padding-bottom: 0.9rem;
  padding-left: 2rem;
  text-decoration: none;
}
button.frm_button_submit.frm_final_submit:hover{
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--preset--color--contrast);
}
.with_frm_style input[type=radio]:focus, 
.with_frm_style input[type=checkbox]:focus {
    box-shadow: none !important;
}

#btn-back-to-top {
    -webkit-box-align: center;
       -ms-flex-align: center;
          align-items: center;
    background-color: var(--wp--preset--color--base);
    border-radius: 100%;
    border: 1px solid var(--wp--preset--color--contrast) !important;
    bottom: 15px;
    display: none;
    display: none;
    height: 45px;
    -webkit-box-pack: center;
       -ms-flex-pack: center;
     justify-content: center;
    line-height: 40px;
    padding: 15px;
    position: fixed;
    right: 12px;
    width: 45px;
    z-index: 99999;
}
#btn-back-to-top svg{
    color: var(--wp--preset--color--contrast);
}
#btn-back-to-top:hover{
    cursor: pointer;
}



/*   blog (and other tags/cats)   */

.wp-block-post-terms:not(.industry-tags) a,
.is-style-pill.wp-block-post-terms:not(.industry-tags) a,
.wp-block-tag-cloud a,
.wp-block-post-terms:not(.industry-tags) span,
.is-style-pill.wp-block-post-terms:not(.industry-tags) span,
.wp-block-tag-cloud span {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
  background: var(--wp--preset--color--base-2);
  border-radius: 50px;
  color: var(--wp--preset--color--contrast);
  display: inline-block;
  line-height:  1;
  font-size: 16px !important;
  padding:  0.475rem 1rem;
  margin: 0 .25rem .5rem 0;
  text-decoration: none;
}
.wp-block-post-terms a:hover,
.is-style-pill.wp-block-post-terms a:hover,
.wp-block-tag-cloud a:hover {
  text-decoration: underline;
  background-color: var(--wp--preset--color--base-2);
}
.wp-block-post-terms .wp-block-post-terms__separator {
  display: none !important;
}

.blog-categories a {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
  background: var(--wp--preset--color--base);
  border-radius: 50px;
  color: var(--wp--preset--color--contrast);
  border: 1px solid var(--wp--preset--color--contrast);
  line-height:  1;
  font-size: 16px;
  padding:  0.475rem 1rem;
  margin-bottom: 1em;
  text-decoration: none;
  display: flex;
  flex-grow: 0;
  width: fit-content;
}
.blog-categories a:hover {
  text-decoration: underline;
}

/*.blog-categories a {
  border: 1px solid #000;
  padding: .75em;
  border-radius: 25px;
  font-size: .9em;
  text-decoration: none;
  margin-bottom: 1em;
  display: flex;
  flex-grow: 0;
  width: fit-content;
}*/

.blog-archives-list {
  list-style-type: none;
  padding: 0;
}
.blog-archives-list li {
  border-bottom: 1px solid var(--wp--preset--color--contrast);
  line-height:  1;
  font-size: 16px;
}
.blog-archives-list li a {
  padding: 1rem 0;
  display: inline-flex;
  text-decoration: none;
}
.blog-archives-list li a:hover {
  text-decoration: underline;
}
.blog-categories.blog-categories-hero {
    display: flex;
    flex-wrap: wrap;
}
.blog-categories.blog-categories-hero li{
    margin-right: .25rem;
}
.featured-blog-post .author-initial {
    background: var(--wp--preset--color--base-2); 
}
.featured-blog-post .author-initial span {
    color: var(--wp--preset--color--contrast);
}



/*services*/

#sticky-sidebar {
  position: sticky;
  width: 100%;
  transition: transform 0.3s ease-out;
}

.fixed-sidebar {
  position: fixed !important;
  top: 100px;
  width: var(--sidebar-width, 22%) !important;
  left: var(--sidebar-left, 0);
  z-index: 999;
}

#sticky-sidebar a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
  font-weight: normal;
  transition: all 0.3s ease-in-out;
  border-left: 1px solid var(--wp--preset--color--contrast);
  padding: 20px 0 20px 30px;
  margin: 0;
}

#sticky-sidebar a.active {
  font-weight: 600;
  font-size: var(--wp--preset--font-size--large);
  border-left: 4px solid var(--wp--preset--color--contrast);
  margin-left: -2px;
}

#sticky-sidebar p {
  margin: 0;
  padding: 20px 0;
  line-height: 1.3;
}


@media (max-width: 768px) { 
  #sticky-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    width: 100%;
    padding: 0!important;
    flex-wrap: wrap;
  }
  #sticky-sidebar.fixed-sidebar {
    top: 0;
    background: var(--wp--preset--color--base);
  }
  #sticky-sidebar.fixed-sidebar.unstick-mobile {
    position: unset !important;
    background: transparent;
  }
  #sticky-sidebar a {
    padding: 5px 15px;
  }
}





.project-page-may-like-posts .wp-block-post-excerpt__more-text {
    margin: 0;
}
.project-page-may-like-posts .wp-block-post-excerpt__more-text::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M435.3 267.3L446.6 256l-11.3-11.3-168-168L256 65.4 233.4 88l11.3 11.3L385.4 240 16 240 0 240l0 32 16 0 369.4 0L244.7 412.7 233.4 424 256 446.6l11.3-11.3 168-168z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}



/* our work tag */
.sidebar {
}
.our-work-listings .search-container {
  margin-bottom: 15px;
  position: relative;
}
.our-work-listings .search-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.our-work-listings .search-results {
  margin-top: 5px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  position: absolute;
  width: calc(100% - 16px);
  z-index: 1000;
}
.our-work-listings .search-results h5 {
  margin: 8px;
  font-size: 14px;
  color: #555;
}
.our-work-listings .search-results div {
  padding: 8px;
  cursor: pointer;
}
.our-work-listings .search-results div:hover {
  background: #ddd;
}
.our-work-listings .filter-group {
  margin-bottom: 15px;
}
.our-work-listings .filter-group h4 {
  margin-bottom: 10px;
}
.our-work-listings .filter-badge {
  display: inline-block;
  padding: 5px 10px;
  background: var(--wp--preset--color--base-5);
  color: var(--wp--preset--color--contrast);
  border-radius: 50px;
  margin: 5px;
  cursor: pointer;
  user-select: none;
}
.our-work-listings .filter-badge.active {
  background: #0056b3;
}
.our-work-listings .hidden {
  display: none;
}
/* our work card */
.our-work-listings .card {
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.our-work-listings .image-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #f1f5f9,
    #f1f5f9 10px,
    #e2e8f0 10px,
    #e2e8f0 20px
  );
  height: 200px;
  position: relative;
}

.our-work-listings .tag-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e0f2ff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #1d4ed8;
}

.our-work-listings .content {
  padding: 16px;
}

.our-work-listings .category {
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 8px;
}

.our-work-listings .category::before {
  content: "♥️";
  margin-right: 6px;
  color: #94a3b8;
}

.our-work-listings .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.our-work-listings .tag {
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 20px;
}

.our-work-listings .tag.more {
  position: relative;
  cursor: default;
}

.our-work-listings .tag.more:hover .tooltip {
  display: block;
}

.our-work-listings .tooltip {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 8px;
  z-index: 1000;
  width: max-content;
  white-space: nowrap;
}

.our-work-listings .tooltip .tag {
  display: inline-block;
  margin: 4px 4px 0 0;
  background-color: #e2e8f0;
}

.our-work-listings .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.our-work-listings .description {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
}

.our-work-listings .view-link {
  color: #1d4ed8;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.our-work-listings .view-link:hover {
  text-decoration: underline;
}



/****   background blobs    ****/

.blob-motion  {
  --color-bg-a: #001e95;
  --color-bg-b: #0b003e;
  --color-a: 178, 75, 255;
  --color-b: 234, 145, 123;
  --color-c: 122, 215, 121;
  --color-d: 100, 220, 255;
  --color-e: 209, 229, 130;
  --color-f: 18, 113, 255;
  --color-interactive: 233, 208, 41;
  --size: 100%;
  --blend: hard-light;
  margin: 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
}


.blob-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  filter: url(#grain);
  background: rgba(0, 0, 0, 0.03);
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.blob-motion .container {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(145deg, var(--color-bg-a), var(--color-bg-b));
}
.blob-motion .gradient-container,
.blob-motion .interactive,
.g1, .g2, .g3, .g4, .g5 {
  pointer-events: none;
}

.blob-motion svg {
  width: 0;
  height: 0;
  position: absolute;
  visibility: hidden;
}

.blob-motion .gradient-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.g1,
.g2,
.g3,
.g4,
.g5 {
  position: absolute;
  mix-blend-mode: var(--blend);
}

.g1 {
  background: radial-gradient(
      circle at center,
      rgba(var(--color-a), 0.8) 0,
      rgba(var(--color-a), 0) 50%
    )
    no-repeat;
  width: var(--size);
  height: var(--size);
  top: calc(50% - var(--size) / 2);
  left: calc(50% - var(--size) / 2);
  transform-origin: center center;
  animation: bounceV 30s ease infinite;
  opacity: 1;
}

.g2 {
  background: radial-gradient(
      circle at center,
      rgba(var(--color-b), 0.8) 0,
      rgba(var(--color-b), 0) 50%
    )
    no-repeat;
  width: var(--size);
  height: var(--size);
  top: calc(50% - var(--size) / 2);
  left: calc(50% - var(--size) / 2);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}

.g3 {
  background: radial-gradient(
      circle at center,
      rgba(var(--color-c), 0.8) 0,
      rgba(var(--color-c), 0) 50%
    )
    no-repeat;
  width: var(--size);
  height: var(--size);
  top: calc(50% - var(--size) / 2 + 200px);
  left: calc(50% - var(--size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
  opacity: 1;
}

.g4 {
  background: radial-gradient(
      circle at center,
      rgba(var(--color-d), 0.8) 0,
      rgba(var(--color-d), 0) 50%
    )
    no-repeat;
  width: var(--size);
  height: var(--size);
  top: calc(50% - var(--size) / 2);
  left: calc(50% - var(--size) / 2);
  transform-origin: calc(50% - 200px);
  animation: bounceH 40s ease infinite;
  opacity: 0.7;
}

.g5 {
  background: radial-gradient(
      circle at center,
      rgba(var(--color-e), 0.8) 0,
      rgba(var(--color-e), 0) 50%
    )
    no-repeat;
  width: calc(var(--size) * 2);
  height: calc(var(--size) * 2);
  top: calc(50% - var(--size));
  left: calc(50% - var(--size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
  opacity: 1;
}

.g6 {
  background: radial-gradient(
    circle at center,
    rgba(var(--color-f), 0.8) 0,
    rgba(var(--color-f), 0) 50%
  ) no-repeat;
  width: calc(var(--size) * 1.5);
  height: calc(var(--size) * 1.5);
  position: absolute;
  top: calc(50% - var(--size));
  left: calc(50% - var(--size));
  transform-origin: calc(50% + 800px) calc(50% - 200px);
  animation: moveInCircleReverse 25s linear infinite;
  opacity: 1;
  mix-blend-mode: var(--blend);
}

.interactive {
  position: absolute;
  width: 50%;
  height: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(var(--color-interactive), 0.8) 0,
    rgba(var(--color-interactive), 0) 50%
  ) no-repeat;
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounceV {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes bounceH {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

@keyframes moveInCircleReverse {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-180deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/****   end background blobs    ****/








.bring-to-top {
	z-index: 999999;
}

.hero {
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: #f5a800;
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 100%;
    background: #E19600;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 768px) { 
	.hero::before {
		width: 75px;
	}
	.hero::after {
		width: 50px;
	}
}






/* .industry-tags {
    display:flex;
    gap:.5rem;
    flex-wrap:wrap;
} */

.industry-tag {
    display: flex;
    align-items: center;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 500;
}

.industry-tag svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    fill: currentColor;
}