:root {
  --step--2: clamp(0.7035rem, 0.8098rem + -0.0985vw, 0.7901rem);
  --step--1: clamp(0.8889rem, 0.8778rem + 0.0555vw, 0.9377rem);
  --step-0: clamp(1rem, 0.9432rem + 0.2841vw, 1.25rem);
  --step-1: clamp(1.125rem, 1.002rem + 0.6151vw, 1.6663rem);
  --step-2: clamp(1.2656rem, 1.0485rem + 1.0858vw, 2.2211rem);
  --step-3: clamp(1.4238rem, 1.0745rem + 1.7465vw, 2.9607rem);
  --step-4: clamp(1.6018rem, 1.0689rem + 2.6646vw, 3.9467rem);
  --step-5: clamp(1.802rem, 1.0159rem + 3.9305vw, 5.2609rem);
  --step-6: clamp(2.0273rem, 0.8942rem + 5.6653vw, 7.0128rem);

  --space-3xs: clamp(0.25rem, 0.2358rem + 0.071vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4716rem + 0.142vw, 0.625rem);
  --space-xs: clamp(0.75rem, 0.7074rem + 0.2131vw, 0.9375rem);
  --space-s: clamp(1rem, 0.9432rem + 0.2841vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.4148rem + 0.4261vw, 1.875rem);
  --space-l: clamp(2rem, 1.8864rem + 0.5682vw, 2.5rem);
  --space-xl: clamp(3rem, 2.8295rem + 0.8523vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.7727rem + 1.1364vw, 5rem);
  --space-3xl: clamp(6rem, 5.6591rem + 1.7045vw, 7.5rem);
  --space-4xl: clamp(8rem, 7.5455rem + 2.2727vw, 10rem);
  --space-5xl: clamp(10rem, 9.4318rem + 2.8409vw, 12.5rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.25rem, 0.1648rem + 0.4261vw, 0.625rem);
  --space-2xs-xs: clamp(0.5rem, 0.4006rem + 0.4972vw, 0.9375rem);
  --space-xs-s: clamp(0.75rem, 0.6364rem + 0.5682vw, 1.25rem);
  --space-s-m: clamp(1rem, 0.8011rem + 0.9943vw, 1.875rem);
  --space-m-l: clamp(1.5rem, 1.2727rem + 1.1364vw, 2.5rem);
  --space-l-xl: clamp(2rem, 1.6023rem + 1.9886vw, 3.75rem);
  --space-xl-2xl: clamp(3rem, 2.5455rem + 2.2727vw, 5rem);
  --space-2xl-3xl: clamp(4rem, 3.2045rem + 3.9773vw, 7.5rem);
  --space-3xl-4xl: clamp(6rem, 5.0909rem + 4.5455vw, 10rem);
  --space-4xl-5xl: clamp(8rem, 6.9773rem + 5.1136vw, 12.5rem);

  /* Custom pairs */
  --space-s-l: clamp(1rem, 0.6591rem + 1.7045vw, 2.5rem);
  --space-s-xl: clamp(1rem, 0.375rem + 3.125vw, 3.75rem);
  --space-s-2xl: clamp(1rem, 0.0909rem + 4.5455vw, 5rem);
  --space-s-3xl: clamp(1rem, -0.4773rem + 7.3864vw, 7.5rem);
  --space-s-4xl: clamp(1rem, -1.0455rem + 10.2273vw, 10rem);

  --space-0-4xl: clamp(0, -1.0455rem + 10.2273vw, 10rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Rungli";
  src: url("/assets/fonts/Rungli-Regular.eot");
  src: url("/assets/fonts/Rungli-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/Rungli-Regular.woff2") format("woff"),
    url("/assets/fonts/Rungli-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Rungli";
  font-style: italic;
  src: url("/assets/fonts/Rungli-Italic.eot");
  src: url("/assets/fonts/Rungli-Italic.eot?#iefix") format("embedded-opentype"),
    url("/assets/fonts/Rungli-Italic.woff") format("woff"),
    url("/assets/fonts/Rungli-Italic.otf") format("opentype");
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

html {
  min-height: 100svh;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  font-size: var(--step-0);
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

html {
  cursor: url(/assets/images/cursor-arrow.svg) 0 0, auto;
}

* {
  cursor: url(/assets/images/cursor-arrow.svg) 0 0, auto;
}

a:hover,
.project_info:hover,
.project-slideshow-slide a:hover,
.tags,
summary:hover,
.nav-toggle-label,
button:hover,
.project:hover,
.poject_info,
.project,
.project_info:after,
.nav-toggle-label span,
.block-project *,
.block-image:has(a) *,
.project-slideshow-slide {
  cursor: url(/assets/images/cursor-link.svg) 0 0, auto;
}

.nav-toggle-label span:hover {
  cursor: url(/assets/images/cursor-link.svg) 0 0, auto;
  pointer-events: all;
}

.project_info {
  pointer-events: none;
}

a {
  cursor: url("/assets/images/cursor-link.svg") 0 0, auto;
  color: currentColor;
}

a:visited {
  color: currentColor;
  /* text-decoration-color: hotpink; */
}

/* p {
  line-height: 1.3;
} */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  /* border-bottom: 1px solid black; */
}

/* body::before {
  content: "";
  border-right: 1px solid black;
  width: 1rem;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 999999;
}
body::after {
  content: "";
  border-left: 1px solid black;
  width: 1rem;
  height: 100%;
  top: 0;
  right: 0;
  position: fixed;
  z-index: 999999;
} */

.fixed-element-container {
  width: 100%;
  height: 60px;
  overflow: hidden;
  position: relative;
  padding: 0px 1rem;
}

.fixed-element-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: black;
  font-weight: bold;
  position: relative;
  z-index: 10;
  font-family: Rungli;
  justify-content: space-between;
}

.fixed-element-content a {
  text-decoration: none;
  color: black;
  font-weight: normal;
  font-family: Rungli;
  font-size: var(--step-3);
}
/*
@supports (-webkit-text-stroke: 1px black) {
  nav a:active,
  nav a.active,
  nav a:hover,
  .mobile-nav a {
 -webkit-text-fill-color: white;
        -webkit-text-stroke: 1px black;
        -webkit-text-fill-color: white;

    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
      1px 1px 0 #000;
  }
}
  */

.fixed-element-content a {
  transition: transform 0.05s ease;
}

.fixed-element-content a:hover {
  -webkit-mask-image: linear-gradient(
    -75deg,
    #000 30%,
    rgba(0, 0, 0, 0.2) 50%,
    #000 76%
  );
  -webkit-mask-size: 200%;
  animation: shine 1.5s infinite;
  transform: scale(1.01);
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }

  to {
    -webkit-mask-position: -50%;
  }
}

nav a.active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  text-decoration-color: black;
}

