/* =========================================================
   style.css – Slider + Work-Grid + Teaching/Allgemein
   ========================================================= */

/* ---------- Root Variablen ---------- */
:root {
  --gap: clamp(16px, 3vw, 32px);
  --maxw: 1400px;

  --c-text: #232323;
 --c-muted: #666666; 
  --c-bg-card: #f7f7f7;
  --c-link: #007acc;
  --c-link-rgb: 0, 122, 204;
  /* für rgba-Dunkelung */
  --c-link-ondark: #58a6ff;
  /* WCAG AA on dark backgrounds ~5.7:1 on #232323 */


  --header-h: 57.33px;
  --footer-h: 120px;
  --footer-h-mobile: 60px;

}

/* ---------- Fonts ---------- */

/* outfit-100 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/outfit-v14-latin-100.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/outfit-v14-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v14-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/outfit-v14-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v14-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ---------- Reset & Basics ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: var(--c-text);
  background: #fff;
  overflow-y: auto;
  scroll-behavior: smooth;
}


@media (min-width: 768px) {

  html,
  body {
    font-size: 18px;
  }

  :root {
    --header-h: 61.33px;
  }
}

/* Body auf Slider-Seite per Klasse scrollfrei machen */
body.deck {
  overflow: hidden;
}

/* ---------- Globale Typo ---------- */
h2 {
  font-size: 24px;
  font-weight: 300;
  color: rgb(111, 111, 111);
}


@media (min-width: 768px) {
  h2 {
    font-size: 32px;
  }
}

p {
  line-height: 1.5em;
}


/* =========================================================
   HEADER
   ========================================================= */

/* (Altes direktes header-Tag könntest du entfernen, wir nutzen .site-header überall)
   Belassen, falls noch auf anderen Seiten verwendet. */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  background-color: #fff;
  color: var(--c-text);
  height: var(--header-h);
  box-shadow: 0 -4px 15px 6px rgba(0, 0, 0, 0.44);
}

header h1 {
  font-size: 21px;
  font-weight: 300;
}

/* Gemeinsamer Site-Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

p.brand {
  margin-bottom: 0;
}

.header-portrait {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.site-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
}

.site-header h1 a {
  color: inherit;
  text-decoration: none;
}

.site-header nav a {
  text-decoration: none;
  color: var(--c-text);
  font-weight: 400;
}


.brand a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.site-navigation {
  font-weight: 400;
  display: flex;
  gap: 1.4rem;
}


.site-navigation a.mobile-link {
  display: none;
}


/* Mobile default: nav zu */
@media (max-width: 989px) {
  .site-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg, #fff);
    flex-direction: column;
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    z-index: 10;
  }

  .site-navigation a {
    line-height: 34px;
  }

  .site-navigation a.mobile-link {
    display: block;
  }


  /* Offen */
  .site-navigation.is-open {
    max-height: 500px;
    padding: 10px 2rem 14px;

  }
}

/* Desktop: Button weg, Nav inline */
@media (min-width: 990px) {
  .menu-button {
    display: none;
  }
}

/* Burger-Button */
.menu-button {
  width: 40px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.menu-button .menu-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}

.menu-bar-top {
  top: 0;
}

.menu-bar-middle {
  top: 50%;
  transform: translateY(-50%);
}

.menu-bar-bottom {
  bottom: 0;
}

/* Offener Zustand (per Klasse auf Button) */
.menu-button.is-open .menu-bar-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-button.is-open .menu-bar-middle {
  opacity: 0;
}

.menu-button.is-open .menu-bar-bottom {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Utility für Screenreader-Only (falls du brauchst) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}


/* Deck-Seite: Header fixieren */
body.deck .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   SLIDER / DECK
   ========================================================= */

.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body.deck .slider {
  margin-top: var(--header-h);
  height: calc(100vh - var(--header-h) - var(--footer-h));
  overflow: hidden;
}

@media (max-width: 767px) {
  body.deck .slider {
    margin-top: var(--header-h);
    height: calc(100vh - var(--header-h) - var(--footer-h-mobile));
    overflow: hidden;
  }
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 1rem;
  overflow-y: auto;
  background: #f7f7f7;
}

