/* ===== Global Font Face ===== */
@font-face {
  font-family: "NewEdge666 Regular Rounded";
  src: url("../fonts/NewEdge666-RegularRounded.woff2") format("woff2"),
       url("../fonts/NewEdge666-RegularRounded.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.background-text {
  position: fixed;
  z-index: -5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #000;
}


.background-text p,
.background-text a {
  text-align: center;
  font-size: 1rem;
  color: currentColor;
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  margin: 0;
  line-height: 1.2;
}




.archive-index {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: calc(100vw - var(--layout-left-offset) - clamp(1.5rem, 4vw, 3rem));
  gap: clamp(1rem, 3vw, 1rem);
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border: none;
  background: transparent;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: -0.06rem;
  pointer-events: auto;
  color: black;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  padding-inline-start: 0;
  --archive-gap: clamp(0.25rem, 0.8vw, 0.6rem);
  --archive-year-medium-gap: clamp(25rem, 4vw, 3rem);
  --archive-index-width: clamp(36px, 3vw, 52px);
  --archive-title-width: minmax(240px, 32vw);
  --archive-year-width: clamp(200px, 2vw, 68px);
  --archive-medium-width: minmax(30px, 30vw);
  --archive-theme-width: minmax(220px, 35vw);
  --archive-rating-width: 1fr;
}

/* .archive-index__close {
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
 font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;  
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  align-self: flex-end;
  color: currentColor;
} */

.archive-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 1vw, 0.6rem);
  align-items: stretch;
  width: 100%;
}

.archive-index__list li {
  padding-bottom: clamp(0.2rem, 0.8vw, 0.4rem);
  width: 100%;
}

.archive-index__link {
  display: grid;
  grid-template-columns:
    var(--archive-index-width)
    var(--archive-title-width)
    var(--archive-year-width)
    var(--archive-year-medium-gap)
    var(--archive-medium-width)
    var(--archive-theme-width)
    var(--archive-rating-width);
  align-items: baseline;
  column-gap: var(--archive-gap);
  row-gap: 0;
  justify-items: start;
  justify-content: start;
  width: 100%;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}

.archive-index__col {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.archive-index__col--title {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);

  font-weight: 400;
  letter-spacing: -0.02rem;
}

.archive-index__col--year {
  justify-self: start;
}

.archive-index__col--medium {
  justify-self: start;
}

.archive-index__col--theme,
.archive-index__col--rating {
  padding: 0;
}

.archive-index__col--theme {
  text-transform: uppercase;
}

.archive-index__col--rating {
  text-align: right;
  justify-self: end;
  font-feature-settings: "kern" 1;
}

.archive-index__link:hover .archive-index__col--title,
.archive-index__link:focus-visible .archive-index__col--title {
  text-decoration: underline;
}

body.archive-open .background-text {
  z-index: -5;
  pointer-events: auto;
  align-items: flex-start;
  left: calc(var(--layout-left-offset) + var(--layout-left-gutter));
  top: calc(clamp(0.75rem, 2vw, 1.25rem) + 2.5rem);
  transform: none;
  color: black;
  padding: clamp(1rem, 2vw, 2rem) clamp(2rem, 5vw, 3rem)
          clamp(2rem, 6vw, 4rem) 0;
}

body.archive-open .background-text > :not(.archive-index) {
  display: none;
}

body.archive-open .archive-index {
  display: flex;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

body.archive-open .content {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* ===== Base Typography ===== */
body {
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  margin: 0; padding: 0;
}

body.scroll-locked {
  overflow: hidden;
}

/* Allow scrolling in blog cards even when body is scroll-locked */
body.scroll-locked .chaos-card--blog {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Blog resize handle */
.chaos-card--blog {
  position: relative;
}

.blog-resize-handle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  cursor: ns-resize;
  z-index: 1000;
  pointer-events: auto;
  user-select: none;
}

.blog-resize-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 3px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  pointer-events: none;
  transition: background 0.2s ease;
}

.blog-resize-handle:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

body.scroll-locked--chaos {
  height: 100vh;
  overscroll-behavior: none;
}

body.scroll-locked--raster {
  overscroll-behavior: none;
}



/* ===== Linker Balken: schwarzes Sichtfenster mit Lauftext ===== */
.left-bar01{
  position: fixed;
  top: 0; left: 0;
  width: 60px; height: 100vh;
  background: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;  /* Mitte horizontal */
}

/* Lauftext-Wrapper hält die vertikale Animation im Balken */
.bar-marquee{
  position: relative;
  width: 100%; height: 100%;
}

/* Vertikaler Marquee-Track für den Namenslauftext */
.bar-track{
  position: sticky;
  left: 50%;
  transform: translateX(-50%);    
  display: inline-block;

  /* vertikale Laufrichtung */
  writing-mode: vertical-rl;        
  text-orientation: mixed;
  white-space: nowrap;

  color: #f6ff00;
  font: 800 3rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;

 
  /*transform: translateY(0) scaleX(-1);*/

  /* Endlos-Scroll – keine Pause, keine Lücke */
  animation:  bar-scroll 10s linear infinite;
  will-change: transform;
}

/* Animation für den kontinuierlichen Vertikalscroll */
@keyframes bar-scroll{
  0%   { transform: translateY(0) scaleX(1) rotate(180deg); }
  100% { transform: translateY(-50%) scaleX(1) rotate(180deg); }
}

@keyframes mobile-marquee-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes mobile-marquee-y {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}


/* Zweiter Balken: gelbe Fläche als visuelle Begrenzung */
.left-bar02{ position:fixed; top:0; left:60px; width:60px; height:100vh; background:rgb(234,255,0); }

/* ===== Navigation ===== */
nav{
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.25rem);
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 150;
}


