/*!
Theme Name: Funcle Dev
Theme URI: https://pierre.io/
Author: Pierre Nel
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: funcle
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
  font-family: 'permanent marker';
  src: url('/wp-content/themes/funcle/fonts/permanentmarker.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/permanentmarker.woff') format('woff');
  url('PermanentMarker.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'circular std book';
  src: url('/wp-content/themes/funcle/fonts/circularstd-book.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/circularstd-book.woff') format('woff');
  url('CircularStd-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'circular std medium';
  src: url('/wp-content/themes/funcle/fonts/circularstd-medium.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/circularstd-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pitch Sans';
  src: url('/wp-content/themes/funcle/fonts/pitchsans-regular.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/pitchsans-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'pitchsans';
  src: url('/wp-content/themes/funcle/fonts/pitchsans-regular.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/pitchsans-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'raleway';
  src: url('/wp-content/themes/funcle/fonts/raleway-bold.woff2') format('woff2'),
    url('/wp-content/themes/funcle/fonts/raleway-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.noscroll {
    overflow: hidden;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}


a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

.search-results * {
    font-family: pitchsans, sans-serif;
    font-size: 14px;
    line-height: 17px;
}

.search-results h1 {
    margin-bottom: 2rem;
}

.search-results #page main .post {
    max-width: calc(100vw - 72px);
    margin-left: auto;
    margin-right: auto;
}

.search-results .dots {
    display: block;
}

.search-results .entry-summary, .search-results .entry-title {
    max-width: 600px;
}

.search-term {
    position:fixed;
    top: 48px;
    left: 36px;
    width: calc(100vw - 72px);
    background-color: #fff;
    z-index: 11112;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

@media(max-width: 768px) {
    .search-term {
        left: 20px;
        top: 35px;
        width: 100%;
        max-width: calc(100vw - 40px);
    }
}

.search-term h1 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem !important;
}

main.search-results .page-header {
    position: sticky;
    top: 100px;
    background-color: #fff;
}

.search-results main {
    padding-top: 110px;
}

.search-results .dots {
    margin-bottom: 1rem;
}

.search-results div.post  {
    max-width: calc(100vw - 72px);
    margin-left: auto;
    margin-right: auto;
}

.search-results .dots:last-of-type {
    display: none;
}

.search-term .dots {
    display: block !important;
    margin-bottom: 0;
}


@media(max-width: 768px) {

    body.search-results .desktop {
        display: none;
    }

    .search-results #page main .post {
         max-width: calc(100vw - 40px);
    }
    .search-results div.post {
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }
    .search-results .entry-summary {
        margin-left: 1rem;
    }
}

.search-results article .dots {
    display: block;
}

.search-results .entry-meta {
    margin-top: 1rem;
}

body.search-results div.post:last-of-type {

}

.search-results a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    line-height: 17px;
    font-family: pitchsans, sans-serif;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type=radio] {
  accent-color: #000;
}


input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  border-radius: 50%;
  background-color: transparent;
  display: inline-grid;
  place-content: center;
}

li#li-street-posters {
  display: none;
}

input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: #000;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[id] {
  scroll-margin-top: 50px;
  /* Adjust this value based on your header height */
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: 'Pitch Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: #242528;
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  color: #242528;
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 500;
}

dd {
  margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

a:focus,
a:active {
  color: #000;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {

  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.entry-header {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  padding-bottom: 0.75rem;
  width: 100%;
  max-width: 100%;
  text-transform: uppercase;
}

.entry-header .back {
  padding-left: 0.5rem;
  width: calc(100% / 16 * 5);
}

.entry_meta a {
  text-decoration: underline;
}

.entry-header a {
  color: #000;
}

.entry-header .entry-date {
  margin-left: 100px;
  margin-right: 30px;
}

.custom-logo-link {
  display: inline-block;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

@media(max-width: 768px) {
  .wp-block-flexible-image.is-centered {
    padding-left: 0;
    padding-right: 0;
  }
  .gallery-left .gallery-column, .gallery-right .gallery-grid {
    width: 100%;
  }
  .wp-block-gallery-text .gallery-column .gallery-grid figure.gallery-image.full-width {
    width: calc(100%);
    position: relative;
    max-width: none;
  }
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}


.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

.infinity-end.neverending .site-footer {
  display: block;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

.view-more-link {
  text-align: center;
  padding-bottom: 4rem;
  width: 100%;
}

.view-more-link a {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  display: inline-block;
  border: 1px solid #000;
  padding: 0.5rem 1rem;
}

.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.mobile {
  display: none;
}

.desktop {
  display: block;
}

@media(max-width: 768px) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }
}

h1 {
  font-size: 34px;
  line-height: 45px;
  font-family: 'circular std medium', sans-serif;
  font-weight: 500;
}

h2 {
  font-size: 30px;
  line-height: 34px;
  font-family: 'circular std medium', sans-serif;
  font-weight: 500;
}

h3 {
  font-size: 20px;
  line-height: 26px;
  font-family: 'circular std medium', sans-serif;
  font-weight: 500;
}

p {
  font-size: 16px;
  line-height: 21px;
  font-family: 'circular std book', sans-serif;
}

body.home #page {
  position: relative;
}

#header-fixed {
  position: fixed;
  width: 100%;
  z-index: 999;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 95%, transparent 100%);
}

#header-fixed.opaque {
  transition: all 0.1s ease-in-out;
  background-color: #fff;
}

body.home #header-fixed.opaque {
  background: #fff;
}

#homelink {
  display: none;
}

header {
  margin-top: 10px;
  min-height: 40px;
  display: flex;
  /* padding-left: 32px; */
  /* padding-right: 32px; */
  max-width: calc(100vw - 72px);
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 17px;
}

@media(max-width: 768px) {
  header#mobile {
    text-align: center;
    min-height: 20px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header#mobile .mobile_menu {
      width: 100%;
  }

  header#mobile .mobile_menu .dots {
      margin-top: 0.5rem;
  }

  header#mobile a {
    text-decoration: none;
  }

  nav#mobile_nav {
    position: fixed;
    inset: 0;
    background-color: #000;
    top: -100%;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
  }

  #header-fixed #homelink {
    position: fixed;
    max-width: 100vw;
    height: 150px;
    left: 0;
    right: 0;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #header-fixed #homelink {
    opacity: 0;
    pointer-events: none;
    height: 0;
  }

  #header-fixed #homelink.open {
    opacity: 1;
    top: 100px;
    pointer-events: all;
    z-index: 1000;
  }

  #header-fixed #homelink img#mobile_menu_logo {
    max-width: 45%;
  }

  #header-fixed #homelink img#mobile_menu_scribble {
    top: -90px;
    width: 100vw;
    transform: scale(1.5);
    pointer-events: none;
  }

  #header-fixed #homelink img {
    position: absolute;
    top: 0;
  }

  nav#mobile_nav ul {
    display: flex;
    margin-top: 110px;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
  }

  nav#mobile_nav ul li {
    margin-bottom: 20px;
  }

  nav#mobile_nav ul li a {
    font-family: "Circular Std Medium", sans-serif;
    font-size: 44px;
    line-height: 35px;
    text-transform: none;
  }

  nav#mobile_nav a {
    color: #fff;
  }

  header#mobile nav#mobile_nav {
    display: block;
    opacity: 0;
  }

  header#mobile.open nav#mobile_nav {
    display: block;
    top: 0;
    opacity: 1;
    pointer-events: all;
    z-index: 2;
  }

  header#mobile.open .dots {
      display: none;
  }

  header#mobile.open a#mobile_menu {
    color: #fff;
    pointer-events: all;
    z-index: 1000;
    position: absolute;
    top: 16px;
    left: 14px;
    right: 0;
    width: 100px;
    text-align: left;
    outline: 0;
  }


}

@media(max-width: 768px) {
  header#masthead {
    display: none;
  }
}

header a {
  text-transform: uppercase;
  color: #000;
}

header nav .menu-toggle {
  display: none;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  width: 100%;
}

header nav.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  width: 100%;
}

header nav.main-navigation a {
  text-decoration: none;
}

header div.heading-column {
  width: 100%;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

header div.heading-column a {
  text-decoration: none;
}

header div.heading-column span:nth-of-type(2) span {
    border-bottom: 1px solid #000;
}

header div.heading-column:last-of-type {
  justify-content: flex-end;
}

header div.heading-column:last-of-type a {
  margin-right: 20px;
}

header .language-selector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 20px;
  cursor: pointer;
}

header .language-selector:hover .language-arrow {
  transform: rotate(0deg);
}

main {
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
}

@media(max-width: 768px) {
    body.page-id-46 main {
        padding-top: 50px;
    }
    main {
        max-width: calc(100vw - 40px);
    }
}


header .language-selector ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header .language-arrow {
  width: 20px;
  height: 20px;
  transition: all 0.25s ease-in-out;
  transform: rotate(180deg);
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='13' viewBox='0 0 19 13'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(.947 .76)' fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M3.514 0a7.95 7.95 0 00-2.618 2.478C.299 3.44 0 4.499 0 5.656c0 1.157.299 2.217.896 3.178a7.95 7.95 0 002.618 2.478l.378-.56a7.268 7.268 0 01-2.359-2.24 5.906 5.906 0 01-.819-2.856c0-1.027.275-1.981.826-2.863A7.268 7.268 0 013.906.546L3.514 0z'/%3E%3Cpath d='M8.909 2.926h.182l2.562 2.31.476-.504L8.545 1.568 4.96 4.732l.476.504 2.576-2.31h.182v5.838h.715V2.926z'/%3E%3Cpath d='M16.375 5.656c0 1.027-.273 1.979-.819 2.856a7.268 7.268 0 01-2.359 2.24l.378.56a7.95 7.95 0 002.618-2.478c.598-.961.896-2.021.896-3.178 0-1.157-.298-2.217-.896-3.178A7.95 7.95 0 0013.575 0l-.392.546a7.268 7.268 0 012.366 2.247c.551.882.826 1.836.826 2.863z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

figure.is-full-width {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  position: relative !important;
}

.red_underline {
  background-image: url('/wp-content/themes/funcle/images/instagram_active.png');
  background-repeat: no-repeat;
  background-position: bottom -20px center;
  padding-bottom: 2px;
  display: inline;
}

.red_underline_mobile {
    display: none;
}

@media(max-width: 768px) {
    .red_underline_mobile {
        display: inline;
        background-image: url('/wp-content/themes/funcle/images/instagram_active.png');
        background-repeat: no-repeat;
        background-position: bottom 2px center;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
        background-size: 100px;
    }
}

.post-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  gap: 0.5rem;
}

.read-more-link {
  text-decoration: none;
  color: inherit;
}

.related-posts {
  display: flex;
  flex-direction: column;
}

main#formats div.related-posts {
  margin-bottom: 3rem;
}

main#formats .related-post-row.full-width {
  max-width: 100vw !important;
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

main#formats .related-post-row.full-width .related-post-image {
  transform: translateX(400px);
}

main#formats .related-post-row .arrow {
    width: 0px;
    overflow: hidden;
    display: inline-block;
    transition: width 0.3s ease-in-out;
}

main#formats .related-post-row:hover {
    color: #969696;
}

main#formats .related-post-row:hover .arrow {
    width: 10px;
    overflow: visible;
}

.format-left {
  width: 100%;
  max-width: calc((50vw - 450px) / 2);
}

.format-right {
  width: 100%;
  max-width: calc((50vw - 450px) / 2);
}

.format-inner {
  width: 100%;
  display: flex;
  flex: 1 0;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  transform: translateX(-6px);
}

@media(max-width: 768px) {
    main#formats .related-post-row.full-width {
        max-width: calc(100vw - 40px) !important;
    }
    #formats .format-left {
        display: none;
    }
    #formats .format-right {
        display: none;
    }
    #formats .format-inner {
        transform: translateX(0);
    }
    #formats .format-inner .format-related-1 {
        min-width: 80px;
    }
    #formats .format-inner .format-related-4 {
        display: none;
    }
}