.slide:focus {
  outline: none;
}

@media (min-width: 768px) {
  .slide {
    padding: 2rem;
  }
}


.main-area {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .main-area {
    margin-top: 30px;
  }
}

.video-container {
  width: 100%;
  overflow: hidden;
  height: fit-content;
  border-radius: 6px;
  -webkit-box-shadow: 0px -1px 23px -9px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px -1px 23px -9px rgba(0, 0, 0, 0.4);
  box-shadow: 0px -1px 23px -9px rgba(0, 0, 0, 0.4);
}


@media (min-width: 768px) {
  .video-container {
    border-radius: 24px;
  }
}



.text-container {
  width: 100%;
  padding: 24px 1rem;
}



@media (min-width: 768px) {
  .text-container {
    padding: 48px 0;
  }
}


/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--c-link);
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: .5;
}


video {
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  video {
    border-radius: 24px;
  }
}



.main-text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 400;
}

@media (min-width: 768px) {
  .main-text {
    margin-top: 1.5rem;
  }
}


.main-text p {
  margin-bottom: 1.5em;
}

/* Projekt-Detail-Tabelle */
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 1rem 0;
}

.detail-table th,
.detail-table td {
  padding: 0.75rem 0;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.detail-table th {
  width: 25%;
  font-weight: 500;
  background: #f7f7f7;
}



/* ---------- Video skeleton ---------- */
.video-container {
  position: relative;
}

.video-container video {
  opacity: 0;
  transition: opacity .25s ease;
  display: flex;
}

/* Shimmer layer */
.video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: #e9e9e9;
  background-image: linear-gradient(90deg, #e9e9e9 0%, #f5f5f5 40%, #e9e9e9 80%);
  background-size: 200% 100%;
  animation: shimmer 2.2s infinite linear;
  z-index: 1;
}


@media (min-width: 768px) {
  .video-container::before {
    border-radius: 8px;
  }
}

/* Hide skeleton when loaded */
.video-container.is-loaded::before {
  opacity: 0;
  animation: none;
  pointer-events: none;
  transition: opacity .25s ease;
}

.video-container.is-loaded video {
  opacity: 1;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}



/* Responsive Tabelle */
@media (max-width: 600px) {

  .detail-table,
  .detail-table tbody,
  .detail-table tr,
  .detail-table th,
  .detail-table td {
    display: block;
    width: 100%;
  }

  .detail-table tr {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
  }

  .detail-table th {
    padding: 0.5rem;
  }

  .detail-table td {
    padding: 0.5rem;
    border: none;
  }

  .detail-table td a {
    color: var(--c-link);
    text-decoration: underline;
  }
}

/* ------- Meta-List (statt Tabelle) ------- */
.meta-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.5rem;
  row-gap: .6rem;
  margin: 2rem 0 0;
  font-size: 0.85rem;
  line-height: 1.265rem;
  align-items: start;
  align-content: start;
}

.teaching-meta {
  font-size: 1rem;
  line-height: 1.5rem;
}

.meta-list dt,
.meta-list dd {
  align-self: start;
  /* ensure individual items don’t override it */
}

.meta-list dt {
  font-weight: 400;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.meta-list dd {
  margin: 0;
}

.icon {
  margin-right: .4rem;
  font-size: .9em;
  opacity: .85;
  vertical-align: -0.1em;
  display: none !important;
}


/* =========================================================
   WORK-GRID (Startseite)
   ========================================================= */

.hero {
  max-width: var(--maxw);
  margin: 4rem auto 2rem;
  padding: 0 2rem;
}

.hero h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  color: #333333;
}

.hero p {
  margin-top: 1rem;
  line-height: 2;
}

.hero a {
  color: var(--c-link);
  text-decoration: underline;
}


.index-header {
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Index Hero ── */
.index-hero {
  padding: 4rem 0 5rem;
}

.index-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #232323;
  margin-bottom: 1.5rem;
}

.index-hero .article-deck {
  max-width: 56ch;
}

.index-hero-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--c-link);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.index-hero-link:hover {
  text-decoration: underline;
}

