/*
Theme Name: Iconi
Theme URI:
Author: Skyline Internet
Author URI:
Description:
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iconi
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
:root {
  --sidebarWidth: 80dvw;
}
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
  outline-width: 2px;
  outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation
  .wp-block-navigation-submenu
  .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation
  .wp-block-navigation-item
  .wp-block-navigation-item__content {
  outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
  .wp-block-navigation-item
  ul.wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
  display: block;
}

:root {
  --gold: #ffd851;
  --amber: #f1872d;
  --teal: #37b6ae;
  --white: #fff;
  --light-teal: #ebf8f7;
}

.wp-block-button:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}

header {
  position: relative;
  z-index: 10;
}

/*.logos img {
  filter: grayscale(100%);
  opacity: 0.5;
}

.logos img:hover{
  filter: grayscale(0%);
  opacity: 1;
  cursor: pointer;
}*/

h1:after {
  content: "";
  display: block;
  height: 5px;
  width: 25%;
  background: var(--gold);
  margin-top: 0.1em;
}

h2:after {
  content: "";
  display: block;
  height: 5px;
  width: 25%;
  margin-top: 0.1em;
  background: var(--gold);
}

h2.centre:after {
  justify-self: center;
}

.sectors .is-layout-grid .wp-block-group:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
  cursor: pointer;
}

.why-choose .wp-block-group.icon:before {
  content: "";
  height: 55px;
  position: absolute;
  left: calc(50% - 1.5px);
  bottom: 40px;
  border-left: 3px solid;
  z-index: -1;
}

body.large-font .why-choose .wp-block-group.icon:before {
  height: 54px !important;
  bottom: 55px !important;
}

.why-choose .wp-block-group.icon.gold:before,
.why-choose .wp-block-group.icon.gold:before {
  border-color: var(--gold) !important;
}

.why-choose .wp-block-group.icon.amber:before {
  border-color: var(--amber) !important;
}

.why-choose .wp-block-group.icon.teal:before {
  border-color: var(--teal) !important;
}

.wp-block-social-links .wp-social-link svg {
  height: 0.8em;
  width: 0.8em;
}

body .grid-carousel {
  --cols: 4;
  display: flex;
  scroll-snap-type: x mandatory;
  overflow: auto;
  /* For Firefox */
  scrollbar-width: none; /* Fade edges */
}

.grid-carousel > .wp-block-group {
  scroll-snap-align: start;
  flex: 1 0 calc(100% / var(--cols));
}
.grid-carousel::-webkit-scrollbar {
  display: none;
}

.floating-images-stack {
  flex-direction: row;
  flex-wrap: nowrap;
}

.floating-images-stack > figure {
  min-height: 200px;
  width: auto;
  transform: rotate(12deg);
  display: flex;
}

.card-group,
.card-group > .wp-block-group,
.card-group > .wp-block-group > .wp-block-group {
  align-items: stretch;
}

.card-group .floating-images-stack figure img {
  object-fit: cover;
}

@media (min-width: 1300px) {
  .card-group .floating-images-stack figure:nth-child(1) {
    align-self: flex-end;
    justify-content: flex-end;
  }
  .card-group .floating-images-stack figure:nth-child(2) {
    align-self: center;
    justify-content: center;
  }
  .card-group .floating-images-stack figure:nth-child(3) {
    align-self: flex-start;
    justify-content: flex-start;
  }

  .card-group .floating-images-stack figure:nth-child(1) img {
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  }
  .card-group .floating-images-stack figure:nth-child(2) img {
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%
    );
  }
  .card-group .floating-images-stack figure:nth-child(3) img {
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%);
  }
}

.wp-block-column.sticky {
  position: sticky;
  top: 0;
  height: auto;
  align-self: flex-start;
}

/*body.page-template-wp-custom-template-transparent-header header,
body.single-post header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}*/

body.page-template-wp-custom-template-transparent-header main {
  padding-top: 0 !important;
}

/*body.page-template-wp-custom-template-transparent-header
  main
  > .entry-content
  > div:first-of-type {
  padding-top: 100px !important;
}*/

.platform-navigation .wp-block-group {
  overflow: hidden;
  position: relative;
}

.platform-navigation .wp-block-outermost-icon-block:last-of-type {
  position: absolute;
  left: 1rem;
  z-index: 3;
  opacity: 1;
  transition: all 0.33s ease-in-out;
}