.format-view-all {
  margin-bottom: 4rem;
  text-align: center;
  text-transform: uppercase;
}

.format-view-all a {
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
  padding: 0.25rem 0.45rem;
}

.format-related-1 {}

.format-related-2 {}

.format-related-3 {
  width: 100%;
  max-width: 700px;
}

.format-related-4 {}

.related-post-row {
  width: 100%;
  align-items: center;
  justify-items: space-between;
  display: flex;
  min-height: 30px;
  gap: 6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.related-post {
  padding: 1rem;
  border: 1px solid #eee;
}

.related-posts .back-to-work {
  padding-top: 3rem;
  padding-bottom: 5rem;
  text-align: center;
}

.related-content a.button {
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #000;
  color: #000;
  padding: 0.25rem 1rem;
  transition: all 0.25s ease-in-out;
}

.related-content a.button:hover {
  background-color: #000;
  color: #fff;
}

.related-post-left {
  display: flex;
  flex: 1;
  column-gap: 4rem;
}

.related-post-date {
  color: #000;
}

.related-post-read a {
  text-decoration: none;
  color: #000;
}

.related-post-title {
  text-transform: uppercase;
}

.related-post-title {
  margin: 0;
  font-size: 1.1em;
}

.related-post-title a {
  text-decoration: none;
  color: inherit;
}

.related-post-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-content h2 {
  text-align: center;
  padding-bottom: 1rem;
}

.related-content a:hover {
  text-decoration: none;
}

.related-post-image {
  position: absolute;
  top: 0;  /* Position at top */
  left: 400px; /* Position at left */
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 5;
  transition: all 0.3s ease; /* Smooth transition for all properties */
  pointer-events: none; /* Prevent image from interfering with clicks */
}

.related-post-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-top: 12px;
}

/* The hover animation */
.related-post-row:hover > .related-post-image {
  width: 200px;
  height: 140px;
  opacity: 1;
  z-index: 11;
}

/* Format page specific styles for related post images */
.page-formats .related-post-row {
  position: relative;
}

.page-formats .related-post-row:hover > .related-post-image {
  width: 200px;
  height: 140px;
  opacity: 1;
  z-index: 11;
}

.page {
  margin-bottom: 0;
}

footer {
  margin: 0 auto;
  position: relative;
  font-size: 14px;
  width: 100%;
  max-width: calc(100vw - 72px);
}

@media(max-width: 768px) {
    footer {
        max-width: calc(100vw - 40px);
    }
}

footer .newsletter-signup {
  display: flex;
  border-bottom: 1px solid #262628;
}

footer p {
  font-family: 'pitchsans', sans-serif;
  font-size: 14px;
}

footer {
  position: relative;
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
  text-transform: uppercase;
}

footer h5 {
  display: inline-block;
  border-bottom: 1px solid #262628;
  margin-bottom: 20px;
}

footer a {
  color: #262628;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.6;
}

footer .footer_row {
  display: flex;
  padding-bottom: 4rem;
}

@media(max-width: 768px) {
  footer .footer_row {
    flex-direction: column;
  }
}

footer .footer_logo a:hover {
  opacity: 1;
}

footer div.dotted_line {
  top: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

footer div.footer_col {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  width: 49%;
  line-height: 120%;
  vertical-align: top;
  text-align: top;
  position: relative;
}

@media(max-width: 768px) {
  footer div.footer_col {
    width: 100%;
    margin-top: 0;
  }
  footer div.footer_col.footer_col3 {
      display: none;
  }
}

footer div.footer_col ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

footer span.title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer div.footer_col1 {
  width: 100%;
}

footer div.footer_col4 {
  margin-bottom: 30px;
}

footer div.footer_col5 {
  display: none;
}

.desktop_footer {
  display: none;
}

footer input {
  all: unset;
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
  width: 300px;
  text-transform: none;
}

footer div.copyright {
  margin-top: 93px;
}

@media(max-width: 768px) {
    footer div.copyright {
      margin-top: 30px;
    }
}

footer input::placeholder {
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
}

#newsletter::placeholder {
  opacity: 0.5;
}

.related-posts {
  position: relative;
}

.newsletter_submit {}

.dotborder {
  border-top-width: 4px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  max-width: calc(100vw - 72px);
  position: relative;
  border-style: solid;
  border-image: url('/wp-content/themes/funcle/images/star_transparent.png') 8 round;
}

.dots {
  max-width: calc(100vw - 72px);
  width: 100%;
  height: 4px;
  background-position: bottom 0px center;
  background-size: 6px;
  background-image: url('/wp-content/themes/funcle/images/star_transparent.png');
  background-repeat: repeat-x;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  position: relative;
}

.dots-white {
  max-width: calc(100vw - 72px);
  width: 100%;
  height: 4px;
  background-size: 6px;
  background-image: url('/wp-content/themes/funcle/images/star_transparent.png');
  background-repeat: repeat-x;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  position: relative;
  background-color: #fff;
}

.dots-vertical {
  width: 6px;
  background-size: 6px;
  background-image: url('/wp-content/themes/funcle/images/star_transparent.png');
  background-repeat: repeat-y;
  background-position: center center;
}

body.page-id-18 {
  background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}


body.page-id-18 #header-fixed {
  background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
}

@media(max-width: 768px) {
  body.page-id-18 {
    background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
    background-size: 100vw 100vh;
    background-attachment: fixed;
    background-repeat: repeat-y;
  }

  body.page-id-18 #header-fixed {
    background-size: 100vw;
  }

}

body.page-id-18 .footer-dots {
  display: none;
}

body.page-id-18 article header {
  padding-top: 45px;
  padding-bottom: 45px !important;
}

#cities {
  position: relative;
}

.admin-bar #cities .nav-container.sticky {
  top: 32px;
  /* Standard WordPress admin bar height */
}

@media screen and (max-width: 782px) {
  .admin-bar #cities .nav-container.sticky {
    top: 46px;
    /* WordPress admin bar height on mobile */
  }
}

body.page-id-7234 #header-fixed {
  background-color: #fff;
}

/**/
/* body.page-id-7234 #header-fixed { */
/*     background: none; */
/*     mix-blend-mode: difference; */
/* } */
/**/
/* body.page-id-7234 #header-fixed.white { */
/*     background: none; */
/*     mix-blend-mode: unset; */
/*     background-color: #fff; */
/*     color: #000; */
/* } */
/**/
/* body.page-id-7234 #header-fixed  header#masthead nav#site-navigation .menu-nav-container li a, */
/* body.page-id-7234 #header-fixed  header#masthead #menu-original, */
/* body.page-id-7234 #header-fixed  header#masthead #menu-contact, */
/* body.page-id-7234 #header-fixed  header#masthead .language-selector */
/* { */
/*     mix-blend-mode: difference; */
/*     color: #fff; */
/* } */
/**/
#cities_active {
  position: absolute;
  left: -5px;
  top: 16px;
  height: 8px;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

#cities_active.active {
  opacity: 1;
}

#work_active {
  position: absolute;
  pointer-events: none;
  left: 130px;
  top: -11px;
  height: 36px;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

@media(max-width: 768px) {
    #work_active {
        top: -20px;
        left: 45%;
        transform: translateX(-50%);
    }
}

ul#nav.nav-menu img {
  margin-top: 20px;
  margin-left: 34px;
}

#work_active.active {
  opacity: 1;
}

#features_active {
  position: absolute;
  left: 244px;
  top: 16px;
  height: 38px;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

#features_active.active {
  opacity: 1;
}

#formats_active {
  position: absolute;
  left: 67px;
  top: 16px;
  height: 8px;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

#formats_active.active {
  opacity: 1;
}

#contact_active {
  position: absolute;
  right: 220px;
  top: -16px;
  height: 47px;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

#contact_active.active {
  opacity: 1;
}

#original_active {
  position: absolute;
  left: 50%;
  transform: translateX(-56%);
  top: -8px;
  height: 38px;
  pointer-events: none;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

#original_active.active {
  opacity: 1;
}

#formats {
  padding-top: 0;
}

#formats-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 64px);
}

@media(max-width: 768px) {
    #formats-slideshow {
        max-height: calc(100vh - 200px);
    }
}

.slide-number {
  position: absolute;
  top: 0;
  left: 0;
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#formats-slideshow .left-half {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 10;
  /* cursor: url('/wp-content/themes/funcle/images/previous.png'), pointer; */
}

#formats-slideshow .right-half {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 10;
  /* cursor: url('/wp-content/themes/funcle/images/next.png'), pointer; */
}

#formats .nav-container {
  flex-direction: column;
  display: flex;
  width: 100%;
  z-index: 100;
}

#formats .nav-container span {
  padding-top: 1rem;
  padding-bottom: 1rem;
  backdrop-filter: blur(0px);
  transition: all 0.25s ease-in-out;
}

#formats .nav-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 50px;
}

#formats .nav-placeholder.active {
  display: block;
}

#formats nav {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

#formats nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#formats header {
  padding: 0;
}

#formats .nav-container {
  flex-direction: column;
  display: flex;
  width: 100%;
  z-index: 100;
  position: sticky;
  top: 48px;
  background-color: #fff;
}

#formats .nav-container span {
  padding-top: 1rem;
  padding-bottom: 1rem;
  backdrop-filter: blur(0px);
  transition: all 0.25s ease-in-out;
}

@media(max-width: 768px) {
    #formats .nav-container {
        top: 24px;
    }
    #formats .nav-container span {
        display: block;
        text-align: center;
    }
}

#formats .nav-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 50px;
}

#formats .nav-container.sticky nav {
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 768px) {
    #formats .nav-container.sticky {
        background-color: #fff;
        padding-top: 35px;
    }
}

@media(max-width: 768px) {
  #formats nav {
    flex-direction: column;
  }
}

#formats .cities-grid {
  display: flex;
  flex-direction: column;
  margin-top: 6rem;
  margin-bottom: 3rem;
}

#formats .cities-grid h3 {
  text-align: center;
}

#formats .cities-grid .city-item {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

#formats .cities-grid .city-item .format-description {
  max-width: 700px;
  line-height: 18px;
  margin-bottom: 2rem;
  text-align: left;
}

#formats .nav-placeholder {
  display: none;
  width: 100%;
}

#formats .nav-placeholder.active {
  display: block;
}

#formats nav {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

#formats .format-title {
  margin: 2rem 0 10px;
  text-align: center;
}

#formats .format-description {
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.format-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Format slideshow container */
.format-slideshow {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.format-slideshow .left-half,
.format-slideshow .right-half {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  z-index: 10;
  cursor: pointer;
}

.format-slideshow .left-half {
  left: 0;
}

.dotscontainer {
  position: relative;
  width: calc(100% - 36px);
}

.dotscontainer .dots {
  max-width: 100%;
}

.format-slideshow .right-half {
  right: 0;
}

/* Slideshow container for format slides */
.format-slideshow .slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 768px) {

    #formats .cities-grid {
        margin-top: 3rem;
    }

    .format-slideshow .slideshow-container {
        overflow: visible;
        aspect-ratio: auto;
        width: calc(100vw - 40px);
        aspect-ratio: 4 / 3;
    }

    .format-slideshow .slideshow-outer .spacer {
        display: none;
    }
}

/* Individual format slides */
.format-slideshow .format-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: block;
  /* Keep all slides displayed */
  pointer-events: none;
  /* Prevent interaction with hidden slides */
}

/* Active slide */
.format-slideshow .format-slide.active {
  opacity: 1;
  pointer-events: auto;
  /* Re-enable interaction for active slide */
  z-index: 1;
  /* Ensure active slide is on top */
}

/* Format images within slides */
.format-slideshow .format-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures images cover the entire container */
}

/* Description styling */
.format-description {
  text-align: center;
  padding: 1rem 0 1rem 0;
  margin: 0 auto;
}