.nav-toggle-label {
  display: none;
  font-family: Rungli;
  font-size: var(--step-3);
  transition: 240ms ease transform;
}

.nav-toggle-label input {
  text-indent: -99999px;
}

nav {
  display: flex;
  gap: 2rem;
}
#nav-toggle {
  visibility: hidden;
  width: 0px;
  height: 0px;
}
nav.mobile-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  .fixed-element-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav {
    display: none;
  }
  .nav-toggle-label {
    display: block;
    position: fixed;
    right: 7px;
    z-index: 999999999;
    padding-right: 10px;
    border: 1px solid transparent;
    line-height: 1;
  }

  .nav-toggle-label:hover {
  }
  .nav-toggle-label span:first-child {
  }
  .nav-toggle-label span:last-child {
    display: none;
  }

  nav.mobile-nav {
    display: flex;
    padding-top: 12px;
    flex-direction: column;
    font-size: var(--step-6);
    font-family: Rungli;
    font-weight: 900;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    gap: 0px;
    position: absolute;
  }

  .close-menu {
    position: absolute;
    top: 7px;
    right: 13px;
    font-size: var(--step-3);
  }

  nav.mobile-nav .glass-pane {
    transform: scale(0);
    padding: 40px;
    transform-origin: 95% 2%;
    position: absolute;
    padding-top: 60px;

    text-decoration: none;
    margin-top: -0.4rem;
    margin-right: 0.4rem;
    z-index: 99999;
    margin-left: 1.4rem;
    right: 0;
    display: inline-block;
    border-radius: 20px;
    transition: 240ms ease-in-out transform;
    /* border: 1px solid #ddd;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);

    transition: all 320ms ease-in-out;
    background: linear-gradient(
      to bottom,
      hsl(0deg 0% 100%) 0%,
      transparent 50%
    );
    backdrop-filter: brightness(100%) grayscale(20%) blur(16px);
    mask-image: linear-gradient(to bottom, black 0% 100%); */
    font-weight: normal;
  }
  nav.mobile-nav a {
    position: relative;
    text-decoration: none;
    font-weight: normal;
    display: block;
    text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.9);
  }

  #nav-toggle:checked ~ nav.mobile-nav .glass-pane {
    width: auto;
    height: fit-content;
    transform: scale(1);
  }

  header:has(#nav-toggle:checked) .nav-toggle-label span:first-child {
    display: none;
  }

  header:has(#nav-toggle:checked) .nav-toggle-label span:last-child {
    display: block;
  }

  nav.mobile-nav .glass-pane {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(19px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 32px 21px rgba(255, 255, 255, 0.6);
    overflow: hidden;
    height: fit-content;
  }

  nav.mobile-nav .glass-pane::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent
    );
  }

  nav.mobile-nav .glass-pane::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3)
    );
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Rungli;
  line-height: 100%;
  font-weight: normal;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
  line-height: 1;
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}
h5 {
  font-size: var(--step-0);
}
h6 {
  font-size: var(--step-0);
}