.nav-secondary {
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1.2vw, 0.75rem);
  align-items: flex-end;
  z-index: 150;
}

.nav-secondary .ui-item {
  display: inline-flex;
  justify-content: flex-end;
  position: static;
  pointer-events: auto;
  transform: none;
}

.ui-item{
  position: relative;         /* im Grid positioniert */
  top: auto;
  left: auto;

  /* Typo – kann pro Item überschrieben werden */
  color: #000;
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.105rem;
  line-height: 1.05;
  background: transparent;
  user-select: text;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  pointer-events: auto;
}

/* Individuelle Positionierung der Label-Varianten */
.ui-rasterize{
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.25rem);
  left: calc(var(--layout-left-offset) + var(--layout-left-gutter));
  font-weight: 400;
  transform: none;
  z-index: 155;
}

.ui-chaos{
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
  z-index: 155;
}

.ui-inspiration,
.ui-add-project {
  font-weight: 400;
}

.ui-archive {
  position: fixed;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 0;
  font-weight: 400;
  z-index: 155;
  display: inline-flex;
}


.ui-item.active{
  font-weight: 400;
}

.project-card--highlight {
  animation: project-card-highlight 1.2s ease;
}

@keyframes project-card-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 58, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 58, 213, 0);
  }
}

/* ===== Haupt-Contentbereich rechts neben den Balken ===== */
.content{
  margin-left: var(--layout-left-offset);
  padding: 20px var(--layout-right-gutter) 20px var(--layout-left-gutter);
}