.platform-navigation .wp-block-outermost-icon-block:last-of-type svg {
  scale: 3;
  filter: brightness(1) blur(15px);
  opacity: 0.4;
  transition: all 0.33s ease-in-out;
}

.platform-navigation
  > .wp-block-group.active
  .wp-block-outermost-icon-block:last-of-type
  svg {
  filter: brightness(1) blur(15px);
  opacity: 0.5;
  transition: all 0.33s ease-in-out;
}

.platform-navigation
  > .wp-block-group.active
  .wp-block-outermost-icon-block:last-of-type {
  transform: translateX(500%);
}

body form .wpcf7-form-control {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  display: block;
  box-sizing: border-box;
  width: -webkit-fill-available;
}

.demo-cover form input {
  background-color: rgb(255 255 255 / 37%);
  padding: 1rem;
  border: none;
  border-radius: 0.25em;
  backdrop-filter: blur(20px);
  color: #fff;
  border: 1px solid #ffffff54;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  display: block;
  box-sizing: border-box;
}

.wpcf7 input[type="submit"] {
  background: var(--wp--preset--color--custom-sea-blue);
  border: none;
  color: var(--white);
  font-weight: 600;
  border-radius: 0.25em;
  padding: 13px 38px;
  font-size: 1.125rem;
  width: fit-content;
}

/* Our Story Timeline */
/*
* The max height and sticky behaviour is causing some of the items to be hidden - Would it look ok without it? - Lewis
*
.our-story-scroll .sticky {
  position: sticky;
  top: 0;
  height: auto;
  align-self: flex-start;
  z-index: 9999 !important;
}
*/

.our-story-scroll::-webkit-scrollbar {
  display: none;
}

/*
.our-story-scroll {
  max-height: 80dvh;
  overflow: auto;
  padding-top: 0 !important;
}
*/

.column.visible {
  display: flex;
  opacity: 1;
}

.column {
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
}

.columns-group {
  position: relative;
  height: 400px;
}