#formats .slideshow-outer {
  width: 100%;
  display: flex;
  position: relative;
}

#formats .format-section {
  width: 100%;
}

#formats .nav-container.sticky nav {
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}

@media(max-width: 768px) {

  #formats .nav-container.sticky nav {
      max-width: calc(100vw - 40px);
  }

  #formats nav {
    flex-direction: column;
  }
}

#formats nav li {
  cursor: pointer;
}

#formats nav li .circle {
  position: relative;
}

#formats nav li .circle,
#formats nav .circle-inner {
  transform: translateY(3px);
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 1px solid #262628;
  border-radius: 50px;
}

#formats nav li .circle-inner {
  opacity: 0;
  transform: translateY(0px);
  pointer-events: none;
  transition: all 0.2s ease-in-out;
  width: 6px;
  height: 6px;
  background: #262628;
  position: absolute;
  top: 2px;
  left: 2px;
}

#formats nav li .checkline {
  width: 30px;
  height: auto;
  position: absolute;
  top: -3px;
  left: -7px;
  opacity: 0;
}

#formats nav li:hover .circle-inner {
  opacity: 1;
}

#formats nav li.active {
  background-image: url('/wp-content/themes/funcle/images/unnamed.png');
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: center left 4px;
}

@media(max-width: 768px) {
  #formats nav li.active {
    background-position: center left -6px;
  }
}

#formats nav li.active .checkline {
  opacity: 0.8;
}

#formats nav li.active .circle-inner {
  opacity: 1;
}

#formats nav ul li {
  display: inline-flex;
  margin: 0 1rem 0 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media(max-width: 768px) {

    #formats span.empty {
        display: none;
    }

    #formats nav ul {
        text-align: center;
    }


    #formats nav ul li {
        padding: 0.5rem 0.5rem 1rem 0.5rem;
    }
}

@media(max-width: 768px) {
  #formats nav ul li {
    margin: 0;
    padding: 0.3rem;
  }
}

#formats h1 {
  font-size: clamp(32px, 1.45rem + 2.9vw, 70px);
  font-weight: 500;
  line-height: clamp(40px, 1.81rem + 3.625vw, 80px);
}

body.page-id-44, body.post-features {
  background-repeat: repeat-y;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
  background-size: 100vw;
  background-attachment: fixed;
}

body.page-id-44 div#header-fixed, body.post-features div#header-fixed {
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
  z-index: 1000;
  background-size: 100vw;
}

body.page-id-46 {
  background-size: 100vw;
  background-color: #F9F9F9;
  background-attachment: fixed;
}

body.home,
  div#homepage-our-video,
  div#homepage-our-story,
  div#homepage-formats,
  div#homepage-work {
  background-size: 100vw;
  background-color: #fff;
  background-attachment: fixed;
}


body.page-id-46 #header-fixed {
    background: #f7f7f7;
}

.search-form-container {
  position: relative;
  padding-top: 3rem;
  transform: translateX(1rem);
}

#search {
  all: unset;
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
  border-bottom: 1px solid #262628;
  position: absolute;
  bottom: 30px;
  right: 20px;
  width: 200px;
}

#search_cta {
  position: absolute;
  bottom: 33px;
  right: 18px;
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#search_cta:hover {
  opacity: 0.6;
}

#search::placeholder {
  font-family: "PitchSans", sans-serif;
  font-size: 14px;
  color: #262628;
  letter-spacing: 0px;
}

#features-index {
  margin-bottom: 2rem;
  position: relative;
}

#features-index .row-1 {
  position: relative;
}

#features-index .row-1 img.too-much-choice {
  position: absolute;
  left: 350px;
  top: -50px;
  height: 100px;
  animation-iteration-count: 1;
  transition: all 0.25s ease-in-out;
  opacity: 1;
}

@media(max-width: 768px) {
    #features-index .row-1 img.too-much-choice {
        right: 20px;
        width: 140px;
        height: auto;
        left: auto;
    }
}

#features-index .row-1 img.too-much-choice.hidden {
  opacity: 0;
}

@media(max-width: 768px) {
    #features-index .mobile-image-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        margin-left: 20%;
    }
    #features-index .mobile-image-container + .dots {
        margin-bottom: 1rem;
    }
}

#features-index .project-excerpt p {
    font-family: pitchsans, sans-serif;
    font-size: 14px;
    line-height: 16px;
}

#features-index .row-1 span.title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#filter-toggle {
  cursor: pointer;
  display: flex;
}

#filter-toggle span.title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-id-46 .filter-features {
  display: none;
  background-color: #f9f9f9;
  background-image: url(/wp-content/themes/funcle/images/work_bg.png);
  background-size: 100vw;
  background-color: #F9F9F9;
  background-attachment: fixed;
}

body.page-id-44 .filter-features {
  background-repeat: repeat-y;
  background-image: url(/wp-content/themes/funcle/images/features_background.jpg);
  background-size: 100vw;
  background-attachment: fixed;
}

.filter-features .filter-features-inner {
  display: flex;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.filter-features-left {
  width: 52%;
  display: flex;
  justify-content: space-between;
}

body.page-id-44 .filter-features-left {
    display: flex;
    flex-direction: column;
}

.filter-features-left ul {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
  margin-left: 0;
}

.filter-features-left li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.filter-features-right {
  width: 48%;
}

.filter-features-left span.title {
  text-decoration: underline;
  text-underline-offset: 3px;
}


#features-index main {
  padding-top: 120px;
}

#features-index h2 {
  text-align: center;
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
  background-size: contain;
  display: block;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 2rem 3rem;
}

#features-index .row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  font-size: 14px;
  line-height: 14px;
  padding-top: 2px;
  padding-bottom: 2px;
  transition: all 0.2s ease-in-out;
}

#features-index .row:hover a {
    opacity: 0.8;
}

#features-index .row-1,
#features-index .row-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

#features-index .row a {
  color: #000;
  text-decoration: none;
}

#features-index .row:hover a {
    color: #969696;
}

@media(max-width: 768px) {
  #features-index .row:hover a {
    color: #000000;
  }
}

#features-index .row-1-outer {
  position: sticky;
  top: 52px;
  z-index: 10;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
}

@media(max-width: 768px) {
    #features-index .row-1-outer {
        top: 39px;
    }
}

@media(max-width: 768px) {
    .filter-features-inner {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 1rem;
    }
    .filter-features-left {
        width: 100%;
        display: grid;
        grid-gap: 15px;
        grid-template-columns: 1fr 1fr;
    }
    .filter-features-right {
        width: 100%;
    }
    .filter-menu-col:nth-child(1) {
        grid-column: 1;
    }
    .filter-menu-col:nth-child(2) {
        grid-column: 1;
    }
    .filter-menu-col:nth-child(3) {
        grid-column: 2;
        grid-row: 1 / span 2; /* Makes it span both rows */
    }
}

#features-index .row-2-outer {
  position: sticky;
  top: 84px;
  z-index: 9;
  margin-bottom: 0.5rem;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
}

@media(max-width: 768px) {
  #features-index .row-2-outer {
    top: 71px;
  }
}

#features-index .project {
  position: sticky;
  top: 150px;
  z-index: 8;
}

#features-index a.feature-item {
  color: #000;
  text-decoration: none;
}

#features-index .feature-item {
  margin-bottom: 20px;
}

#features-index .feature-item img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

#features-index .feature-item .post-date {
  font-size: 0.9rem;
}

#features-index .feature-item .feature-title {
  margin-bottom: 1rem;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: normal;
}

#features-index .feature-item .feature-description {
  font-size: 0.9rem;
}

#features-index .row .col1 {
  min-width: 100px;
}

#features-index .row .col2 {
  width: calc(50% - 100px);
}

#features-index .row .col3 {
  width: calc(50% - 1rem);
  padding-left: 100px;
  margin-left: 1rem;
}

@media(max-width: 768px) {
    #features-index .row .col1 {
        min-width: 70px;
        width: 10%;
    }
    #features-index .row .col2 {
        width: 90%;
        justify-content: flex-end;
    }
    #features-index .row .col3 {
        display: none;
    }
}

#features-index .feature-item-flex {
  display: flex;
  width: 100%;
  flex: 1 0;
}

#features-index .feature-item-flex .post-date {
  min-width: 100px;
}

@media(max-width: 768px) {
    #features-index .feature-item-flex .post-date {
        min-width: 70px;
    }
}

#features-index #features-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media(max-width: 768px) {
    #features-index #features-container {
        display: flex;
        flex-direction: column;
        max-width: calc(100vw - 40px);
    }
}

#features-index #features-container .feature-item {
  background-image: url('/wp-content/themes/funcle/images/star_transparent.png');
  background-repeat: repeat-x;
  padding-bottom: 20px;
  background-size: 6px;
  background-position: bottom left;
}

#features-index #features-container .feature-item img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

#features-index .project-no-image .col2,
#features-index .project-no-image .col3 {
  position: relative;
  overflow: hidden;
}

#features-index .project-no-image .col2 {
    display: flex;
    justify-content: flex-start;
}

#features-index .project-no-image:hover {
    color: #969696;
}

@media(max-width: 768px) {
  #features-index .project-no-image:hover {
    color: #000;
  }
}


#features-index .project-no-image .col2 .title {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

#features-index .project-no-image .col3 .title {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding-right: 50px;
}

#features-index .project-no-image .title-scroll-container {
  display: inline-block;
  white-space: nowrap;
  position: relative;
}




/* Add these styles to your CSS file */

/* Update the col3 styles to ensure proper overflow handling */
#features-index .project-no-image .col3 {
  position: relative;
  overflow: hidden;
  width: calc(50% - 1rem);
  padding-left: 100px;
  margin-left: 1rem;
}

/* Make sure city title has proper styling for animation */
#features-index .project-no-image .col3 .title {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* Ensure title-scroll-container works consistently across all columns */
#features-index .project-no-image .title-scroll-container {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  transition: transform 0.05s linear;
}

/* Add this to ensure hover states are consistent */
#features-index .project-no-image:hover .col2 .title,
#features-index .project-no-image:hover .col3 .title {
  color: #969696;
}

@media(max-width: 768px) {
  #features-index .project-no-image:hover .col2 .title,
  #features-index .project-no-image:hover .col3 .title {
    color: #000;
  }
}


@media(max-width: 768px) {
    #scroll-overlay {
        display: none !important;
    }
}


#work-index .title-scroll-container {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.05s linear; /* Small transition for smoother initial movement */
}

/* @media(max-width: 768px) {
    #work-index .row-1.nonsticky {
        position: relative;
        border: 3px solid orange;
    }
} */


/* Optional: Add a subtle style change when hovering */
#work-index .row:hover .title-scroll-container {
  color: #000; /* You can adjust this to match your design */
}

/* Ensure the title container has proper overflow handling */
#work-index .col2 .title, .col3 .title {
  overflow: hidden;
  position: relative;
}

/* Style for animating state */
#work-index .title-scroll-container.animating {
  /* You can add additional styles for when animation is active */
}



#work-index .post-title-link {
  gap: 0;
}

#features-index .project-no-image .arrow {
    width: 0;
    overflow: hidden;
    display: inline-block;
    transition: width 0.3s ease-in-out;
}

#features-index .project-no-image:hover .arrow {
    width: 10px;
    overflow: visible;
    margin-right: 0.5rem;
}

#work-index .row-3-outer {
  background-color: #fff;
}

#work-index .project-images {
  /* max-height: 450px; */
  overflow-x: hidden;
  display: flex;
  padding-top: 0.5rem;
}

@media(max-width: 768px) {

    #work-index .project-content {
      position: relative;
    }

    #work-index .project-images {
      padding-top: 4px;
      background-color: #fff;
    }

    #work-index .project-images a:nth-of-type(2) {
        display: none;
    }
    #work-index .project-images a:nth-of-type(3) {
        display: none;
    }
}

#work-index main {
  padding-bottom: 5rem;
}