/* CTA-Button innerhalb Chaos-Seite */
.btn-inspiration{
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 12px 18px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font: 600 1rem/1 "NewEdge666 Regular Rounded", Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-inspiration:hover{
  background: #000;
  color: #f6ff00;
}

/* ===== Floating Audio Player ===== */
.nowplaying{
  position: fixed;
  left: calc(var(--layout-left-offset) + var(--layout-left-gutter) + 2px);
  right: calc(var(--layout-right-gutter) + 2px);
  bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  background: transparent;
  color: #000;
  z-index: 140;
  font-family: "NewEdge666 Regular Rounded", Arial, Helvetica, sans-serif;
  /* font-size: clamp(1.05rem, 1.6vw, 1.35rem); */
font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.08rem;
  text-transform: uppercase;
  line-height: 1;
  flex-wrap: nowrap;
}

.nowplaying[hidden] {
  display: none !important;
}

/* Spielerpräfix: kleine Info zur laufenden Spur */
.nowplaying__label{
  opacity: 0.9;
}

/* Textausgabe der aktuellen Track-Bezeichnung */
.nowplaying__title{
  white-space: nowrap;
  max-width: min(42vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Player-Buttons im Labelstil */
.nowplaying__btn{
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nowplaying__btn::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 75%;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.2s ease;
}

.nowplaying__btn:hover::after,
.nowplaying__btn:focus-visible::after{
  transform: translateX(-50%) scaleX(1);
}

.nowplaying__btn:focus-visible{
  outline: none;
}
/* Audio-Player enger setzen auf mittleren Breakpoints */
/* @media (max-width: 960px){
  .nowplaying{
    left: calc(80px + clamp(0.5rem, 2vw, 1.25rem));
    right: clamp(0.75rem, 5vw, 2.5rem);
    font-size: clamp(1rem, 2vw, 1.2rem);
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .nowplaying__label{
    display: none;
  }
  .nowplaying__title{
    white-space: normal;
  }
  .nowplaying__title::before{
    content: '[ ';
    margin-right: 4px;
  }
}

/* Audio-Player innerhalb des Contentflusses auf kleinen Screens */
@media (max-width: 720px){
  .nowplaying{
    position: fixed;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 24px 0 0;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
  }
  .nowplaying__label{
    display: none;
  }
  .nowplaying__title{
    flex: 1 1 auto;
  }
  .nowplaying__title::before{
    content: '[ ';
    margin-right: 4px;
  }
} */

/* ===== Raster-Sektion: Mehrspaltiges Projektgitter ===== */
.projects{
  padding-top: clamp(0.5rem, 2vh, 1rem);
}

/* Rastertitel nutzt responsive Clamp für flexible Größe */
.projects h1{
  margin: 0 0 16px 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}


/* CSS-Variablen legen Breite/Höhe einer Rasterkachel fest */
:root{
  --layout-left-offset: 120px;
  --layout-left-gutter: clamp(0.75rem, 2vw, 1.5rem);
  --layout-right-gutter: clamp(1.5rem, 4vw, 3rem);
  --chaos-frame-left: calc(var(--layout-left-offset) + var(--layout-left-gutter) + 2px);
  --chaos-frame-right: calc(var(--layout-right-gutter) + 2px);
  --chaos-frame-top: calc(clamp(0.75rem, 2vw, 1.25rem) + 2px);
  --chaos-frame-bottom: 2px;
  --unit-width: 16vw;
  --unit-height: 22.1875vw;
  --unit-gap-x: 8vw;
  --unit-gap-y: 8vw;
}

/* Overlay offen: Body-Scroll deaktivieren */
body.overlay-open{
  overflow: hidden;
}

/* Grid mit exakt vier Kacheln in der Breite, ausgerichtet auf die Maße */
.projects-grid{
  position: relative;
  display: grid;
  columns: 4;
  grid-template-columns: repeat(4, var(--unit-width));
  column-gap: var(--unit-gap-x);
  row-gap: clamp(1rem, 4vh, 2rem);
  width: calc(4 * var(--unit-width) + 3 * var(--unit-gap-x));
  justify-content: center;
  align-items: start;
  margin: 1.75rem auto  1.75rem auto;
}

/* ===== Projektkarte: Vorschaubild mit Titelbeschriftung ===== */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: var(--unit-width);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease;
  position: relative;
}

.projects:not(.chaos) .project-card {
  translate: 0 !important;
}

  /* Leichter Lift beim Hover für visuelles Feedback */
  .project-card:hover{ transform: translateY(-4px) !important; }

  /* Jump effect for buttons */
  button, .btn, input[type="button"], input[type="submit"], .btn-inspiration, .nowplaying__btn, .swiper-button-prev, .swiper-button-next, .blog-close-btn, .close {
    transition: transform 0.2s ease !important;
  }

  button:hover, .btn:hover, input[type="button"]:hover, input[type="submit"]:hover, .btn-inspiration:hover, .nowplaying__btn:hover, .blog-close-btn:hover, .close:hover {
    transform: translateY(-4px) !important;
  }

  /* Specific hover effects for toggle buttons */
  .ui-rasterize, .ui-chaos, .ui-inspiration, .ui-add-project, .ui-archive {
    transition: transform 0.2s ease !important;
    display: inline-block;
  }

  .ui-rasterize:hover {
    transform: translateY(-4px) !important;
  }

  .ui-chaos:hover {
    transform: translateX(-50%) translateY(-4px) !important;
  }

  .ui-inspiration:hover, .ui-add-project:hover, .ui-archive:hover {
    transform: translateY(-4px) !important;
  }

  /* Override nav-secondary transform for hover effects */
  .nav-secondary .ui-item:hover {
    transform: translateY(-4px) !important;
  }

  /* Even more specific rules for each button */
  .ui-item.ui-inspiration:hover {
    transform: translateY(-4px) !important;
  }

  .ui-item.ui-add-project:hover {
    transform: translateY(-4px) !important;
  }

  .ui-item.ui-archive:hover {
    transform: translateY(-4px) !important;
  }

  /* Jump effect for blog card */
  .chaos-card--blog:hover {
    transform: translateY(-4px) !important;
  }

  /* Jump effect for generated project cards */
  .project-card--generated {
    transition: transform 0.2s ease !important;
  }

  .project-card--generated:hover {
    transform: translateY(-4px) !important;
  }

  /* Jump effect for all chaos cards */
  .chaos-card {
    transition: transform 0.2s ease !important;
  }

  .chaos-card:hover {
    transform: translateY(-4px) !important;
  }


/* Fokusrahmen für Tastaturnavigation */
.project-card:focus-visible{
  outline: 2px solid #000;
  outline-offset: 6px;
}

.project-card::after{
  content: attr(data-title);
  font-size: 1.1rem;
  letter-spacing: -0.08rem;
  text-transform: uppercase;
  text-align: center;
}

.project-card--contact::after{
  content: '';
}

.projects .chaos-card {
  display: none;
}

.project-link {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Vorschaubild mit Rahmen in fester Höhe */
.project-thumb {
  display: block;
  width: 100%;
  height: var(--unit-height);
  object-fit: var(--project-thumb-object-fit, cover);
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.project-thumb-wrapper {
  width: 100%;
  height: var(--unit-height);
  overflow: hidden;
}

.project-thumb--generated {
  object-fit: var(--project-thumb-object-fit, cover);
  background: transparent;
}

.projects.chaos .project-card {
  width: var(--chaos-card-width, var(--unit-width));
  --project-thumb-object-fit: var(--chaos-card-object-fit, cover);
}

.projects.chaos .project-card .project-thumb-wrapper,
.projects.chaos .project-card .project-thumb {
  height: var(--chaos-card-height, var(--unit-height));
}

.projects.chaos .project-card--generated {
  width: var(
    --chaos-card-width,
    calc(var(--unit-width) * var(--generated-width-scale, 1))
  );
  /* Ensure generated projects have same text layout behavior as regular projects */
  position: relative;
}

.projects.chaos .project-card--generated .project-thumb-wrapper,
.projects.chaos .project-card--generated .project-thumb {
  height: var(
    --chaos-card-height,
    calc(var(--unit-height) * var(--generated-height-scale, 1))
  );
}

.project-thumb--fallback {
  object-fit: contain;
  background: #fff;
  /* Add subtle checkerboard so transparency is visible */
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

/* Altes Card-Body-Layout deaktiviert, Titel übernimmt ::after */
.project-body{
  display: none;
}

/* ===== Projekt-Overlay ===== */
/* Overlay beginnt rechts neben den Balken (120px) */
/* .project-overlay{
  position: fixed;
  top: 0;
  left: 120px;
  right: 0;
  bottom: 0;
  background: rgba(234, 255, 0, 0.78);
  backdrop-filter: blur(80px);  
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 220;
  padding: 48px;
} */







/* ---------- STILE VON UNTERSEITEN (OVERLAYS) ---------*/

iframe {
  border: none;
left: calc(var(--layout-left-offset) - 40px);
  width: calc(100% - var(--layout-left-offset) + 40px);  height: 100%;
  position: fixed;
  top: 0;
  z-index: 260; /* über .ui-item (100) und .nowplaying (140) */
  display: none;
  background-color: rgba(234, 255, 0, 0.78);
  backdrop-filter: blur(20px);
}

iframe.display {
  display: block;
  background-color: rgba(234, 255, 0, 0.78);

}

.project-overlay__outer {
  width: 100%;
  
  max-width: 1000px;
  margin: 0 auto;
}



/* ---------- TEXT ---------*/

/* Flexbox Layout für Textbereich */
.project-overlay__details {
  display: flex;
  gap: 2rem;
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .project-overlay__details {
    flex-direction: column;
  
  }
  .project-overlay__meta {
    margin-left:0.5rem!important;

  }
  
}

/* Titel und Beschreibung Box (flexible Breite) */
.project-overlay__content {
  flex: 1;

  display: flex;
  flex-direction: column;
  padding: 0 0.25rem ;
  gap: 1rem;
}

/* Meta Box (21.66662rem = 43.33324rem total width) */
.project-overlay__meta-box {
  width: 21.66662rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-overlay__meta{
  font-size: 0.9rem;
  letter-spacing: -0.04rem;
  text-transform: uppercase;
  text-align: left;
  width: 10.83331rem;
  margin-left: auto;
}

.project-overlay__description{
  font-size: 1rem;
  letter-spacing: -0.03rem;
  margin: 0;
}

.project-overlay__description p{
  margin: 0 0 0.5rem 0;
}

.project-overlay__description p:last-child{
  margin-bottom: 0;
}

.project-overlay__description strong{
  font-weight: 700;
}

.project-overlay__title{
  font-size: 1.4rem;
  letter-spacing: -0.1rem;
  text-transform: uppercase;
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 0;
}

/*-- CLOSE BUTTON --*/

.project-overlay__close{
  appearance: none;
  border: none;
  background: transparent;
  font: 1.5rem "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.105rem;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.close {
  background-color:transparent;
  font: 1.5rem "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.105rem;
  text-transform: uppercase;
  position: fixed;
  right: 20px;
  top: 20px;
  padding: 20px;
  z-index: 300;
  display: none;
  cursor: pointer;
}

.close.display {
  display: block;
}


/*------ SLIDESHOW --------*/
.swiper {
  height: 750px;
  position: relative;
}

.swiper-slide {
  height: 100%;
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.swiper-slide img, .swiper-slide video {
  height: 100%;
  width: 100%;
  object-fit: contain;
  margin: 1 auto;
}

.swiper-button-prev {
  display: none !important;
  pointer-events: none !important;
}

.swiper-button-next {
    background-image: url(../img//arrow01.svg);
    width: 90px !important;
    height: 300px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    cursor: pointer;
    border-radius: 50%;
    right: 40px !important;
    left: auto !important;
    position: fixed !important;
    z-index: 1000 !important;
}

.swiper-button-next::after {
 font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    display: none;
}

/* .swiper-button-next:hover,
.swiper-button-next:focus-visible {
  transform: translateY(-50%) scale(1.08) !important;
} */


/*----------------- PROJECT OVERVIEW ----------------*/

/* ============================================= Chaos Mode CSS ============================================= */
.chaos .projects-grid {
  position: fixed;
  display: block;
  left: var(--chaos-frame-left);
  right: var(--chaos-frame-right);
  top: var(--chaos-frame-top);
  bottom: var(--chaos-frame-bottom);
  overflow: hidden;
}


.chaos .projects-grid .project-card {
  position: absolute;
  margin: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.chaos .projects-grid .project-card:active {
  cursor: grabbing;
}

.projects.chaos .chaos-card {
  position: absolute;
  margin: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.projects.chaos .chaos-card:active {
  cursor: grabbing;
}

.chaos .projects-grid .project-card::after {
  display: none;
}

/* Simple Chaos Card Styling */
.projects.chaos .chaos-card {
  display: block;
}

.chaos-card {
  background-color: #f6ff00;
  border: 4px solid #000;
  padding: 0.5rem;
  /* Use CSS custom props to let each card override its size */
  width: var(--chaos-card-width, 400px);
  height: var(--chaos-card-height, 300px);
  overflow-y: auto;
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.chaos-card p {
  margin: 0 0 1rem 0;
}

.chaos-card p:last-child {
  margin-bottom: 0;
}

/* About Me */
.chaos-card--about {
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  --chaos-card-height: 270px; 
  height: var(--chaos-card-height);
  /* Erbt hier alles vom Aussehen von .chaos-card */
}

/* Blog Card  */
.chaos-card--blog {
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  --chaos-card-width: 250px;
  --chaos-card-height: 300px;
  height: var(--chaos-card-height);
  /* Erbt hier alles vom Aussehen von .chaos-card */
}

/* ===== Responsive Anpassungen für Raster ===== */
@media (max-width: 1280px){
  .projects-grid{
    --unit-gap-x: 6vw;
    --unit-gap-y: 6vw;
    width: calc(4 * var(--unit-width) + 3 * var(--unit-gap-x));
  }
}

@media (max-width: 1024px){

  .projects-grid{
    grid-template-columns: repeat(2, calc(var(--unit-width) * 2));
    --unit-gap-x: 4vw;
    --unit-gap-y: 4vw;
    width: calc(4 * var(--unit-width) + 1 * var(--unit-gap-x));
  }

  .project-card {
    width: calc(var(--unit-width) * 2);
  }

  .project-thumb {
    height: calc(var(--unit-height) * 2);
  }
}

@media (max-width: 600px){
  .projects-grid{
    grid-template-columns: repeat(1, calc(var(--unit-width) * 4.5));
    --unit-gap-x: 2vw;
    --unit-gap-y: 2vw;
    width: calc(var(--unit-width) * 4.5);
  }

  .project-card {
    width: calc(var(--unit-width) * 4.5);
  }

  .project-thumb {
    height: calc(var(--unit-height) * 4.5);
  }
} 

/* ===== Responsive: Left Bars ===== */
@media (max-width: 768px) {
  :root {
    --layout-left-offset: 80px;
    --layout-left-gutter: clamp(0.5rem, 2vw, 1rem);
    --layout-right-gutter: clamp(1rem, 5vw, 2.5rem);
  }
  .left-bar01 {
    width: 40px;
  }
  .left-bar02 {
    left: 40px;
    width: 40px;
  }
  .content {
    padding: 20px var(--layout-right-gutter) 20px var(--layout-left-gutter);
  }
  nav {
    left: 0;
    width: 100%;
  }
  .ui-rasterize {
    left: calc(var(--layout-left-offset) + var(--layout-left-gutter));
  }
}

@media (max-width: 600px) {
  :root {
    --layout-left-offset: 0px;
    --layout-left-gutter: clamp(0.75rem, 4vw, 1.25rem);
    --layout-right-gutter: clamp(0.75rem, 4vw, 1.25rem);
  }
  .left-bar01 {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    background: transparent;
    pointer-events: none;
    z-index: 90;
    --bar-loop: '* EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  * EMIL HORROLT  ';
  }
  .left-bar01 .bar-marquee {
    display: none;
  }
  .left-bar01::before,
  .left-bar01::after {
    content: var(--bar-loop);
    position: fixed;
    left: 0;
    width: 200vw;
    height: 42px;
    line-height: 42px;
    font: 800 1.4rem/42px Arial, Helvetica, sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: mobile-marquee-x 14s linear infinite;
    pointer-events: none;
  }
  .left-bar01::before {
    top: 0;
    background: #000;
    color: #f6ff00;
  }
  .left-bar01::after {
    bottom: 0;
    background: rgb(234,255,0);
    color: #000;
    animation-direction: reverse;
  }
  .left-bar02 {
    display: none;
  }
  .content {
    padding: 0px;
  }
  .nowplaying {
    display: none;
  }
  nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 16px;
    top: 0;
    left: 0;
    right: auto;
    width: 100%;
    margin-top: 56px;
    position: relative;
    z-index: 200;
    pointer-events: auto;
  }
  .ui-rasterize,
  .ui-chaos {
    position: static;
    transform: none;
  }
  .ui-item {
    font-size: clamp(1rem, 5vw, 1.3rem);
  }
  .ui-chaos,
  .ui-inspiration {
    display: none;
  }
  .ui-archive {
    position: static;
    display: flex;
    margin: 16px auto 24px;
  }
  .nav-secondary {
    position: static;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    pointer-events: auto;
  }
  .nav-secondary .ui-item {
    justify-content: center;
  }
  iframe {
    left: 0;
    width: 100%;
  }
  .nowplaying {
    margin: 32px 16px 0;
    width: calc(100% - 32px);
  }
}

/* ===== BLOG TERMINAL STYLING (DELETE THIS ENTIRE SECTION TO UNDO) ===== */

/* ===== BLOG TERMINAL STYLING (DELETE THIS ENTIRE SECTION TO UNDO) ===== */
.blog-header {
  text-align: center;
  /* margin-bottom: 1rem; */
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.blog-content {
  display: flex;
  flex-direction: column;
  /* gap: 0.2rem; */
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-size: 16px;
  padding-left: 0;
}

.blog-separator {
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-size: 0.9rem;
  text-align: center;
  margin: 0.5rem 0;
  /* margin: 0.5rem 0; */
  letter-spacing: 0.1em;
}

.blog-label {
  background-color: #000;
  color: yellow;
  padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  display: inline-block;
  font-weight: 700;
  margin: -0.2rem 0 0.5rem 0.8rem;
  /* margin-right: 0; */
  align-self: center;
}

.blog-date {
  /* margin: 0.5rem 0; */
  padding-left: 3;
  text-align: left;
  padding-bottom: 3;
  text-transform: lowercase;
  margin-bottom: 0.8rem;
}

.blog-section {
  margin: 0.2rem 0;
  text-transform: lowercase;
font-size: 16px;
  padding-left: 0;
}
/* Alles Geschriebenen inhalt was nicht datum oder so ist */
.blog-section p {
  margin: 0.2rem 0;
  line-height: 1;
  font-weight: 400;
}
/* Currently reading oder so also Titel */
.blog-section p:first-child {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: 0.5rem;
  font-weight: 400;
}
/* Das Geschriebene, der Inhalt */

.blog-section p:not(:first-child) {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: 0.5rem;
  font-weight: 300;


}

.blog-answer {
  text-align: right;
  margin-top: 0.5rem;
}

.blog-answer a {
  text-decoration: underline;
  color: #000;
}

.blog-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-weight: 700;
  border-top: 1px solid #000;
  padding-top: 0.5rem;
}

/* Blog expanding functionality */
.chaos-card--blog {
  position: relative;
  z-index: 100;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: grab; /* Same cursor as other draggable cards */
  overflow-y: auto; /* Enable scrolling in normal mode */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: var(--chaos-card-width, 250px); /* Allow individual sizing */
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chaos-card--blog::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.chaos-card--blog:active {
  cursor: grabbing; /* Same active cursor as other draggable cards */
}

.chaos-card--blog.chaos-card--expanded {
  position: fixed;
  top: 6rem;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: calc(100vh - 12rem);
  overflow-y: auto;
  z-index: 200;
  border: 4px solid black;
  background-color: #f6ff00;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease-in-out;
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chaos-card--blog.chaos-card--expanded::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

body.blog-expanded .chaos-card:not(.chaos-card--blog.chaos-card--expanded) {
  opacity: 0.3;
  pointer-events: none;
}

/* Blog close button */
.blog-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "NewEdge666 Regular Rounded", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  background-color: #f6ff00;
  padding: 0.5rem 0.8rem;
  border: 2px solid #000;
  cursor: pointer;
  z-index: 300;
  display: none; /* Hidden by default */
  transition: all 0.2s ease;
}

.blog-close-btn:hover {
  background-color: #000;
  color: #f6ff00;
  border: 2px solid #f6ff00;
}

/* Show close button when expanded */
/* .chaos-card--blog.chaos-card--expanded .blog-close-btn {
  display: block;
}
@media (max-width: 900px) {
  .background-text {
    top: 55%;
    left: 55%;
    transform: translate(-55%, -55%);
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
  }
}

@media (max-width: 600px) {
  .background-text {
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
} */

/* Hide inspiration squares in rasterize mode */
.projects:not(.chaos) .inspiration-square {
  display: none !important;
}

/* ===== MOBILE OPTIMIZATIONS ===== */

/* Mobile: Hide navigation buttons, show only rasterize mode */
@media screen and (max-width: 768px) {
  /* Hide navigation buttons on mobile, but keep add project */
  nav,
  .ui-archive {
    display: none !important;
  }
  
  /* Keep add project button visible on mobile - position at top */
  .nav-secondary {
    display: flex !important;
    justify-content: center !important;
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10000 !important;
    margin-bottom: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  /* Hide nav-secondary when iframe is open */
  body.iframe-open .nav-secondary {
    display: none !important;
  }
  
  /* Mobile-only buttons - added via JavaScript */
  .ui-add-blog,
  .ui-add-about {
    display: none !important;
  }
  
  @media screen and (max-width: 768px) {
    .ui-add-blog,
    .ui-add-about {
      display: inline-block !important;
    }
  }
  
  /* Styles for generated blog and about cards */
  .chaos-card--blog,
  .chaos-card--about {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  
  .chaos-card--blog:hover,
  .chaos-card--about:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
  }
  
  .chaos-card--blog h3,
  .chaos-card--about h3 {
    margin: 0 0 15px 0 !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #000 !important;
  }
  
  .chaos-card--blog p,
  .chaos-card--about p {
    margin: 0 0 10px 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #333 !important;
  }
  
  .chaos-card--blog .blog-resize-handle {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    background: transparent !important;
    cursor: ns-resize !important;
    z-index: 10 !important;
  }
  
  .chaos-card--blog .blog-resize-handle::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 30px !important;
    height: 3px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 2px !important;
    transition: background 0.2s ease !important;
  }
  
  .chaos-card--blog .blog-resize-handle:hover::after {
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  /* Force rasterize mode on mobile */
  .projects {
    display: grid !important;
  }
  
  .projects.chaos {
    display: none !important;
  }
  
  /* Show music player on mobile - compact size with essential buttons only */
  .nowplaying {
    display: flex !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    height: 40px !important;
    z-index: 1000 !important;
    background: #f6ff00 !important;
    border: 2px solid #000 !important;
    padding: 8px 22px !important;
    font-size: 11px !important;
    cursor: grab !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  /* Hide title and label on mobile */
  .nowplaying__label,
  .nowplaying__title {
    display: none !important;
  }
  
  /* Mobile player buttons - same font size as project titles */
  .nowplaying__btn {
    padding: 8px 12px !important;
    font-size: 1.1rem !important;
    min-width: auto !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    color: #000 !important;
    border: none !important;
    border-radius: 0 !important;
  }
  
  /* Mobile player title - make it more prominent */
  .nowplaying__title {
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
    font-weight: bold !important;
  }
  
  /* Mobile player label */
  .nowplaying__label {
    font-size: 1.1rem !important;
    font-weight: bold !important;
  }
  
  /* Add padding to content so first project doesn't stick to top */
  .content {
    padding-top: 80px !important;
  }
  
  /* Mobile - hide next button, enable swipe */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  /* Mobile video height fix */
  .project-overlay__video {
    width: 100% !important;
    height: 50vh !important;
    object-fit: contain !important;
  }
  
  /* Mobile project overlay improvements - fixed height, no scroll */
  .project-overlay__outer {
    padding: 10px !important;
    max-width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .project-overlay__inner {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .project-overlay__media {
    flex: 0 0 45vh !important;
    height: 45vh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  
  .project-overlay__media .swiper {
    height: 100% !important;
    width: 100% !important;
  }
  
  .project-overlay__media .swiper-wrapper {
    height: 100% !important;
  }
  
  .project-overlay__media .swiper-slide {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .project-overlay__image,
  .project-overlay__video,
  .project-overlay__secondary {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .project-overlay__details {
    flex: 1 !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    width: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
  }
  
  .project-overlay__content {
    flex: 1 !important;
    padding: 0 !important;
    gap: 0.4rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  
  .project-overlay__title {
    font-size: 1rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    word-wrap: break-word !important;
  }
  
  .project-overlay__description {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    flex: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  
  .project-overlay__description p {
    margin: 0 0 0.2rem 0 !important;
    word-wrap: break-word !important;
  }
  
  .project-overlay__meta-box {
    width: 100% !important;
    gap: 0.2rem !important;
    flex: 0 0 auto !important;
  }
  
  .project-overlay__meta {
    width: 100% !important;
    margin-left: 0 !important;
    font-size: 0.7rem !important;
    line-height: 1.1 !important;
  }
  
  /* Hide swiper navigation on mobile */
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  
  /* Show swiper pagination on mobile */
  .swiper-pagination {
    display: block !important;
    position: relative !important;
    margin-top: 1rem !important;
  }
  
  .swiper-pagination-bullet {
    background: #000 !important;
    opacity: 0.3 !important;
  }
  
  .swiper-pagination-bullet-active {
    opacity: 1 !important;
  }
  
  /* Horizontal rotating email text animation */
  @keyframes rotateHorizontal {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(90deg); }
    50% { transform: rotateY(180deg); }
    75% { transform: rotateY(270deg); }
    100% { transform: rotateY(360deg); }
  }
  

  
  iframe .project-thumb--contact {
    animation: rotateHorizontal 6s linear infinite !important;
    -webkit-animation: rotateHorizontal 6s linear infinite !important;
    -moz-animation: rotateHorizontal 6s linear infinite !important;
    -o-animation: rotateHorizontal 6s linear infinite !important;
  }
  
  .project-thumb--contact {
    animation: rotateHorizontal 6s linear infinite !important;
    background: transparent !important;
  }
  
  /* Remove link decoration for contact cards */
  .project-card--generated .project-link[href^="mailto:"] {
    text-decoration: none !important;
  }
  
  .project-card--generated .project-link[href^="mailto:"]:hover {
    text-decoration: none !important;
  }
  
  /* Remove link decoration for contact cards in iframe */
  iframe .project-card--generated .project-link[href^="mailto:"] {
    text-decoration: none !important;
    color: #000 !important;
  }
  
  iframe .project-card--generated .project-link[href^="mailto:"]:hover {
    text-decoration: none !important;
    color: #000 !important;
  }
  
  iframe .project-card--generated .project-link[href^="mailto:"]:visited {
    text-decoration: none !important;
    color: #000 !important;
  }
  
  iframe .project-card--generated .project-link[href^="mailto:"]:active {
    text-decoration: none !important;
    color: #000 !important;
  }
  
  /* Mobile close button positioning */
  .close {
    position: fixed !important;
    top: 5px !important;
    right: 5px !important;
    z-index: 10000 !important;
    background: none !important;
    padding: 4px 6px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    color: #000 !important;
    font-weight: bold !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  
  /* Mobile generated projects - make them fit in grid */
  .projects.chaos .project-card--generated {
    position: static !important;
    width: calc(var(--unit-width) * 4.5) !important;
    height: calc(var(--unit-height) * 4.5) !important;
    margin: 0 auto !important;
  }
  
  .projects.chaos .project-card--generated .project-thumb-wrapper,
  .projects.chaos .project-card--generated .project-thumb {
    height: calc(var(--unit-height) * 4.5) !important;
  }
  
  /* Mobile: Make generated project cards fit in grid normally */
  .project-card--generated {
    position: static !important;
    width: calc(var(--unit-width) * 4.5) !important;
    height: calc(var(--unit-height) * 4.5) !important;
    margin: 0 !important; /* Remove auto margin to match other projects */
    display: flex !important; /* Use flex like normal projects */
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important; /* Same gap as normal projects */
    visibility: visible !important;
    opacity: 1 !important;
    /* Ensure proper grid spacing - use the same as normal projects */
    grid-column: 1 !important;
    grid-row: auto !important;
    /* Use the exact same row gap as the normal grid */
    margin-bottom: var(--unit-gap-y, 2vw) !important;
  }
  .project-card--generated .project-thumb-wrapper,
  .project-card--generated .project-thumb {
    height: calc(var(--unit-height) * 4.5) !important;
  }
  
  /* Mobile: Make generated project titles behave like normal projects */
  .project-card--generated .project-title {
    display: none !important; /* Hide the HTML title */
  }
  
  .project-card--generated .project-meta {
    display: none !important; /* Hide the HTML meta */
  }
  
  /* Use ::after for generated projects like normal projects */
  .project-card--generated::after {
    content: attr(data-title) !important;
    font-size: 1.1rem !important;
    letter-spacing: -0.08rem !important;
    text-transform: uppercase !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important; /* Ensure full width for centering */
  }
}

/* Inspiration cards - hide title by default, show on hover */
.inspiration-card .project-title {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: #000;
  font-size: 0.9rem;
  text-align: center;
  pointer-events: none;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.inspiration-card:hover .project-title {
  opacity: 1;
}