/* ── Contact block ── */
#contact-block {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 4rem;
}

.contact-cta {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  color: var(--c-link);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
}

.contact-link:hover {
  text-decoration: underline;
}

.intro-text {
  color: #444;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ── INDEX — Project Rows ── */
.project-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0;
  border-bottom: 2px solid #f0f0f0 !important;
}

.project-thumb {
  flex: 0 0 50%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.project-thumb img {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}




.project-info {
  flex: 1;
  padding-top: 0;
}

.project-info h4 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  color: #111;
  margin: 0.25rem 0 0.6rem;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--c-link);
  text-decoration: none;
  font-size: 0.9rem;
}

.project-link:hover {
  text-decoration: underline;
}

.article-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin: 4rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.article-post-nav--research {
  grid-template-columns: 1fr;
}


.article-post-nav.article-post-nav--research .project-row {
  padding-top: 0; 
}

.article-post-nav-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.article-post-nav-card {
  min-width: 0;
}

.article-post-nav-thumb {
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f7f7f7;
}

.article-post-nav-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-post-nav-title {
  margin: 0;
  color: #111;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
}

.article-post-nav-card .project-link {
  margin-top: 0.8rem;
}

@media (max-width: 700px) {
  .article-post-nav {
    grid-template-columns: 1fr;
  }
}

.research-slider {
  margin-top: 2rem;
}

.research-slider.slick-slider {
  position: relative;
  display: block;
}


.research-slider.slick-slider .project-row {
  padding-bottom: 2em;
}

.research-slider .slick-list {
  position: relative;
  display: block;
  overflow: hidden;
}

.research-slider .slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

.research-slider .slick-track::before,
.research-slider .slick-track::after {
  display: none;
  content: "";
}

.research-slider .slick-track::after {
  clear: both;
}

.research-slider .slick-slide {
  flex: 0 0 auto;
  float: left;
  height: auto;
  min-height: 1px;
}

.research-slider .slick-slide>div {
  height: 100%;
}

.research-slider .project-row {
  height: 100%;
  margin: 0;
  border-bottom: 0 !important;
}

.research-slider .slick-dots {
  position: static;
  bottom: auto;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: auto;
  list-style: none;
  padding: 0;
}

.research-slider .slick-dots li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
}

.research-slider .slick-dots li.slick-active {
  width: 34px;
}

.research-slider .slick-dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.research-slider .slick-dots button::before {
  display: none;
  content: none;
}

.research-slider .slick-dots button:hover {
  border-color: var(--c-muted);
}

.research-slider .slick-dots li.slick-active button {
  width: 34px;
  background: var(--c-muted);
  border-color: var(--c-muted);
}

.research-slider .slick-dots button:focus-visible {
  outline: 2px solid var(--c-link);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .project-row {
    flex-direction: column !important;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .project-thumb {
    width: 100%;
    flex: 0 0 auto;
  }
}

.work-grid {
  max-width: var(--maxw);
  margin: 2rem auto 6rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

@media (min-width: 1200px) {
  .work-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--gap);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .card {
    border-radius: 8px;
  }
}


.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 1rem 1.25rem 0.25rem;
  font-size: 20px;
  font-weight: 400;
}

.meta {
  margin: 0 1.25rem 0.5rem;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.teaser {
  margin: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444444;
}




.reference-topic {
  margin-bottom: 64px;
}

.reference-topic h4 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 300;
}

.reference-detail {
  display: none;
  font-size: 16px;
  line-height: 26px;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-bottom: 20px;
}

.reference-label {
  width: 100%;
  background-color: #fff;
  color: #232323;
  text-align: left;
  font-size: 16px;
  line-height: 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 5px;
  transition: 0.3s ease-in-out;
}

.reference-item:first-of-type {
  margin-top: 24px;
}