h1 strong {
  font-style: italic;
}
h2 strong {
  font-style: italic;
}
h3 strong {
  font-style: italic;
}
h4 strong {
  font-style: italic;
}
h5 strong {
  font-style: italic;
}
h6 strong {
  font-style: italic;
}

.block {
  line-height: 1.3;
}

.step--2 {
  font-size: var(--step--2);
  line-height: 1.3 !important;
}
.step--1 {
  font-size: var(--step--1);
  line-height: 1.3 !important;
}
.step-0,
h6,
h5 {
  font-size: var(--step-0);
  line-height: 1.3 !important;
}
.step-1,
h4 {
  font-size: var(--step-1);
  line-height: 1.3 !important;
}
.step-2,
h3 {
  font-size: var(--step-2);
  line-height: 1.2 !important;
}
.step-3 {
  font-size: var(--step-3);
  line-height: 1.2 !important;
}
.step-4,
h1 {
  font-size: var(--step-4);
  line-height: 1.1 !important;
}
.step-5 {
  font-size: var(--step-5);
  line-height: 1 !important;
}
.step-6 {
  font-size: var(--step-6);
  line-height: 0.9 !important;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500svh; /* Total height of all sections */
  z-index: 1;
  pointer-events: none;
}

.background-container > div {
  /* transition: background-color 50ms ease-in-out; */
}

.section {
  width: 100%;
  display: flex;
  color: black;
  position: relative;
  padding-top: var(--padding-top, 1rem);
  padding-bottom: var(--padding-bottom, 1rem);
  padding-left: var(--padding-left, 1rem);
  padding-right: var(--padding-right, 1rem);
  justify-content: center;
  background: var(--background-color, "#FFFFFF");
  min-height: var(--section-height, fit-content);
  /* transition: background-color 240ms ease-in-out; */
}

.content {
}

.content {
  width: 100%;
  max-width: var(--content-max-width, 100%);
  gap: var(--column-gap, 1rem);
  display: flex;
  flex-wrap: wrap;
}
/*
@media screen and (max-width: 768px) {
  .content {
    flex-direction: column;
  }
} */

.content + .content {
  margin-top: var(--content-gap, 1rem);
}

.column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Adjust the gap between blocks */
  justify-content: start;
  align-items: flex-start;
  align-content: flex-start;
  flex-grow: 1;
}

.product-images .column {
  width: calc(
    (100% / 12 * var(--span)) -
      (((var(--col-count) - 1) * var(--column-gap, 1rem)) / 2)
  );
}

@media screen and (min-width: 768px) {
  .column {
    /* flex: var(--span); */
    width: calc(
      (100% / 12 * var(--span)) -
        (((var(--col-count) - 1) * var(--column-gap, 1rem)) / 2)
    );
  }
  .block {
    padding: var(--block-inset, 0 0 0 0);
  }
}

/* custom columns settings for smaller screen */
@media screen and (max-width: 1110px) {
  .columns-3-3-3-3 .column {
    width: calc(50% - var(--column-gap, 1rem) * 2);
  }

  .columns-2-2-2-2-2-2 .column {
    width: calc(33.3% - var(--column-gap, 1rem) * 2);
  }
}

@media screen and (max-width: 768px) {
  .columns-2-2-2-2-2-2 .column {
    width: calc(50% - var(--column-gap, 1rem) * 4);
  }
}

@media screen and (max-width: 390px) {
  .section .content .column {
    width: 100% !important;
  }
  .section.columns-2-2-2-2-2-2 .content .column {
    width: calc(50% - var(--column-gap, 1rem) * 4) !important;
  }
}

/* @media screen and (max-width: 1110px) {
  .columns-3-3-3-3 .column {
    flex-basis: calc(50% - var(--column-gap, 1rem));
  }
}

@media screen and (max-width: 768px) {
  .columns-3-3-3-3 .column {
    flex-basis: 100%;
  }
} */