.h-full {
  height: 100%;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.bento .wp-block-cover__inner-container {
  height: 100%;
}

.key-benefits-scroll {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: scroll;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory;
}

.key-benefits-scroll .wp-block-group {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.11);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes pulse-two {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes pulse-three {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.icon-pulse > div {
  position: relative;
  z-index: 5;
}

.icon-pulse:after {
  opacity: 0;
  transform: scale(1);
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999rem;
  box-shadow: 0 0 5px 5px currentColor;
  animation: pulse 2s infinite;
}

.icon-pulse.icon-pulse-two:after {
  animation: pulse-two 2s infinite;
}

.icon-pulse.icon-pulse-three:after {
  animation: pulse-three 2s infinite;
}

@media (max-width: 884px) {
  .button-container {
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  h2.centre:after {
    justify-content: center !important;
    display: flex !important;
    margin: 0.2em auto;
  }

  .wp-block-cover__inner-container .wp-block-group {
    margin: 0 !important;
  }

  .mb-padding {
    padding: 0 1rem !important;
  }

  .single-post .wp-block-cover__inner-container .wp-block-group {
    max-width: 100% !important;
  }

  .single-post nav.wp-block-group {
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
  }

  .why-choose .animated-timeline.horizontal .wp-block-group.icon {
    background-color: #fff;
  }
  .why-choose .animated-timeline.horizontal .wp-block-group.icon:before {
    display: none;
  }

  .why-choose .animated-timeline.horizontal .wp-block-group.icon:after {
    opacity: 1;
    transform: scale(1);
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 999rem;
    box-shadow: 0 0 5px 5px currentColor;
    animation: pulse 2s infinite;
    transition: all 0.25s;
  }

  .why-choose
    .animated-timeline.horizontal
    > .wp-block-group:nth-child(2)
    .wp-block-group.icon:after {
    animation: pulse-two 2s infinite;
  }

  .why-choose
    .animated-timeline.horizontal
    > .wp-block-group:nth-child(3)
    .wp-block-group.icon:after {
    animation: pulse-three 2s infinite;
  }

  .why-choose .animated-timeline.horizontal .wp-block-group.icon.gold {
    color: var(--gold) !important;
  }

  .why-choose .animated-timeline.horizontal .wp-block-group.icon.amber {
    color: var(--amber) !important;
  }

  .why-choose .animated-timeline.horizontal .wp-block-group.icon.teal {
    color: var(--teal) !important;
  }
}

@media (min-width: 860px) and (max-width: 1200px) {
  .wp-block-group.alignwide,
  .our-story-scroll,
  .wp-block-columns.alignwide {
    padding: 0em 1em;
  }

  h2.centre:after {
    justify-content: center !important;
    display: flex !important;
    margin: 0.2em auto;
  }

  footer {
    padding-left: 1em;
    padding-right: 1em;
  }
}

:root
  :where(
    .wp-block-button.is-style-outline
      .wp-block-button__link.wp-block-button__link:not(.has-background):hover
  ) {
  background: none !important;
}

.navigate-scroller .next,
.navigate-scroller .prev {
  transition: all 0.33s;
}

.navigate-scroller .next:hover,
.navigate-scroller .prev:hover {
  cursor: pointer;
  opacity: 0.85;
}

.navigate-scroller .next.disabled .key-benefits-scroll .prev.disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
}

body.contrast-colours .wp-block-button .wp-block-button__link {
  background-color: #1a1a1a;
  color: #fff !important;
  border-color: #1a1a1a !important;
}

body.contrast-colours
  a.wp-block-button__link.has-custom-sea-blue-background-color {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

body.contrast-colours
  a.wp-block-button__link.has-custom-sea-blue-background-color:hover,
body.contrast-colours .is-style-button-secondary .wp-block-button__link:hover {
  background-color: #242424 !important;
  border-color: #242424 !important;
}

body.contrast-colours .is-style-button-secondary .wp-block-button__link {
  background-color: #111111 !important;
  border-color: #111111 !important;
}

body.contrast-colours input.wpcf7-submit {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

body.large-font {
  --wp--preset--font-size--normal: clamp(
    1.35rem,
    1.35rem + ((1vw - 0.2rem) * 0.204),
    1.75rem
  );
  font-size: var(--wp--preset--font-size--normal);
}

body.large-font footer nav ul {
  font-size: clamp(1.35rem, 1.35rem + ((1vw - 0.2rem) * 0.204), 1.75rem);
}

.yoast-breadcrumbs {
  background-color: var(--wp--preset--color--accent-5);
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.gw-mm-item__dropdown-wrapper {
  width: 1000px !important;
  left: -50% !important;
}

.gw-mm-item__dropdown {
  border-radius: 0.5em;
}

.case-studies-scroll-section ul {
  display: flex;
  gap: 1rem;
}

.slider-track {
  display: flex !important;
  gap: 1em !important;
}

.case-studies-scroll-section ul li {
  min-width: 30%;
}

.case-studies-scroll-click-section ul {
  overflow-x: scroll;
  display: flex !important;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
}

.slider-track .wp-block-group {
  min-width: 30% !important;
}

.slider-track > figure {
  min-width: 30% !important;
}

.slider-track .wp-block-group > figure {
  width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.case-studies-scroll-click-section ul li {
  width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slider-click-track {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-click-track::-webkit-scrollbar {
  display: none;
}

.slider-click-track a.wp-block-post-excerpt__more-link {
  margin: 1em 0em;
  background-color: var(--wp--preset--color--custom-sea-blue);
  color: white;
  padding: 0.5em 1em;
  border-radius: 0.25rem;
}

.sectors-stack {
  position: relative;
  height: 175px;
}

.sectors-stack p a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100% - 1.5em);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.5em;
}

@media (max-width: 884px) {
  aside#sidebar .wp-block-navigation__container.is-vertical {
    width: 100%;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul {
    transform: translateX(-110%);
    transition: all 0.25s;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: var(--sidebarWidth);
    background-color: var(--wp--preset--color--base) !important;
    padding-top: var(--wp--preset--spacing--30);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--30);
    padding-left: var(--wp--preset--spacing--30);
    visibility: visible;
    display: block;
    opacity: 1;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul li {
    margin-bottom: 1rem;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul.active {
    transform: translateX(0);
    transform: translateX(0);
  }

  aside#sidebar li.mobile-menu-back {
    display: flex;
    flex-grow: 1;
    padding: 0.5em 1em;
    font-size: 0.95rem;
    background-color: var(--wp--preset--color--accent-5);
  }

  aside#sidebar .wp-block-navigation .wp-block-navigation-item {
    justify-content: space-between;
    width: 100%;
  }

  aside#sidebar .wp-block-navigation-submenu__toggle > svg {
    transform: rotate(270deg) !important;
  }
}