.reference-label.active {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.reference-label:hover,
.reference-label.active {
  background: #f7f7f7;
}


.reference-label .fa {
  margin-left: 32px;
  font-size: 28px;
  color: #232323;
}





/* =========================================================
   FOOTER (Top = Slider-Nav; Bottom = Info schwarz)
   ========================================================= */

/* Sticky bottom for non-deck pages */
body:not(.deck) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Wrapper */
.site-footer {
  margin-top: auto;
}

/* ----- TOP (Slider-Nav & Back) ----- */
.footer-top {
  display: none;
  background: #fafafa;
  border-top: 1px solid #e3e3e3;
  padding: 0.75rem 2rem;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}



@media (min-width: 480px) {
  .footer-top {
    padding: 0.75rem 2rem;
    justify-content: center;
  }
}



.footer-top button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  background: var(--c-link);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.footer-top button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#progress {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-muted);
}

.back-overview {
  color: var(--c-link);
  text-decoration: underline;
  white-space: nowrap;
}

/* ----- BOTTOM (Black Info) ----- */
.footer-bottom {
  background: #000;
  color: #fff;
  padding: 1.25rem 2rem;
}



@media (max-width: 767px) {
  .footer-bottom {
    display: none;
  }
}



.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.footer-left {
  white-space: nowrap;
}

.footer-right {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

.contact-links,
.legal-links {
  white-space: nowrap;
}

/* Deck-Seite: Footer fix + top-part sichtbar */
body.deck .site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 25;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

body.deck .footer-top {
  display: flex;
}

/* ---------- Mobile Footer ---------- */
@media (max-width: 600px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
  }

  /* Reihenfolge: top (nav), back, then info blocks already vertical */
}

/* =========================================================
   ACCESSIBILITY HELPERS
   ========================================================= */

.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden-focusable:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}




/* ---------- Generic sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 2rem auto 6rem;
  padding: 0 2rem;
}

.section-headline {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  line-height: 1.25;
  color: #333;
  margin-bottom: 0.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .5rem;
}



/* ---------- Grid helper ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--gap);
  margin-top: 2rem;
}

body.single-post .article-main .grid-2 {
  grid-template-columns: 1fr;
}

#skills .grid-2 {
  display: grid;
  gap: 1.5rem;
  /* oder dein gewünschter Abstand */
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}


/* Bei weniger Platz: 1 Spalte */
@media (max-width: 720px) {
  #skills .grid-2 {
    grid-template-columns: 1fr;
  }
}


/* ---------- Flat cards ---------- */
.card-flat {
  background: var(--c-bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

#experience .card-flat,
#teaching .card-flat,
#education .card-flat,
#more .card-flat {
  margin-top: 2rem;
}

.card-flat ul {
  margin-left: 1rem;
  font-size: 0.9em;
  line-height: 2em;
}

.card-flat h4 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-link);
  font-weight: 600;
}

.checklist strong {
  font-weight: 600;
}

/* ---------- Meta list reuse ---------- */
.teaching-meta dt {
  color: var(--c-muted);
  font-weight: 400;
}

.teaching-meta dd {
  margin-bottom: .6rem;
}


#education .detail-table {
  margin-top: 1rem;
}


/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  background: var(--c-link);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  border: 2px solid var(--c-link);
  margin-top: 1rem;
}

/* Hover-/Focus-Zustand für den primären Button */
.btn:hover,
.btn:focus {
  background-color: rgba(var(--c-link-rgb), 0.85);
  /* leicht abdunkeln */
  opacity: 0.95;
  outline: none;
}

/* Link-Button bleibt unverändert */
.btn-link {
  color: var(--c-link);
  text-decoration: underline;
  font-size: 0.95rem;
}

/* Outline-Variante */
.btn.outline {
  display: inline-block;
  background-color: transparent;
  color: var(--c-link);
  border: 2px solid var(--c-link);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover-/Focus-Zustand für Outline */
.btn.outline:hover,
.btn.outline:focus {
  background-color: var(--c-link);
  color: #fff;
  outline: none;
}



/* Responsive tweaks */
@media (max-width: 600px) {
  .section {
    margin-bottom: 3rem;
  }
}


.legal-section p {
  margin-bottom: 2rem;
}


/* =========================================================
   ARTICLE — Positive Friction LMS
   ========================================================= */

/* ── Reading progress bar ── */
.reading-progress-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--c-link);
  z-index: 110;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.05s linear;
  pointer-events: none;
}