#work-index .row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 0.25rem;
}

#work-index .row:hover #filter-toggle {
  opacity: 0.7;
}

#work-index .filter-features li:hover {
  opacity: 0.7;
}

#features-index .filter-features li label, #features-index .filter-features li input {
    cursor: pointer;
}

#features-index .filter-features li:hover {
    opacity: 0.7;
    cursor: pointer;
}

@media(max-width: 768px) {
    #filter-toggle {
        text-align: right;
        display: inline-flex;
        justify-content: flex-end;
    }
}

#work-index .project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wp-block-flexible-image.is-centered {
  max-width: max(80%, 1000px) !important;
}

body.post-features .wp-block-flexible-image.is-centered {
  padding-top: 100px;
  padding-bottom: 100px;
}

.wp-block-flexible-image.is-centered img {
  max-width: 1000px;
}

@media(max-width: 768px) {
  .wp-block-flexible-image.is-centered img {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
  }
}

#work-index .project-no-image {
    line-height: 12px;
    transition: all 0.2s ease-in-out;
}

#work-index .project-no-image:hover a {
    opacity: 0.8;
}

#work-index .project-no-image .row {
  padding-bottom: 0;
}

#work-index .project-no-image .row a,
#work-index .project-no-image .row span.title {
  text-decoration: none;
  text-transform: none;
  line-height: 1em;
}

#work-index a {
  color: #000;
  text-decoration: none;
}

#work-index .row span.title {
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#work-index .row-1 {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 0.75rem;
  background-color: #f7f7f7;
}

@media(max-width: 768px) {
    #work-index .row-1 {
      background-color: #F8F8F8;
    }
}

img.too-much-choice {
  position: fixed;
  left: 32%;
  top: 40px;
  height: 100px;
  animation-iteration-count: 1;
  transition: all 0.25s ease-in-out;
  opacity: 1;
  z-index: 10000;
}

@media(max-width: 768px) {
    img.too-much-choice {
        right: 20px;
        top: 100px;
        width: 140px;
        height: auto;
        left: auto;
    }
}

#work-index .row-1 img.too-much-choice.hidden {
  opacity: 0;
}

#work-index .row-2 {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
  background-color: #F9F9F9;
}

#work-index .dots {
  background-color: #fff;
}

#work-index .row-1-outer {
  position: sticky;
  top: 12px;
  z-index: 10;
  background-color: transparent;
}

.cursor-image {
    max-width: 600px;
    max-height: 450px;
}

#work-index .project-content {
  transition: max-height 0.1s ease-out;
  overflow: hidden;
  /* max-height: 450px; */
}

#work-index .row-2-outer {
  position: sticky;
  top: 59px;
  z-index: 9;
  background-color: transparent;
}

#work-index .row-3-outer {
  position: relative;
  background-color: transparent;
}

#work-index .project-images a {
    width: 33.3%;
}

@media(max-width: 768px) {
    #work-index .project-images a {
        width: 100%;
    }
}

#work-index .dots {
  background-color: #F9F9F9;
}

img.background_image {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1;
}

#work-index .row-3-outer .project {}

#work-index .project-image-wrapper {
  position: relative;
}

#work-index .project-image-wrapper .project {
  background-color: transparent;
  padding-bottom: 4rem;
  position: sticky;
  top: 162px;
}

#work-index .project-index-wrapper {
  position: sticky;
  top: 170px;
}

#work-index .project,
#work-index .project-no-image {
  position: sticky;
  top: 164px;
  background-color: #F9F9F9;
}

#work-index .project .row,
#work-index .project-no-image .row {
  padding-top: 4px;
}

#work-index .project .row:hover, #work-index .project .row:hover a,
#work-index .project-no-image .row:hover, #work-index .project-no-image .row:hover a {
    color: #969696;
}


#work-index .project .row .arrow, #work-index .project .arrow {
    width: 0;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
}

@media(max-width: 768px) {
    #work-index .project .row .arrow, #work-index .project .arrow {
        display: none;
    }
}

#work-index .project .row:hover .arrow, #work-index .project .arrow {
    width: 10px;
    transition: width 0.3s ease-in-out;
    overflow: visible;
}

#work-index .project-no-image .row .col2 {
    display: flex;
    justify-content: flex-start;
}

#work-index .project-no-image .row .arrow {
    transition: width 0.3s ease-in-out;
    overflow: hidden;
    width: 0px;
    display: inline-block;
}

#work-index .project-no-image .row:hover .arrow {
    width: 10px !important;
    overflow: visible;
}

#work-index .project-index-wrapper .project {
  position: sticky;
  top: 170px;
}

#work-index .project-image-wrapper .project .row {
  padding-top: 0.5rem;
}

#work-index .project-no-image {
  z-index: 8;
  background-color: #F9F9F9;
}

#work-index .row .col1 {
  width: 20%;
}

#work-index .row .col2 {
  width: 40%;
}

#work-index .row .col3 {
  width: 40%;
  overflow-x: hidden;
  white-space: nowrap;
}

@media(max-width: 768px) {
    #work-index .row .col1 {
        width: 20%;
    }
    #work-index .row .col2 {
        width: 80%;
    }
    #work-index .row .col3 {
        display: none;
    }
}

#cities header {
  padding: 0;
}

#cities .nav-container {
  flex-direction: column;
  display: flex;
  width: 100%;
  z-index: 100;
}

#cities .nav-container span {
  padding-top: 1rem;
  padding-bottom: 1rem;
  backdrop-filter: blur(0px);
  transition: all 0.25s ease-in-out;
}

#cities .nav-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 50px;
}

#cities .nav-container.sticky nav {
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  background-color: #ceae9299;
}

@media(max-width: 768px) {
  #cities nav {
    flex-direction: column;
  }
}


#cities .nav-placeholder {
  display: none;
  width: 100%;
}

#cities .nav-placeholder.active {
  display: block;
}

#cities nav {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

#cities nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


#cities header {
  padding: 0;
}

#cities .nav-container {
  flex-direction: column;
  display: flex;
  width: 100%;
  z-index: 100;
  position: sticky;
  top: 48px;
  background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
  background-position: center top 100px;
  background-size: cover;
}

#cities .nav-container span {
  padding-top: 1rem;
  padding-bottom: 1rem;
  backdrop-filter: blur(0px);
  transition: all 0.25s ease-in-out;
}

#cities .nav-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 50px;
  background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
}

@media(max-width: 768px) {
    #cities .nav-container {
        top: 24px;
    }
  #cities .nav-container.sticky {
    top: -15px;
  }
}

#cities .nav-container.sticky nav {
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  background-color: #ceae9299;
}

@media(max-width: 768px) {

    #cities .nav-container.sticky div.dots {
        margin-left: 20px;
    }

  #cities nav {
    flex-direction: column;
    max-width: calc(100vw - 40px);
    margin-left: 0px;
  }

  #cities .nav-container {
      text-align: center;
  }

  #cities .nav-container.sticky nav {
    max-width: calc(100vw - 40px);
    margin-left: 20px;
  }

  #cities nav span.spacer {
      display: none;
  }


}


#cities .nav-placeholder {
  display: none;
  width: 100%;
}

#cities .nav-placeholder.active {
  display: block;
}

#cities nav {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

#cities nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cities nav li {
  cursor: pointer;
}

@media(max-width: 768px) {
  #cities nav ul {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
}

#cities nav li .circle {
  position: relative;
}

#cities nav li .circle,
#cities nav .circle-inner {
  width: 12px;
  height: 12px;
  transform: translateY(3px);
  margin-right: 8px;
  border: 1px solid #262628;
  border-radius: 50px;
}

#cities nav li .circle-inner {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0px);
  transition: all 0.2s ease-in-out;
  width: 6px;
  height: 6px;
  background: #262628;
  position: absolute;
  top: 2px;
  left: 2px;
}

#cities nav li .checkline {
  width: 30px;
  height: auto;
  position: absolute;
  top: -3px;
  left: -7px;
  opacity: 0;
}

#cities nav li:hover .circle-inner {
  opacity: 1;
}

#cities nav li.active {
  background-image: url('/wp-content/themes/funcle/images/unnamed.png');
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: center left 4px;
}

@media(max-width: 768px) {
    #cities nav li.active {
        background-size: 30px;
        background-position: center left -4px;
    }
}

#cities nav li.active .checkline {
  opacity: 0.8;
}

#cities nav li.active .circle-inner {
  opacity: 1;
}

#cities nav ul li {
  display: inline-flex;
  margin: 0 1rem 0 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media(max-width: 768px) {
  #cities nav ul li {
    margin: 0;
    padding: 0.3rem;
  }
}

#cities h1 {
  font-size: clamp(32px, 1.45rem + 2.9vw, 70px);
  font-weight: 500;
  line-height: clamp(40px, 1.81rem + 3.625vw, 80px);
}

@media(max-width: 768px) {
    #cities .nav-container {
        flex-direction: column;
        display: flex;
        width: 100vw; /* Full viewport width */
        margin-left: calc(-50vw + 50%);
        left: 50%;
        transform: translateX(0%);
        position: sticky;
        top: 24px;
        z-index: 100;
        background-image: url('/wp-content/themes/funcle/images/cities_bg.jpg');
        background-position: center top;
        background-size: cover;
    }
}

#homepage-formats {
  position: relative;
  background-color: #fff;
  z-index: 12;
}

#homepage-formats .content a {
  position: relative;
  display: inline-block;
  padding-right: 100px;
}

#homepage-formats .content a::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 150px;
  height: 150px;
  right: 0;
  transform: translateY(-50%);
  background-image: url('/wp-content/themes/funcle/images/yoink.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 11;
}

#homepage-formats h1 {
  text-align: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* #homepage-formats h1 { */
/*     font-family: 'pitchsans', sans-serif; */
/*     font-size: 14px; */
/*     line-height: 17px; */
/*     text-transform: uppercase; */
/*     text-align: center; */
/*     padding-top: 10px; */
/* } */
/**/

:root {
  --work-item-bg: #fff;
  --work-item-base-top: 238px;
  --work-item-height: 37px;
  --work-item-base-z: 10000;
  --work-item-base-top-mobile: 225px;
  --work-item-height-mobile: 36px;
  --work-item-base-z-mobile: 10000;
}

#homepage-formats h3 {
  text-align: center;
  font-size: 14px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#homepage-formats .content-column {
  position: sticky;
  /* Make just the content sticky */
  top: 80px;
  /* Account for 40px header + some breathing room */
  z-index: 50;
  /* Keep it above base content but below header */
}

#homepage-formats .content-column h2 .format-title {
  transition: color 0.3s ease;
  display: inline-block;
  margin-bottom: 0.5rem;
}

#homepage-formats .content-column h2 .format-title.active {
  position: relative;
  display: inline-block;
  color: #000;
  /* Change this to your desired highlight color */
}

/* First, remove the background-image from the original selector */
#homepage-formats .content-column h2 .format-title.active::after {
  content: '';
  position: absolute;
  background-color: transparent;
  top: 50%;
  left: -20%;
  transform: translateY(-60%);
  width: calc(300px * 0.6);
  height: calc(114px * 0.6);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 11;
  pointer-events: none;
}

/* Then add specific rules for each data-index */
#homepage-formats .content-column h2 .format-title[data-index="0"].active::after {
  background-image: url('/wp-content/themes/funcle/images/scribble_wildposting.png');
}

#homepage-formats .content-column h2 .format-title[data-index="1"].active::after {
  background-image: url('/wp-content/themes/funcle/images/scribble_billboards.png');
}

#homepage-formats .content-column h2 .format-title[data-index="2"].active::after {
  background-image: url('/wp-content/themes/funcle/images/scribble_builds.png');
}

#homepage-formats .content-column h2 .format-title[data-index="3"].active::after {
  background-image: url('/wp-content/themes/funcle/images/scribble_ambient.png');
}

#homepage-formats .content-column .content {
    max-width: 450px;
    margin-left: 0;
}