.block {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .flex-grow {
    flex-grow: 1;
  }
}

p.large {
  font-size: 2rem;
}

p.extra-large {
  font-size: 3rem;
}

.button {
  border: 1px solid black;
  border-radius: 999999px;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  color: black;
  display: inline-block;
}

.button:hover {
  background-color: black;
  color: white;
}

main {
  flex-grow: 1;
}

/* Add padding to the first section to account for the fixed header */
main .section:first-child {
  /* padding-top: var(--padding-top, 60px); */
}

figure {
  object-fit: cover;
  line-height: 0;
  margin: 0px;
  padding: 0px;
  line-height: 1;
  background: transparent;
  max-width: 100%;
  /* aspect-ratio: var(--aspect-ratio); */
}

figure figcaption.step-6,
figure figcaption.step-5,
figure figcaption.step-4,
figure figcaption.step-3,
figure figcaption.step-2 {
  font-family: Rungli;
}

figure a {
  text-decoration: none;
}

figure a:hover {
  text-decoration: underline;
}

img {
  aspect-ratio: var(--aspect-ratio);

  width: 100%;
  height: 100%;
  transition: 240ms transform ease-in-out;
  display: block;
  object-fit: cover;
}
.img-wrapper {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.img-wrapper figcaption {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: white;
  padding: 4px 6px 0px 4px;
  border-top-left-radius: 3px;
}

.box-shadow {
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
  border-radius: 3px;
}

.block-project:hover {
  cursor: url(/assets/images/cursor-link.svg) 0 0, auto;
}

.block-project > a {
  text-decoration: none;
  color: black;
  display: block;
}

.block-project .information {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.block-project .title {
  text-decoration: underline;
  font-size: 1.4rem;
}

.block-project:hover img,
.block-image:has(a):hover img {
  transform: scale(1.04);
}
.block-meta-data {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.meta-datum {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.block-meta-data .label {
  text-transform: uppercase;
  font-size: var(--step--2);
}
.block-meta-data .value {
  font-size: var(--step-1);
}

.project {
  font-weight: 300;
  text-decoration: none;
  color: currentColor;
}

.projects_overview {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: dense;
}

.project_info {
  font-family: "Rungli";
  font-size: var(--step-2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-wrap: pretty;
}

.project_info span.project-link {
  text-decoration: underline;
  font-family: "Inter";
  font-size: var(--step--1);
}

.project_info span.project-link:before {
  content: "→";
}

@media screen and (min-width: 1024px) {
  .projects_overview {
    display: block;
    column-count: 2;
  }
}
@media screen and (max-width: 1240px) {
  .section.project:first-child {
  }

  /* .project + .project {
    padding-top: 2rem;
  } */

  .project {
    background-color: var(--background-color);
    /* padding: 1rem; */
    position: relative;
    display: block;
    display: flex;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .project {
    padding: 1rem;
    flex-direction: column;
  }
}

@media screen and (min-width: 1024px) {
  .projects_overview_wrapper {
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* transition: background-color 50ms ease-in-out; */
  }

  .projects_overview {
    /* --projects-vertical-gap: 2rem;
    --projects-horizontal-gap: 1rem;
    width: 51vw;
    display: flex;
    flex-wrap: wrap;
    gap: var(--projects-vertical-gap) var(--projects-horizontal-gap);
    margin-top: 60px;
    padding-left: 1rem;
    align-items: flex-end; */

    grid-template-columns: 1fr 1fr;
    max-width: 53vw;
    /* height: calc(100% - 100px); */
    gap: 1rem;
    padding: 1rem;
  }
  .project :nth-child(2n-1) {
    grid-column: 2 / 3;
  }
  .project:nth-child(2n-1) + .project {
    grid-column: 1 / 2;
  }

  .project {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: static;
    background-color: transparent !important;
    padding-bottom: 0px;
    margin-bottom: 3rem;
    break-inside: avoid;
  }
  .project_info {
    z-index: 1;
  }

  .project_info::after {
    content: "";
    width: 80%;
    height: 80%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: var(--blurry-color, blue);
    border-radius: 100%;
    filter: blur(40px);
    opacity: 0;
    z-index: 1;
    transition: opacity 240ms ease-in-out;
  }

  .project:hover .project_info::after {
    opacity: 1;
  }

  .project_info .tags:before {
    content: "—";
  }

  .project_thumbnail {
    display: none;
    position: absolute;
    left: 55vw;
    top: 60px;
    width: 45vw;
    bottom: 2rem;
    padding-right: 2rem;

    overflow-x: hidden;
  }

  .project:first-child .project_thumbnail {
    display: block;
  }
}

@media screen and (min-width: 1512px) {
  .project {
    width: calc(50% - var(--projects-horizontal-gap));
  }
}

/* Keen-slider basic styles */
.project-slideshow {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.project-slideshow-slides {
  display: flex;
  width: 100%;
  overflow: visible;
  touch-action: pan-y;
  height: 75svh;
}

@media (orientation: portrait) {
  .project-slideshow-slides {
    height: 60svh;
  }
}

.project-slideshow-slide {
  min-width: 0;
  width: 100%; /* Ensure slides take full width */
}

.project-slideshow-slide a {
  height: 100%;
}

/* Make figures inside slides take full width */
.project-slideshow-slide figure {
  width: 100%;
  max-width: 100%;
  height: 100%;
}

/* Make images fill their containers */
.project-slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/* Remove any unnecessary margins */
.project-slideshow .below-slides {
  display: flex;
  margin-top: 1rem;
  width: 100%;
  justify-content: space-between;
}

.below-slides .project-slideshow-title {
  flex: 0 0 auto;
  max-width: 30vw;
  margin-right: 2rem;
}

.below-slides .project-slideshow-links {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  max-width: 1200px;
}
.below-slides .project-slideshow-links a {
  text-decoration: none;
  color: currentColor;
}

.project-slideshow-links .project-slideshow-slide {
  width: calc(33.3% - 2rem);
}

/* Navigation button styles */
.project-slideshow-prev,
.project-slideshow-next {
  position: absolute;
  bottom: 90px;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid currentColor;
  color: currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: none; /* Hidden by default */
}

.project-slideshow-prev {
  right: 60px;
}

.project-slideshow-next {
  right: 10px;
}

/* Active link indicator */
.project-slideshow-links .project-slideshow-slide.active {
}

.project-slideshow-links .project-slideshow-slide.active .title {
  /* text-decoration: underline; */
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Full viewport width for mobile */
  .project-slideshow {
    width: 100vw;
    margin-left: -1rem; /* Compensate for parent padding */
    margin-right: -1rem;
  }

  .project-slideshow-slides {
    width: 100%;
  }

  .project-slideshow-links .project-slideshow-slide {
    display: none;
  }
  .project-slideshow-links .project-slideshow-slide.active {
    display: block;
  }

  .keen-slider__slide {
    width: 100vw !important; /* Force full width */
  }

  .project-slideshow-prev,
  .project-slideshow-next {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Adjust below-slides for mobile */
  .below-slides {
    flex-direction: column-reverse;
    padding: 0 1rem;
  }

  .below-slides .project-slideshow-title {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .below-slides .project-slideshow-links {
    margin-bottom: 1rem;
    margin-right: 100px;
  }

  .below-slides .project-slideshow-links .project-slideshow-slide {
    width: 100%;
    min-height: 50px;
  }
}

/* Desktop fade animation */
@media (min-width: 769px) {
  .project-slideshow-slides.keen-slider {
    display: block;
  }
  .project-slideshow .keen-slider__slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
  }

  .project-slideshow .keen-slider__slide.active {
    opacity: 1;
    pointer-events: auto;
    position: absolute;
  }
}

.project-slideshow-links .project-slideshow-slide {
  position: relative;
}

.project-slideshow-links .project-slideshow-slide a {
  z-index: 99;
  position: relative;
  height: 100%;
}
.project-slideshow-links .project-slideshow-slide::after {
  content: "";
  width: 80%;
  height: 80%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--blurry-color, blue);
  border-radius: 100%;
  filter: blur(40px);
  opacity: 0;
  z-index: 9;
  transition: opacity 240ms ease-in-out;
}

.project-slideshow-slide.active::after {
  opacity: 1;
}

.block-product {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1rem;
}

.product-links {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .product-links {
    flex-direction: row;
  }
}

.product-price {
  font-family: Rungli;
  font-size: var(--step-3);
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-more-info .content {
  padding-top: 1rem;
}

.product-more-info p {
  line-height: 1.3;
}

.block-product .product-images,
.block-product .product-price-links {
  flex-direction: row;
}

/* @media screen and (max-width: 768px) {
  .product-images.first_image_emphasis .column:not(:first-child) {
    display: none;
  }

  .product-images .column:nth-child(3) {
    display: none;
  }
} */