/* Offset for WP admin bar (32px on desktop, 46px on mobile) */
.admin-bar .reading-progress-bar {
  top: calc(var(--header-h) + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .reading-progress-bar {
    top: calc(var(--header-h) + 46px);
  }
}

/* ── Article header (lives inside .article-main) ── */
.article-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}

.a-label {
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-link);
  display: block;
  margin-bottom: 1.2rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: #232323;
  letter-spacing: -0.02em;
}

.article-deck {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-muted);
  font-weight: 400;
}

.a-byline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  text-transform: uppercase;
}

/* ── TOC + content layout ── */
.toc-layout {
  display: flex;
  align-items: flex-start;
}

/* ── TOC sidebar ── */
.toc-nav {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 3px);
  max-height: calc(100vh - var(--header-h) - 3px - 2rem);
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem 0rem;
  border-right: 1px solid #e0e0e0;
}

/* Modifikator für "Fixed" TOC (auf Seiten außer Home) */
.toc-layout.toc-fixed .toc-nav {
  position: fixed;
}

.toc-layout.toc-fixed .article-main {
  margin-left: 220px;
  /* Breite der TOC ausgleichen */
}


.toc-heading {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list>li {
  margin-bottom: 0.1rem;
}

.toc-list a {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.88rem;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.4;
  transition: color 0.15s, background 0.15s;
}

.toc-list a:hover {
  color: #232323;
  background: #f7f7f7;
}

.toc-list a.active {
  color: var(--c-link);
  font-weight: 500;
  background: #f0f7ff;
}

.toc-sub {
  list-style: none;
  padding: 0.2rem 0 0.2rem 0.75rem;
  margin: 0;
  border-left: 1px solid #e0e0e0;
}

.toc-sub a {
  font-size: 0.82rem;
  padding: 0.25rem 0.5rem;
  color: #999;
}

.toc-sub a:hover {
  color: #232323;
}

.toc-sub a.active {
  color: var(--c-link);
  font-weight: 500;
  background: #f0f7ff;
}

/* ── Article content column ── */
.article-main {
  flex: 1;
  min-width: 0;
  padding: 0 3rem;
  max-width: 900px;
  animation: fadeUp 0.5s ease both;
}

/* ── Pull quote ── */
.pull-quote {
  margin: 4rem 0 3.5rem;
  padding: 2.8rem 3rem;
  background: #232323;
  color: #fff;
  position: relative;
  border-radius: 6px;
}

.pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-link);
  border-radius: 6px 0 0 6px;
}

.pull-quote p {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
  font-weight: 300;
  color: #f0f0f0 !important;
  /* override .article-main p { color: #444 } */
  margin-bottom: 0;
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-link-ondark);
  font-style: normal;
}

/* ── Sections ── */
.article-main section {
  padding-top: 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 3px + 1.5rem);
}

.article-main section+section {
  border-top: 1px solid #e0e0e0;
}

.article-main h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 1.4rem;
  line-height: 1.2;
  color: #232323;
  letter-spacing: -0.01em;
}

.article-main h3 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-link);
  margin-bottom: 0.6rem;
  margin-top: 2.5rem;
}

.article-main h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 2rem 0 0.7rem;
  color: #232323;
}

.article-main p {
  margin-bottom: 1.3rem;
  color: #444;
  line-height: 1.65;
}

.article-main p:last-child {
  margin-bottom: 0;
}

.article-main em {
  font-style: italic;
}

.article-main strong {
  font-weight: 500;
  color: #232323;
}

/* ── Callout box ── */
.callout {
  border: 1px solid #e0e0e0;
  border-left: 3px solid var(--c-link);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  background: #f7f7f7;
  border-radius: 0 6px 6px 0;
}

.callout p {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: #444;
}

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

/* ── Pattern cards ── */
.pattern-card {
  border: 1px solid #e0e0e0;
  margin: 2rem 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 3px + 1.5rem);
}

.pattern-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid #e0e0e0;
  background: #232323;
  color: #fff;
}