#homepage-formats .content-column h2 .format-title {
  cursor: pointer;
}

#homepage-formats .content-column h2 .format-title:not(.active) {
  color: #000;
  /* Change this to your desired inactive color */
}

#homepage-formats .gallery-column {
  position: relative;
  z-index: 40;
  /* Keep it below the sticky content */
}

@media screen and (max-width: 768px) {
  /* Your existing styles */
  #homepage-formats .wp-block-gallery-text {
      display: block;
      max-width: calc(100vw - 40px);
  }

  #homepage-formats .content-column {
      width: calc(100vw - 40px);
      margin-bottom: 0;
  }

  #homepage-formats .gallery-right .gallery-grid {
      width: 100%;
  }

  #homepage-formats .gallery-grid {
      position: relative;
      width: 100%;
      overflow: hidden;
  }

  #homepage-formats .gallery-grid .gallery-image {
      width: 100%;
      transition: transform 0.3s ease;
      display: none; /* Hide all images by default */
  }

  #homepage-formats .gallery-grid .gallery-image:first-child {
      display: block; /* Show only the first image initially */
  }

  #homepage-formats .format-images-container {
      width: 100%;
      height: 100%;
  }

  #homepage-formats .gallery-grid .gallery-image.active {
      display: block;
  }

  /* Modified carousel controls to be visible */
  #homepage-formats .carousel-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1rem;
      display: none;
  }

  #homepage-formats .carousel-dots {
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      margin: 1rem 0;
  }

  #homepage-formats .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #ccc;
      cursor: pointer;
  }

  #homepage-formats .carousel-dot.active {
      background-color: #000;
  }

  #homepage-formats .carousel-button {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      padding: 0.5rem;
  }

  /* New styles for format titles */
  #homepage-formats .format-title {
      cursor: pointer;
      transition: all 0.3s ease;
      padding-bottom: 3px;
      margin-bottom: 2px;
      position: relative;
      display: inline-block;
  }

  #homepage-formats .format-title.active:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: currentColor;
  }

  /* Content transition */
  #homepage-formats .content-column .content div.content {
      transition: opacity 0.3s ease;
  }

  /* Responsive spacing adjustments */
  #homepage-formats h2 {
      margin-bottom: 1.5rem;
  }

}

#homepage-formats .gallery-grid {
  position: relative;
}

#homepage-formats article.page div.content-column div.content p {
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  line-height: 17px;
}

#homepage-formats h2 {
  font-size: 30px;
  font-family: 'circular std book', sans-serif;
}

@media(max-width: 768px) {
  #homepage-formats h2 {
    margin-bottom: 0;
  }
}

#homepage-formats h3 span.title {
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
}

#homepage-formats span.edit-link {
  display: none;
}

#homepage-latest-features {
  position: relative;
  background-color: #fff;
  z-index: 14;
  background-repeat: repeat;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
}

#homepage-latest-features .view-more-link {
  padding-top: 2rem;
}

#homepage-latest-features-title {
    position: sticky;
    top: 50px;
    z-index: 11;
    background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
}

@media(max-width: 768px) {
  #homepage-latest-features-title {
    top: 35px;
  }
}

#homepage-latest-features h3 {
  padding-top: 10px;
  padding-bottom: 10px;
}

#homepage-latest-features h3 span.title {
  font-size: 26px;
  font-family: 'circular std medium', sans-serif;
  font-weight: 500;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  display: inline-block;
  position: relative;
}

#homepage-latest-features h3 span.title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-56%);
  width: 220px;
  height: 50px;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.gt_switcher .gt_selected a:after {
  background: 0 none !important;
  content: "" !important;
  -webkit-transform: rotate(-180deg) translateY(2px) !important;
  transform: rotate(-180deg) translateY (2px) !important;
  right: 14px !important;
  width: 20px !important;
  background-position: center !important;
  background-size: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg width='19px' height='13px' viewBox='0 0 19 13' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='(%E2%86%91)' transform='translate(0.947000  0.760000)' fill='%23000000' fill-rule='nonzero'%3E%3Cpath d='M3.514 1.42108547e-14 C2.366 0.690666595 1.4933334 1.5166666 0.896 2.478 C0.298666595 3.4393334 0 4.4986666 0 5.656 C0 6.8133334 0.298666595 7.8726666 0.896 8.834 C1.4933334 9.7953334 2.366 10.6213334 3.514 11.312 L3.892 10.752 C2.8653334 10.136 2.079 9.3893334 1.533 8.512 C0.987 7.6346666 0.714 6.6826666 0.714 5.656 C0.714 4.6293334 0.989333405 3.675 1.54 2.793 C2.0906666 1.911 2.8793334 1.162 3.906 0.546 L3.514 1.42108547e-14 Z' id='Path'%3E%3C/path%3E%3Cpolygon id='Path' points='8.90866667 2.926 9.09066667 2.926 11.6526667 5.236 12.1286667 4.732 8.54466667 1.568 4.96066667 4.732 5.43666667 5.236 8.01266667 2.926 8.19466667 2.926 8.19466667 8.764 8.90866667 8.764'%3E%3C/polygon%3E%3Cpath d='M16.3753333 5.656 C16.3753333 6.6826666 16.1023333 7.6346666 15.5563333 8.512 C15.0103333 9.3893334 14.2239999 10.136 13.1973333 10.752 L13.5753333 11.312 C14.7233333 10.6213334 15.5959999 9.7953334 16.1933333 8.834 C16.7906667 7.8726666 17.0893333 6.8133334 17.0893333 5.656 C17.0893333 4.4986666 16.7906667 3.4393334 16.1933333 2.478 C15.5959999 1.5166666 14.7233333 0.690666595 13.5753333 1.42108547e-14 L13.1833333 0.546 C14.2099999 1.162 14.9986667 1.911 15.5493333 2.793 C16.0999999 3.675 16.3753333 4.6293334 16.3753333 5.656 Z' id='Path'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
}

.gt_switcher .gt_selected a.open:after {
  -webkit-transform: rotate(0deg) translateY(0px) !important;
  transform: rotate(0deg) translateY (0px) !important;
}

.gt_switcher .gt_option {
  border: 0px solid #fff !important;
}

.gt_switcher a img {
  width: 0 !important;
}

body[data-page="cities"] .gt_switcher .gt_selected a,
body[data-page="cities"] .gt_switcher .gt_selected a:hover,
body[data-page="cities"] .gt_switcher .gt_option,
body[data-page="features"] .gt_switcher .gt_selected a,
body[data-page="features"] .gt_switcher .gt_selected a:hover,
body[data-page="features"] .gt_switcher .gt_option {
  background-color: #c6ac93 !important;
  background-image: url(/wp-content/themes/manfromuncle/img/cities_bg.jpg) !important;
  background-position: top right;
}

body[data-page="cities"] .gt_switcher .gt_option a:hover,
body[data-page="features"] .gt_switcher .gt_option a:hover {
  background-color: transparent !important;
}

.heading-contact-link {
  margin-right: 180px;
}

.gt_switcher {
  font-family: "PitchSans", sans-serif !important;
  color: #262628 !important;
  position: absolute;
  top: 16px;
  right: 36px;
  width: 171px !important;
  border: none !important;
}

#header-fixed .gt_switcher img {
  border: none;
}

.gt_switcher .gt_selected {
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
}

.gt_switcher,
.gt_switcher a,
.gt_switcher:hover .gt_option a:focus,
.gt_switcher a:hover,
.gt_switcher:focus {
  border: none !important;
  outline: none !important;
}

body.page-id-44 .gt_switcher .gt_option,
body.page-id-44 .gt_switcher .gt_option a:hover {
  width: 173px !important;
  background-color: transparent !important;
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg') !important;
  border: none !important;
}

body.page-id-18 .gt_switcher .gt_option,
body.page-id-18 .gt_switcher .gt_option a:hover {
  width: 173px !important;
  background-color: transparent !important;
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(/wp-content/themes/manfromuncle/img/cities_bg.jpg) !important;
  border: none !important;
}

@media(max-width: 768px) {
    .wp-block-gallery-text {
        max-width: calc(100vw - 40px) !important;
        display: flex;
        flex-direction: column;
    }
    body.page-id-18 .gt_switcher .gt_option,
    body.page-id-18 .gt_switcher .gt_option a:hover,
    body.page-id-44 .gt_switcher .gt_option,
    body.page-id-44 .gt_switcher .gt_option a:hover {
      background: #000 !important;
      color: #fff !important;
    }
}

.gt_switcher .gt_option,
.gt_switcher .gt_option a:hover {
  width: 173px !important;
  border: none !important;
  background-color: #f7f7f7 !important;
}

@media(max-width: 768px) {
    .gt_switcher .gt_option,
    .gt_switcher .gt_option a:hover {
      background-color: #000 !important;
    }
}

.gt_switcher .gt_selected a,
.gt_switcher .gt_option a {
  font-size: 14px !important;
  text-transform: uppercase !important;
  border: none !important;
  color: #262628 !important;
}

@media(max-width: 768px) {
  .gt_switcher .gt_selected a,
  .gt_switcher .gt_option a {
    color: #fff !important;
  }
}


.gt_switcher .gt_selected a:focus,
.gt_switcher .gt_option a:focus {
  border: none !important;
}

.gt_switcher .gt_selected a:hover {
  background-color: transparent !important;
}

.gt body.post-features {
  background-repeat: repeat-y;
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
}

body.post-feautures .wp-block-flexible-image.is-centered,
body.post-work .wp-block-flexible-image.is-centered {
  max-width: 1220px;
}

body.post-features div.footer-dots {
  margin-top: 2rem;
}

body.post-features #post_content p a {
  color: #000;
}

body.post-work .content-column h2:first-of-type {
  display: none;
}

#homepage-latest-features .feature-item-flex {
  display: flex;
  width: 100%;
  flex: 1 0;
}

#homepage-latest-features a.feature-item {
  color: #000;
  text-decoration: none;
}

#homepage-latest-features .feature-item-flex .post-date {
  min-width: 100px;
}

#homepage-latest-features h3 {
  text-align: center;
}

#homepage-latest-features #features-container {
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 768px) {
  #homepage-latest-features #features-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

#homepage-latest-features .feature-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

#video-mute-toggle {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 10;
}

#mute-toggle-btn {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#mute-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#mute-toggle-btn svg {
  width: 20px;
  height: 20px;
}

#homepage-latest-features .feature-item img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

#homepage-latest-features .feature-item .post-date {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

#homepage-latest-features .feature-item .feature-title {
  margin-bottom: 1rem;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: 300;
}

#homepage-latest-features .feature-item .feature-description {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

#homepage-work h3 {
  text-align: center;
}

#homepage-work ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
  position: relative;
  margin-bottom: 0;
}

#homepage-work div.our-work-outer {
  position: relative;
}

#homepage-work div.our-work-intro {
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 72px);
  margin: 0 auto;
  background: #fff;
  text-transform: uppercase;
}

#homepage-work div.our-work-intro span.title {
  text-align: center;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  font-size: 26px;
  text-transform: none;
  font-family: 'circular std medium', sans-serif;
  font-weight: 500;
}

#homepage-work div.our-work-intro span.title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-56%);
  width: 180px;
  height: 50px;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}


#homepage-work div.our-work-intro .our-work-counter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

#homepage-work div.our-work-outer {
  position: relative;
  background-color: #fff;
}

#homepage-work div.our-work-intro {
  position: sticky;
  top: 52px;
  background-color: #fff;
  z-index: 999999;
}

#homepage-work .work-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: top 0.3s ease;
  padding: 7px 0 8px 0;
  max-width: calc(100vw - 72px);
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  /* For hover effect */
  transition: border-color 0.2s ease;
}

#homepage-work li.work-li-1 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 1 * var(--work-item-height));
  z-index: var(--work-item-base-z);
}

#homepage-work li.work-li-2 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 2 * var(--work-item-height));
  z-index: calc(var(--work-item-base-z) - 1);
}

#homepage-work li.work-li-3 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 3 * var(--work-item-height));
  z-index: calc(var(--work-item-base-z) - 2);
}

#homepage-work li.work-li-4 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 4 * var(--work-item-height));
  z-index: calc(var(--work-item-base-z) - 3);
}

#homepage-work li.work-li-5 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 5 * var(--work-item-height));
  z-index: calc(var(--work-item-base-z) - 4);
}

#homepage-work li.work-li-6 {
  background-color: #fff;
  position: sticky;
  top: calc(var(--work-item-base-top) + 6 * var(--work-item-height));
  z-index: calc(var(--work-item-base-z) - 5);
}

#homepage-work .work-thumbnail {
  position: relative;
  z-index: 1;
  /* Keep thumbnails below headers */
  margin: 0;
  display: flex;
  width: 100%;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
}

#homepage-work .work-thumbnail img {
    width: 100%;
}

/* Ensure content sections create new stacking contexts */
#homepage-work .our-work-outer {
  position: relative;
  z-index: 1;
}

#homepage-work .row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 14px;
  margin-left: 36px;
  margin-right: 36px;
}

#homepage-work .row-2-outer {
  position: sticky;
  top: 122px;
  /* was 95px */
  background-color: #fff;
  z-index: 999999;
}

#homepage-work .row-2 {
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between !important;
  max-width: calc(100vw - 72px);
  justify-content: flex-start;
  width: 100%;
  flex: 1 0;
}

#homepage-work .row .col1 {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#homepage-work .row .col2 {
  display: flex;
  width: 100%;
  max-width: 1000px;
  justify-content: flex-start;
  text-decoration: underline;
  text-underline-offset: 2px;
  transform: translateX(-25px);
}

#homepage-work .row .col2 span.project {
  min-width: 70%;
}

#homepage-work .row .col3 {}

#homepage-work .work-header .work-title {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  text-transform: uppercase;
  justify-content: flex-start;
}

#homepage-work .work-header .work-title span.marquee {
  overflow-x: hidden;
  white-space: nowrap;
}

#homepage-work .work-header .work-title h4 {
  min-width: 70%;
  font-weight: 300;
}

@media(max-width: 768px) {
  #homepage-work .work-header .work-title h4 {
    font-weight: 500;
  }
}

#homepage-work .work-header a {
  color: #000;
}

#homepage-work .work-header h4 {
  margin: 0;
}

#homepage-work .read-link {
  margin-left: auto;
  text-decoration: none;
}

#homepage-work .work-thumbnail {
  background-color: #fff;
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

#homepage-work .work-thumbnail img {
  max-width: 100%;
  height: auto;
}

#homepage-work .work-thumbnail .wt img {
  object-fit: cover;
  height: 100%;
  aspect-ratio: 4 / 3;
}

#homepage-work h3 span.title {
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
}

@media(max-width: 768px) {

    .gt_switcher {
      font-family: "PitchSans", sans-serif !important;
      color: #262628 !important;
      position: absolute;
      top: 10px;
      z-index: 1001;
      right: 12px;
      width: 171px !important;
      border: none !important;
      text-align: right !important;
    }

    .gt_switcher .gt_selected {
      background-color: transparent !important;
      background-image: none !important;
      border: none !important;
      color: #fff !important;
    }

    .gt_switcher .gt_selected a {
        color: #fff !important;
    }
}

@media(max-width: 768px) {

    #homepage-work div.our-work-intro {
        top: 39px;
    }

    #homepage-work .row-2-outer {
        top: 108px;
    }

    #homepage-work div.work-thumbnail {
        max-width: calc(100vw - 40px);
    }

    #homepage-work .work-header {
        max-width: calc(100vw - 40px);
    }

    #homepage-work div.row-2 {
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }

    #homepage-work div.work-thumbnails-desktop {
        display: none;
    }

    #homepage-work div.our-work-intro {
        max-width: calc(100vw - 40px);
    }

    #homepage-work .read-link,
    #homepage-work div.work-title .city,
    #homepage-work span.title.city {
        display: none;
    }

    #homepage-work .row .col2 {
        justify-content: flex-end;
    }

    #homepage-work li.work-li-1 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

    #homepage-work li.work-li-2 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

    #homepage-work li.work-li-3 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

    #homepage-work li.work-li-4 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

    #homepage-work li.work-li-5 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

    #homepage-work li.work-li-6 {
      background-color: var(--work-item-bg);
      position: sticky;
      top: calc(var(--work-item-base-top-mobile) + 1 * var(--work-item-height-mobile));
      z-index: var(--work-item-base-z);
    }

}

#homepage-container {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
}

@media(max-width: 768px) {
    #homepage-container {
        padding-top: 0;
    }
}

#homepage-video {
  position: relative;
  width: 100%;
  height: 100vh;
}

#homepage-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#homepage-container h1 {
  font-family: 'pitchsans', sans-serif;
  font-size: 14px;
  line-height: 17px;
  max-width: 380px;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 auto;
  text-align: center;
}

@media(max-width: 768px) {
    #homepage-container h1 {
        max-width: 300px;
    }
}






#homepage-our-video h1 {
  text-align: center;
  padding-top: 0.25rem;
  font-size: 26px;
  position: relative;
}

#homepage-our-video h1::after {
  content: '';
  position: absolute;
  top: 40%;
  right: 50%;
  transform: translateX(50%) translateY(26%);
  width: 412px;
  height: 165px;
  z-index: 14;
  background-image: url('/wp-content/themes/funcle/images/scribble_video.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media(max-width: 768px) {
  #homepage-our-video h1::after {
    background-size: 30%;
    top: -60px;
  }
}

#homepage-our-video {
  background: #fff;
  z-index: 11;
  position: relative;
  padding: 0 0 0 0;
}

#homepage-our-video-title {
  position: sticky;
  top: 50px;
  background: #fff;
  z-index: 12;
  padding: 0 0 0 0;
}

#homepage-video-sticky {
  position: relative;
  width: 100%;
  padding-bottom: 1rem;
}

#homepage-video-sticky video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(max-width: 768px) {

  #homepage-video-sticky {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 1rem;
  }

  #homepage-video-sticky video {
    position: relative;
    width: 100%;
    object-fit: scale-down;
  }

  #homepage-our-video-title {
    top: 35px;
  }

  #homepage-our-video {
    position: relative;
  }

}


#homepage-our-video .content {
  padding-top: 1rem;
  max-width: calc(100vw - 72px);
}


#homepage-our-story h1 {
  text-align: center;
  padding-top: 0.25rem;
  font-size: 26px;
  position: relative;
}

#homepage-our-story h1::after {
  content: '';
  position: absolute;
  top: 40%;
  right: 50%;
  transform: translateX(50%) translateY(-56%);
  width: 190px;
  height: 60px;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

#homepage-our-story {
  background: #fff;
  z-index: 11;
  position: relative;
  padding: 0 0 0 0;
}

#homepage-our-story-title {
  position: sticky;
  top: 50px;
  background: #fff;
  z-index: 12;
  padding: 0 0 0 0;
}

@media(max-width: 768px) {
  #homepage-our-story-title {
    top: 35px;
  }
}

@media(max-width: 768px) {
    #homepage-our-story {
        position: relative;
    }
}

#homepage-our-story .content {
  padding-top: 2rem;
}

#homepage-formats h1 {
  position: sticky;
  top: 52px;
  font-size: 26px;
  background: #fff;
  padding: 0;
  z-index: 50;
  padding-top: 10px;
}

@media(max-width: 768px) {
  #homepage-formats h1 {
    top: 39px;
  }
}

#homepage-formats h1::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-53%) scale(0.5);
  width: 300px;
  height: 144px;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#homepage-formats .content-column {
  position: sticky;
  top: 140px;
  z-index: 10;
  padding: 0;
}

#homepage-work {
  position: relative;
  /* position: sticky;
  top: 55px; */
  z-index: 13;
  padding: 0;
}

h1 .dots {
  margin-top: 10px;
}

#homepage-latest-features .dots {
  background-color: transparent;
}

body.home footer {
  background-color: #fff;
  z-index: 50;
}

#home-footer-container {
  position: relative;
  background-color: #fff;
  width: 100%;
  z-index: 20;
}

#homepage-our-story h2 {
  font-size: clamp(32px, 1.45rem + 2.9vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  font-family: 'circular std book', sans-serif;
}

#homepage-our-story h2 span.underline {
  width: 100%;
  background-size: cover;
  background-position: bottom -8px center;
  background-repeat: no-repeat;
  position: relative;
  background-image: url('/wp-content/themes/funcle/images/original_activev2.png');
}

.video-modal {
  display: none;
  position: absolute;
  z-index: 1000;
}

.video-modal .close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  color: black;
  cursor: pointer;
  font-size: 32px;
  font-weight: 300;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ceae92;
  z-index: 20;
}

.video-modal video {
  width: 100%;
  display: block;
}


.video-modal video {
    width: calc(240px);
    display: block;
    border: 2px solid #000;
}

@media(max-width: 768px) {

  .video-modal {
    left: 1rem !important;
    max-width: 75vw;
    width: 200px;

  }

  .video-modal video {
    max-width: 75vw;
    width: 200px;

  }
}

#backdrop {
  z-index: 10;
  position: fixed;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
}

#backdrop-inner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 55px;
  height: 100%;
  width: 100%;
  background-image: url('/wp-content/themes/funcle/images/uncle-logo-footer.png');
}

@media(max-width: 768px) {
    #backdrop-inner {
        background-position: center center;
    }
}

#home-what-we-do {
  position: relative;
  display: flex;
  margin-left: auto;
  margin-right: 6rem;
  max-width: 900px;
  column-gap: 3rem;
  padding-bottom: 2rem;
  padding-top: 100px;
}


#home-what-we-do .what-we-do {
  position: relative;
}


#home-what-we-do .what-we-do a[href="/contact"] {
  display: inline-block;
  position: relative;
}

#home-what-we-do .what-we-do a[href="/contact"]::after {
  content: '';
  position: absolute;
  width: 315px;
  height: 213px;
  transform: scale(0.6) translateY(-45%) translateX(-15%);
  left: -50%;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/box.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#home-what-we-do .what-we-do::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 0%;
  transform: translateX(50%) translateY(-50%) scale(0.6);
  width: 143px;
  height: 65px;
  z-index: 11;
  background-image: url('/wp-content/themes/funcle/images/arrow_right.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media(max-width: 768px) {
    #home-what-we-do .what-we-do::after {
        display: none;
    }
}

#home-what-we-do .cities-list {
    min-width: 90px;
}

#home-what-we-do .cities-list ul li {
    display: flex;
    gap: 0.25rem;
    position: relative;
}

#home-what-we-do .cities-list ul li a {
  color: #000;
  display: inline-block;
  position: relative;
}

#home-what-we-do .cities-list ul li a img {
    width: 8px;
}

@media(max-width: 768px) {
  #home-what-we-do {
    padding-top: 2rem;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 0;
    flex-direction: column;
  }
}

#home-what-we-do h2 {
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: 'pitchsans', sans-serif;
  font-size: 14px;
}

#home-what-we-do p {
  font-family: "pitchsans", sans-serif;
  font-size: 14px;
  line-height: 17px;
}

#home-what-we-do ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#home-what-we-do ul li a {
  text-decoration: none;
}

#home-what-we-do a {
  color: #000;
}

#home-what-we-do .client-link {
  display: block;
  min-width: 200px;
  text-decoration: none;
}

.homepage-arrows {
  font-size: 14px;
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: 6rem;
}

.homepage-arrows-mobile {
    display: none;
}

@media(max-width: 768px) {
    .homepage-arrows {
        display: none;
    }
    .homepage-arrows-mobile {
        display: block;
        font-size: 14px;
        text-align: center;
        width: 100%;
        position: absolute;
        bottom: 4dvh;
        overflow: hidden;
    }
}