.pattern-number {
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c-link-ondark);
  flex-shrink: 0;
}

.pattern-title {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.pattern-body {
  padding: 1.6rem;
}

.pattern-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
  line-height: 1.6;
}

.pattern-body p:last-child {
  margin-bottom: 0;
}

/* ── Node legend ── */
.node-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  border: 1px solid #e0e0e0;
  margin: 1.5rem 0;
  background: #e0e0e0;
}

.node-item {
  background: #fff;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.node-shape {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.node-sq-shape {
  background: #1a3a5c;
  width: 28px;
  height: 28px;
  border-radius: 2px;
}

.node-ci-shape {
  background: #2d6a4f;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.node-di-shape {
  width: 28px;
  height: 28px;
  background: #c84b2f;
  transform: rotate(45deg);
  margin-top: 4px;
  border-radius: 2px;
}

.node-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  color: #232323;
  font-weight: 500;
}

.node-text span {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* ── Feature list ── */
ul.feature-list {
  list-style: none;
  margin: 1rem 0 1.3rem;
  padding: 0;
}

ul.feature-list li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
  line-height: 1.6;
}

ul.feature-list li:last-child {
  border-bottom: none;
}

ul.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c-link);
  font-size: 0.85rem;
}

/* ── Wireframe placeholder ── */
.wireframe-placeholder {
  border: 1.5px dashed #ccc;
  padding: 3rem 2rem;
  margin: 2rem 0;
  text-align: center;
  background: #f7f7f7;
  border-radius: 6px;
}