.homepage-images-container {
  width: 100%;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(90vw);
  left: 5vw;
  right: 5vw;
  margin: 0 auto 0 auto;
  position: fixed;
  z-index: 10;
}

@media(max-width: 768px) {
    #backdrop {
        pointer-events: none;
    }
    .homepage-images-container { max-width: calc(100vw); overflow-x: hidden; }
    #backdrop,
    #backdrop-inner,
    .homepage-images-container,
    .homepage-images {
        max-height: 90dvh !important;
        overflow-x: hidden;
    }
    #backdrop {
        z-index: 1;
        postion: relative;
    }
    .homepage-images {
        z-index: 10;
        postion: relative;
    }
}

/* iOS Safari viewport height fix */


/* Force the images to be visible regardless of container height */
.homepage-images figure {
    display: block;
    opacity: 0;
    visibility: visible;
    transition: opacity 0.25s ease;
}

.homepage-images img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Media query specifically for iOS */
@supports (-webkit-touch-callout: none) {
    /* iOS specific adjustments */
    #homepage-container {
        position: relative;
        z-index: 1;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    .homepage-images-container {
        position: relative;
        padding-top: env(safe-area-inset-top); /* Account for notch */
    }
}

@media(max-width: 768px) {

    .homepage-image-0 { opacity: 0; z-index: 1; transition-delay: 0.25s; }
    .homepage-image-1 { opacity: 0; z-index: 2; transition-delay: 0.5s; }
    .homepage-image-2 { opacity: 0; z-index: 3; transition-delay: 0.75s; }
    .homepage-image-3 { opacity: 0; z-index: 4; transition-delay: 1s; }
    .homepage-image-4 { opacity: 0; z-index: 5; transition-delay: 1.25s; }
    .homepage-image-5 { opacity: 0; z-index: 6; transition-delay: 1.5s; }
    .homepage-image-6 { opacity: 0; z-index: 7; transition-delay: 1.75s; }


  .homepage-arrows-mobile {
    position: absolute;
  }
  .homepage-images-container {
    left: auto;
    right: auto;
    position: relative;
  }
}

.city-item {
  display: flex;
  flex-direction: row-reverse;
}

.city-item .format-title {
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}

.city-item .format-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-50%) scale(0.6);
  width: 300px;
  height: 150px;
  z-index: 11;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.city-item:nth-of-type(1) .format-title::after {
  background-image: url('/wp-content/themes/funcle/images/contact_active.png');
}


.city-item:nth-of-type(4) .format-title::after {
  background-image: url('/wp-content/themes/funcle/images/work_active.png');
}


.city-item:nth-of-type(7) .format-title::after {
  background-image: url('/wp-content/themes/funcle/images/contact_uncle.png');
}

.city-item:nth-of-type(10) .format-title::after {
  transform-origin: center center;
  transform: translateY(-150%) scale(0.6) rotate(45deg) translateX(75%);
  background-image: url('/wp-content/themes/funcle/images/features_active.png');
}


@media(max-width: 768px) {
  .city-item {
    display: flex;
    flex-direction: column;
  }
}

.city-left {
  max-width: 400px;
  width: 100%;
  padding-right: 1rem;
  padding-top: 45px;
  padding-bottom: 45px;
}

@media(max-width: 768px) {
  .city-left {
    padding-bottom: 2rem;
    padding-right: 0;
  }
}

.char-animation-container {
    position: relative;
}

.char-animation-container::after {
    position: absolute;
    content: ' ';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/funcle/images/cities_active.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.2);
    z-index: -1;
}

.char-animation-container .animated-char {
  display: inline-block;
  z-index: 2;
}

.city-left span.title {
  font-size: 14px;
  font-family: 'pitchsans', sans-serif;
  font-weight: 200;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.city-left .alongside {
  display: flex;
}

.city-left .alongside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1rem;
  text-transform: uppercase;
}

.city-left .areas-list ul {
  list-style: decimal;
  padding-left: 0;
  margin: 1rem 0 0 1.5rem;
}

.city-left .areas-list ul a {
  color: #000;
  text-decoration: none;
}

.city-left .case-studies-list,
.city-left .clients-list {
  margin-top: 1.5rem;
}

.city-left .case-studies-list ul {
  list-style: none;
  text-transform: uppercase;
  padding: 0;
  margin: 1rem 0 0 0;
}

.city-left .clients-list ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.city-left .case-studies-list ul a,
.city-left .clients-list ul a {
  text-decoration: none;
  color: #000;
}

.city-left p {
  font-family: 'pitchsans', sans-serif;
  font-size: 14px;
  line-height: 17px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.city-left p a {
  color: #000;
  padding-right: 16px;
  background-image: url('/wp-content/themes/funcle/images/open_in_new_window.svg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 12px;
  display: inline-block;
  text-transform: uppercase;
}

.city-left p a .char-animation-container {
    border-bottom: 1px solid #000;
    line-height: 1em;
}

.city-right {
  width: 100%;
}

.city-right .city-image img {
  width: 100%;
}

.city-image-mobile {
  display: none;
}

@media(max-width: 768px) {
    .city-right .city-image {
      display: none;
    }
    .city-right .city-image-mobile {
      display: block;
    }
    .city-right .city-image-mobile img {
      width: 100%;
      transform: scale(1.1);
    }
}

.homepage-images {
  min-height: calc(100vh - 350px);
  position: relative;
  width: 100%;
  height: 100%;
}

/* Mobile styles */
@media (max-width: 767px) {
  .homepage-images {
      display: flex;
      min-height: 80dvh;
      flex-direction: column;
      justify-content: center;
  }
  .homepage-images figure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    width: 65%;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}


/* Desktop styles */
@media (min-width: 768px) {
  .homepage-images {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .homepage-images figure {
    width: auto;
    max-width: 100%;
    margin: 0;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

.clients-cities-list {
    display: flex;
    gap: 2rem;
}

@media(max-width: 768px) {
    .clients-cities-list {
        width: 100%;
        justify-content: space-between;
        display: flex;
        flex-direction: row;
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

.homepage-images img {
  width: 100%;
  height: auto;
}

.content {
  margin: 0 auto;
  max-width: calc(100vw - 100px);
}

@media(max-width: 768px) {
    header {
        max-width: calc(100vw - 40px);
    }
    .dots, .dots-white {
        max-width: calc(100vw - 40px);
    }
    .content {
        max-width: calc(100vw - 40px);
    }
}

body.page-id-340 #header-fixed {
  top: 0;
}

/* Page H1 - visually matches span.title but is semantic for SEO */
h1.page-h1 {
  font-family: "Pitch Sans", -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px !important;
  font-weight: normal !important;
  line-height: 17px !important;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  border-bottom: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: inline;
}

/* Contact Page */
#contact-index {
  width: 100%;
  margin: 0 auto;
}

#contact-index .row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

#contact-index .row-2 {
  font-weight: bold;
}

#contact-index .row-2-outer .row-2 span {
  border-bottom: 1px solid #000;
  text-transform: uppercase;
}

#contact-index .row-3-outer span {
  border-bottom: none;
  text-transform: none;
}

#contact-index .col1 {
  width: 25%;
  text-transform: uppercase;
  padding-right: 15px;
  padding-top: 1rem;
  font-weight: 400;
}

#contact-index .col2 {
  width: 20%;
  padding-top: 1rem;
  padding-right: 15px;
}

#contact-index .col3 {
  padding-top: 1rem;
  width: 55%;
  font-weight: 400;
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  line-height: 21px;
}

.contact-sidebar p {
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  line-height: 21px;
  margin: 0;
  border-bottom: none;
}

.contact-sidebar a {
  color: #000;
  text-decoration: none;
  border-bottom: none;
}

.contact-sidebar a:hover {
  opacity: 0.5;
}

.contact-intro {
  font-family: pitchsans, sans-serif;
  font-size: 14px;
  line-height: 21px;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-family: pitchsans, sans-serif;
  font-size: 13px;
  line-height: 21px;
  color: #000;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
}

.form-field select {
  color: #999;
  cursor: pointer;
}

.form-field select:valid,
.form-field select option:not(:first-child) {
  color: #000;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '\2193';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #000;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #000;
}

.form-field-full {
  margin-top: 1rem;
}

.form-field-full textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-family: pitchsans, sans-serif;
  font-size: 13px;
  line-height: 21px;
  color: #000;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  min-height: 150px;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-field-full textarea::placeholder {
  color: #999;
}

.form-field-full textarea:focus {
  border-color: #000;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: pitchsans, sans-serif;
  font-size: 13px;
  line-height: 21px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #000;
}

.checkbox-label a {
  color: #000;
  text-decoration: underline;
}

.checkbox-label span {
  border-bottom: none;
}

.mandatory-note {
  font-family: pitchsans, sans-serif;
  font-size: 13px;
  color: #999;
  border-bottom: none;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-family: pitchsans, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit button:hover {
  opacity: 0.8;
}

.form-submit button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#form-messages {
  margin-top: 1rem;
  font-family: pitchsans, sans-serif;
  font-size: 13px;
}

.form-success {
  color: #2e7d32;
}

.form-error {
  color: #c62828;
}

.field-error {
  border-color: #c62828 !important;
}

.field-error select {
  border-color: #c62828 !important;
}

@media (max-width: 768px) {
  #contact-index .col1,
  #contact-index .col2,
  #contact-index .col3 {
    width: 100%;
    padding-right: 0;
  }

  #contact-index .row {
    display: block;
  }

  #contact-index .col2 {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/*
Work Post
*/


#post_content a {
  color: #262628;
  opacity: 0.75;
}

#post_content.new {
  position: relative;
  width: 100%;
}

@media(max-width: 768px) {
  #post_content.new {
    top: 80px;
  }
  #post_content.new #post_content_container .content-text,
  #post_content.new #post_content_container .content {
    padding-bottom: 0;
  }
  #post_content.new #post_content_container .content-column {
    margin-bottom: 1rem;
  }
  #post_content.new nav {
    display: none;
  }
}

#post_content.new .post_content_details {
  width: calc(33% - 55px);
  float: right;
  margin-right: 40px;
}

#post_content .wp-block-gallery-text .gallery-grid {
  position: sticky;
  top: 100px;
}

#post_content .wp-block-gallery-text .content-column {
  top: 160px;
}

body.post-features #post_content figure.wp-block-image {
  display: none;
}

body.post-work #post_content figure.wp-block-image {
  display: none;
}

#post_content.old #post_intro_inner .post_intro_1 .title {
    display: none;
}

#post_content.old #post_intro_inner .post_intro_1 .date {
    display: block;
    margin-bottom: 1rem;
}

#post_content.old #post_intro .dots {
    display: none;
}

#post_content.old #post_intro_inner .post_intro_1 a {
    display: none;
}

@media(max-width: 768px) {
  #post_content.old #post_intro_inner .post_intro_1 a {
    display: block;
  }
}

#post_content.old #post_intro_inner .post_intro_3 {
    display: none;
}

#post_content.new #post_content_container {
  min-height: calc(100vh - 210px);
}

#post_content.old #post_content_container p {
    margin-left: 0;
}

@media(max-width:768px) {
    #post_content.old {
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }
}

body.post-features #header-fixed {
  background-color: #fff;
}

#post_content.new #post_intro {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: sticky;
  top: 54px;
  padding-top: 6px;
  z-index: 2;
  background-color: #fff;
}

@media(max-width: 768px) {
  #post_content.new #post_intro {
      top: 34px;
  }
}

body.post-work #post_content.new #post_intro {
  background-color: #fff;
}

body.post-features #post_content.new #post_intro {
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
  background-color: transparent;
}

@media(max-width: 768px) {
  body.post-features #post_content.new #post_intro {
    display: block;
  }
}

#post_intro .dots {
  padding-bottom: 0.75rem;
}

.qa-item {
    margin-bottom: 1rem;
}

@media(max-width: 768px) {
  .qa-item:last-of-type {
    margin-bottom: 0;
  }
}

#post_content_container .content-text {
  display: flex;
  flex-direction: column;
}

#post_intro_inner {
  display: flex;
  max-width: calc(100vw - 72px);
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
}

@media(max-width: 768px) {
  #post_intro_inner {
    padding-top: 4px;
    max-width: calc(100vw - 40px);
  }
}

body.post-work #header-fixed {
  background-color: #fff;
}

.post_intro_1 {
  display: flex;
  min-width: 240px;
  justify-content: space-between;
}

@media(max-width: 768px) {
  .post_intro_1 {
    min-width: 140px;
  }
}

.post_intro_1, .post_intro_2 {
  text-transform: uppercase;
}

body.post-features span.date {
  margin-left: 18px;
}

.post_content_details {
  width: 100% !important;
}

@media(max-width: 768px) {
  body.post-features #post_intro {
  }
  .post_content_details {
    max-width: calc(100vw - 40px);
    margin-left: auto;
    margin-right: auto;
  }
}

body.post-features .content .question {
  font-family: 'circular std medium', sans-serif;
  color: #333;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: block;
}

body.post-features .content .qa-item strong {
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 15px;
  font-family: 'circular std medium', sans-serif;
}

span.question + span.answer {
  color: #555;
  display: block;
  margin-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

body.post-features span.extra-answer {
  margin-left: 1rem;
  display: block;
}

.post_content_details h1 {
  margin-left: 0 !important;
}

.post_content_details h3 {
  margin-bottom: 0 !important;
  margin-left: 0 !important;
}

.post_content_details h3 span {
  text-decoration: underline;
}

.post_intro_3 {
  width: calc(33% - 30px);
  text-align: left;
}

@media(max-width: 768px) {
  .post_intro_1 a {
    margin-right: 1rem;
  }
  .post_intro_3 {
    display: none;
  }
}

.post_intro_3 a {
  text-decoration: none;
}

#post_content {
  position: relative;
  z-index: 40;
  width: 100%;
  top: 180px;
  right: 0px;
}

#post_close {
  position: absolute;
  top: 170px;
  right: 10px;
  width: 137px;
  z-index: 50;
  cursor: pointer;
  z-index: 1;
}

@media(max-width: 768px) {
  #post_close {
    display: none;
    top: 40px;
    width: 100px;
  }
}

#post_content time {
  display: block;
  position: relative;
  font-family: "PitchSans", sans-serif;
  font-size: 13px;
  color: #262628;
  letter-spacing: 0px;
  margin-bottom: 10px;
  margin-right: 40px;
  width: 80%;
  margin-left: 20px;
}

#post_content h1 {
  position: relative;
  font-family: "Circular Std Medium", sans-serif;
  font-size: 30px;
  color: #262628;
  line-height: 130%;
  text-decoration: none;
  margin-right: 40px;
  width: 80%;
  margin-left: 20px;
  margin-bottom: 40px;
}

#post_content h3 {
  display: block;
  position: relative;
  font-family: "PitchSans", sans-serif;
  font-size: 13px;
  color: #262628;
  letter-spacing: 0px;
  margin-bottom: 15px;
  margin-right: 40px;
  width: 80%;
  margin-left: 20px;
  text-transform: uppercase;
}

#post_content p {
  position: relative;
  font-family: "Circular Std Book", sans-serif;
  font-size: 16px;
  color: #262628;
  line-height: 130%;
  text-decoration: none;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* #post_content figure {
	display: none !important;
} */

#post_image {
  position: relative;
  width: 100%;
  left: 0px;
  top: 130px;
  z-index: 100;
}

#post_image ul {
  width: 100%;
}

#post_image img {
  width: 100% !important;
  height: auto !important;
}

#post_content nav {
  position: relative;
  margin-left: 20px;
  margin-top: 80px;
}

@media(max-width: 768px) {
  #post_content nav {
    margin-top: 0;
  }
}

#post_content.old nav {
    margin-left: 0;
    margin-top: 1rem;
    margin-right: 40px;
}

#post_content nav a {
  display: block;
  font-family: "PitchSans", sans-serif;
  font-size: 13px;
  color: #262628;
  letter-spacing: 0px;
  margin-bottom: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

#post_content nav a:hover {
  opacity: 0.6;
}

#post_content nav div.dotted_line {
  position: relative;
  margin-left: 0px;
  margin-right: 20px;
  top: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: "PitchSans", sans-serif;
  font-size: 7px;
  color: #262628;
  overflow: hidden;
  white-space: nowrap;
  z-index: 20;
  display: block;
}

#post_content nav h6 {
  display: block;
  font-family: "PitchSans", sans-serif;
  font-size: 13px;
  color: #262628;
  letter-spacing: 0px;
  margin-bottom: 10px;
  text-decoration: none;
  text-transform: uppercase;
  margin-right: 40px;
}

a.post_nav {
  float: left;
  margin-right: 30px;
  margin-bottom: 80px !important;
}

div.next-post-nav {
  display: flex;
  padding-top: 1rem;
  text-transform: uppercase;
}

div.next-post-nav a {
  text-decoration: none;
}

#related-content {
    margin-top: 100px;
}

body.new #related-content, body.post-features #related-content {
  margin-top: 220px;
}

@media(max-width: 768px) {
  .next-post-nav-outer {
    margin-top: 1rem;
  }
  .next-post-nav-outer .dots {
    margin-left: 0;
  }
  #related-content {
    margin-top: 0;
    padding-top: 200px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .related-post-row {
    gap: 1rem;
  }
  .related-post-left {
    gap: 1rem;
  }
}


#related-content .view-more-link {
  margin-top: 2rem;
}

#related-content h2::after {
  content: ' ';
  width: 380px;
  height: 200px;
  position: absolute;
  display: inline-block;
  background-size: contain;
  background-position: center top;
  transform: translate(-310px, -60px);
  background-image: url('/wp-content/themes/funcle/images/related_content_scribble.png');
  background-repeat: no-repeat;
}

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

  #post_content time,
  #post_content h3,
  #post_content nav h6,
  #post_content nav a {
    font-size: 14px;
    letter-spacing: 0.1px;
  }

  #post_image {
    /* position: fixed; */
    position: sticky;
    width: 60%;
    left: 0px;
    top: 160px;
    z-index: 1;
  }

  #post_close {
    position: fixed;
    top: 50px;
    left: 57vw;
    right: 0px;
    max-width: 150px;
    z-index: 50;
  }

  #post_content {
    position: absolute;
    z-index: 40;
    width: 30%;
    top: 160px;
    right: 0px;
  }

  #post_content p {
    margin-left: 20px;
    margin-right: 40px;
    width: 80%;
  }

  #post_content nav div.dotted_line {
    margin-right: 40px;
  }

}

.slick-loading .slick-list {
  background: #fff url('./ajax-loader.gif') center center no-repeat;
}


/* Slider */
.slick-slider {
  position: relative;

  display: block;
  box-sizing: border-box;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;

  display: block;
  overflow: hidden;

  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;

  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  display: table;

  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;

  height: auto;

  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}


/* Icons */
@font-face {
  font-family: 'slick';
  font-weight: normal;
  font-style: normal;

  src: url('./fonts/slick.eot');
  src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
}

/* Arrows */
.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;

  position: absolute;
  top: 50%;

  display: block;

  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);

  cursor: pointer;

  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
  opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: .25;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'slick';
  font-size: 20px;
  line-height: 1;

  opacity: .75;
  color: white;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
  left: -25px;
}

[dir='rtl'] .slick-prev {
  right: -25px;
  left: auto;
}

.slick-prev:before {
  content: '←';
}

[dir='rtl'] .slick-prev:before {
  content: '→';
}

.slick-next {
  right: -25px;
}

[dir='rtl'] .slick-next {
  right: auto;
  left: -25px;
}

.slick-next:before {
  content: '→';
}

[dir='rtl'] .slick-next:before {
  content: '←';
}

/* Dots */
.slick-dotted.slick-slider {
  margin-bottom: 30px;
}

.slick-dots {
  position: absolute;
  bottom: -25px;

  display: block;

  width: 100%;
  padding: 0;
  margin: 0;

  list-style: none;

  text-align: center;
}

.slick-dots li {
  position: relative;

  display: inline-block;

  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;

  cursor: pointer;
}

.slick-dots li 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;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  font-family: 'slick';
  font-size: 6px;
  line-height: 20px;

  position: absolute;
  top: 0;
  left: 0;

  width: 20px;
  height: 20px;

  content: '•';
  text-align: center;

  opacity: .25;
  color: black;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: .75;
  color: black;
}

.slick-arrow {
  display: none !important;
}

.ss-1a,
.ss-1b,
.ss-2a,
.ss-2b,
.ss-3a,
.ss-3b,
.ss-4a,
.ss-4b {
  transition: 200ms ease-in-out opacity;
}

.ss-1a,
.ss-1b {
  position: fixed;
  top: 55px;
  left: 70%;
  right: auto;
  width: 400px;
  max-width: 75%;
  height: auto;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}


.ss-1b {
  width: 500px;
  top: -120px;
}

.ss-2a,
.ss-2b {
  position: fixed;
  top: 18%;
  left: 40%;
  right: auto;
  width: 400px;
  height: auto;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}

.ss-2b {
  width: 600px;
  top: 0;
}

.ss-3a,
.ss-3b {
  position: fixed;
  top: 36%;
  left: 30%;
  right: auto;
  width: 530px;
  height: auto;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}

.ss-3b {
  width: 700px;
  top: 25%
}

.ss-4a,
.ss-4b {
  position: fixed;
  top: auto;
  bottom: -15px;
  left: 30%;
  right: auto;
  width: 530px;
  height: auto;
  max-width: 100%;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}

.ss-4b {
  width: 700px;
  bottom: -30px;
}

/**/
/* body.page-id-7234 { */
/*     isolation: isolate; */
/* } */
/**/

#squiggles {
  z-index: 999999;
  position: fixed;
  top: 22px;
  left: 32px;
  right: 0;
}

@media(max-width: 768px) {
    #squiggles {
        display: none;
    }
}

#header-fixed {
  /* Must be transparent */
}

@media(max-width: 768px) {
    #header-fixed {
        background: #fff;
    }
}

body.page-id-6 {
    #header-fixed {
        background: #fff;
    }
}

#header-fixed img {
  isolation: isolate;
  mix-blend-mode: normal !important;
  background-color: #000;
}

@media(max-width: 768px) {
    #header-fixed img {
        isolation: auto;
        mix-blend-mode: normal;
        background-color: transparent;
    }
}

/* Remove any background colors from parent elements between the text and image */
.heading-column,
.menu-nav-container,
#nav {
  background: none;
}

[id$="_active"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

[id$="_active"].active,
[id$="_active"].hover {
  opacity: 1;
}

#post_content.old.artist-quote {
	left: 30px;
	right: 30px;
	width: calc(100% - 60px);
}

#post_content.old.artist-quote #post_intro_inner .post_intro_1 a {
    display: inline;
}

#post_content.old.artist-quote #post_intro_inner .post_intro_3 {
	display: inline;
}

#post_content.old.artist-quote .post_content_details {
	display: none;
}

#post_content.old.artist-quote #post_intro .dots {
	display: block;
}

#post_content.old.artist-quote #post_intro {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: sticky;
    top: 54px;
    padding-top: 6px;
    z-index: 2;
}

#post_content.old.artist-quote #post_intro_inner .post_intro_1 .date {
	margin-bottom: 0;
}

body.post-features #post_content.old.artist-quote #post_intro {
  background-image: url('/wp-content/themes/funcle/images/features_background.jpg');
  background-color: transparent;
}

@media(max-width: 768px) {
	#post_content.old.artist-quote {
		left: 0px;
		width: auto;
	}
	#post_content.old.artist-quote #post_intro {
		top: 38px;
	}
}