.wireframe-placeholder .wf-icon {
  width: 48px;
  height: 36px;
  margin: 0 auto 1rem;
  border: 2px solid #ccc;
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wireframe-placeholder .wf-icon::after {
  content: '';
  width: 20px;
  height: 2px;
  background: #ccc;
  box-shadow: 0 5px 0 #ccc, 0 -5px 0 #ccc;
}

.wireframe-placeholder p {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0;
}

/* ── Research Image Figures ── */
.research-figure {
  margin: 3rem 0;
  display: block;
}

.research-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.research-figure figcaption {
  font-size: 0.85rem;
  color: var(--c-muted);
  text-align: center;
  margin-top: 1.2rem;
  line-height: 1.5;
}

/* ── Conclusion ── */
.conclusion {
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #232323;
  background: #f7f7f7;
  border-radius: 0 0 8px 8px;
  scroll-margin-top: calc(var(--header-h) + 3px + 1.5rem);
}

.conclusion p {
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
  color: #232323;
}

/* ── Further reading ── */
.further-reading {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 2px solid #232323;
  scroll-margin-top: calc(var(--header-h) + 3px + 1.5rem);
}

.further-reading h2 {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.2rem;
  font-weight: 400;
  border-bottom: none;
  padding-bottom: 0;
}

.reading-list {
  list-style: none;
}

.reading-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.reading-list li:last-child {
  border-bottom: none;
}

.reading-list strong {
  color: #232323;
  font-weight: 500;
}

/* ── Image Placeholder ── */
.img-placeholder {
  background: #f7f7f7;
  border: 1.5px dashed #c8c8c8;
  border-radius: 6px;
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.img-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  max-width: 480px;
  color: #888;
}

.img-placeholder-icon {
  font-size: 2rem;
  line-height: 1;
  color: #bbb;
}

.img-placeholder-inner strong {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.01em;
}

.img-placeholder-inner span {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #999;
}

/* ── Paradigm Shift Comparison ── */
.shift-comparison {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.shift-item {
  flex: 1;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shift-item--old {
  background: #f7f7f7;
}

.shift-item--new {
  background: #f0f7ff;
}

.shift-label {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 400;
}

.shift-item p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #232323;
  margin: 0;
  line-height: 1.3;
}

.shift-item .shift-sub {
  font-size: 0.82rem;
  font-weight: 400;
  color: #666;
  margin: 0;
}

.shift-arrow {
  font-size: 1.4rem;
  color: #bbb;
  flex-shrink: 0;
  padding: 0 0.2rem;
}

.token-example {
  font-family: monospace;
  font-size: 0.8rem;
  background: rgba(0, 122, 204, 0.08);
  color: var(--c-link);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.6rem;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .shift-comparison {
    flex-direction: column;
  }

  .shift-arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
  }
}

/* ── Inline code in article ── */
.article-main code {
  font-family: monospace;
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pull-quote {
  animation: fadeUp 0.5s ease 0.05s both;
}

.article-main section:nth-child(1) {
  animation: fadeUp 0.5s ease 0.0s both;
}

.article-main section:nth-child(2) {
  animation: fadeUp 0.5s ease 0.08s both;
}

.article-main section:nth-child(3) {
  animation: fadeUp 0.5s ease 0.14s both;
}

.article-main section:nth-child(4) {
  animation: fadeUp 0.5s ease 0.20s both;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .toc-nav {
    display: none;
  }

  .article-main,
  .toc-layout.toc-fixed .article-main {
    padding: 0 2rem;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .pull-quote {
    padding: 2rem 1.5rem;
  }

  .node-legend {
    grid-template-columns: 1fr;
  }
}


/* ── PROJECT DETAIL — Slider Page ── */

/* Floating project nav */
.proj-nav {
  position: fixed;
  top: var(--header-h);
  left: max(2rem, calc(50vw - var(--maxw) / 2 + 2rem));
  z-index: 2;
  width: 220px;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  padding: 2.5rem 2rem 2rem 0rem;
  overflow-y: auto;
}

/* Mask slide content left of nav and below nav */
.proj-nav-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(calc(2rem + 220px), calc(50vw - var(--maxw) / 2 + 2rem + 220px));
  background: #fff;
  z-index: 1;
}

.proj-nav .toc-heading {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.proj-nav .toc-list a.active-link {
  color: var(--c-link);
  font-weight: 500;
  background: #f0f7ff;
}

.proj-nav-more {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e0e0e0;
}

body.deck .slider {
  height: calc(100vh - 195px) !important;
}

@media (max-width: 767px) {
  body.deck .slider {
    height: calc(100vh - 116px) !important;
  }
}

/* Slide content wrapper */
.slide-inner {
  margin-left: max(calc(2rem + 220px), calc(50vw - var(--maxw) / 2 + 2rem + 220px));
  padding: 0.58rem 3rem 2rem;
  max-width: calc(900px + 6rem);
}

/* Breadcrumb inside slide */
.slide-inner .breadcrumb {
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: block;
  margin-bottom: 1.2rem;
}

.slide-inner .breadcrumb a {
  color: var(--c-link);
  text-decoration: none;
}

.slide-inner .breadcrumb .sep {
  margin: 0 0.4em;
}

/* Slide heading */
.slide-inner h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #111;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.slide-inner .article-deck {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0;
}

/* Article header inside slide — no border */
.slide-inner .article-header {
  border-bottom: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

/* Video block */
.slide-inner .video-group {
  margin-bottom: 2.5rem;
}

.slide-inner .video-container {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.slide-inner .video-container video {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.video-controls {
  text-align: right;
  margin-top: 0.5rem;
}

.fullscreen-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  padding: 0.25rem 0;
  color: #888;
  transition: color 0.2s;
}

.fullscreen-btn:hover {
  color: #111;
}

/* Meta table */
.slide-inner .meta-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.95rem;
  margin-top: 0;
}

.slide-inner .meta-list dt {
  font-weight: 500;
  color: #232323;
  margin: 0;
  white-space: nowrap;
}

.slide-inner .meta-list dd {
  margin: 0;
  color: #444;
}

.slide-inner .meta-list a {
  color: var(--c-link);
}

/* Main text block */
.slide-inner .main-text {
  color: #444;
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* White background for slides */
.slide {
  background: #fff !important;
}

/* Responsive: hide nav, un-offset content */
@media (max-width: 767px) {
  .proj-nav {
    display: none;
  }

  .proj-nav-mask {
    display: none;
  }

  .slide-inner {
    margin-left: 0;
    padding: 1.5rem 1.5rem 5rem;
    max-width: 100%;
  }
}
