/*
 * Content
 */

body {
	background-color: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 2em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(255, 255, 255, 0.2);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: 0;
}

.gallery_image_caption {
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 1);
	font-family: "Monument Grotesk", Icons;
	font-style: normal;
	line-height: 1.3;
    text-shadow: 1px 1px 3px #000;
	margin-left: -3.0rem;
    margin-right: -3.0rem;
}

.gallery_image_caption_pages {
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
	font-weight: 300;
	color: rgba(200, 200, 200, 1);
	font-family: "Monument Grotesk", Icons;
	font-style: normal;
	line-height: 1.3;
    text-shadow: 1px 1px 3px #000;
	margin-left: -3rem;
    margin-right: -3rem;
    text-align: right;
    padding-right: 2.9rem;
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 1.6rem;
	color: rgba(255, 255, 255, 1);
	font-family: "Monument Grotesk Variable", Icons;
	line-height: 1.2;
	font-style: normal;
	font-weight: 300;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(105, 181, 208, 0.85);
	padding-bottom: 0.1em;
	border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
	font-family: Spectral, Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 6rem;
	line-height: 1.2;
	color: rgba(255, 255, 255, 1);
        letter-spacing: 0.075rem;
}

[data-predefined-style="true"] h1 a {
	color: rgba(255, 255, 255, 0.85);
}

[data-predefined-style="true"] h2 {
	font-family: "Monument Grotesk Variable", Icons;
	font-style: normal;
	font-weight: 200;
	padding: 0;
	margin: 0;
	color: rgba(255, 255, 255, 1);
	font-size: 1.9rem;
	line-height: 0.2;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(255, 255, 255, 0.85);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.4rem;
	line-height: 1.3;
	font-family: "Monument Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 1);
}

[data-predefined-style="true"] small a {
	color: rgba(105, 181, 208, 0.85);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */

[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  min-height: 200px;
  width: 111%;               /* <-- was 200%, breaks everything */
  max-width: none;           /* <-- was 300% */
  background-color: transparent /*!page_bgcolor*/;
}

/* Only affects thumbnails when inside .mobile */
.mobile [data-css-preset] .thumbnails img {
    width: 300%;   /* make them bigger */
    height: 300%;  /* preserve aspect ratio */
}

[data-css-preset] .container {
	margin-left: 0px /*!content_center*/;
	margin-right: 0px /*!content_center*/;
	text-align: center /*!text_center*/;
}

[data-css-preset] body {
	background-color: #000/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 200%/*!content_center*/;
}

[data-css-preset] .content_padding {
	padding-top: 0rem /*!main_margin*/;
	padding-bottom: 0rem /*!main_margin*/;
	padding-left: 4rem /*!main_margin*/;
	padding-right: 4rem /*!main_margin*/;
}

[data-css-preset] text-limit {
	display: inline-block /*!text_width*/;
	max-width: 66rem/*!text_width*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 100%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 3.15rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -6.3rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem/*!responsive_thumbnails_padding*/; 
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: .3rem;
    font-size: 1.8rem;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.85);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-style: normal;
	line-height: 1.1;
}

.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-style: normal;
	line-height: 1.2;
}

.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0rem;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(255, 255, 255, 0.85);
    line-height: 0;
    font-size: 28px /*!site_menu_button*/;
    line-height: 1;
    background: rgba(0, 0, 0, 0);
    position: fixed;
	top: 0.5rem /*!site_menu_button*/;
	right: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: 5px;
    font-size: 18px;
}

#site_menu_button.custom_icon {
	width: 40px;
    height: 22px;
}

#site_menu_button.active {
	display: none;
}


/**
 * Menu Bar
 */
div#nav ul {
	padding: 100;
    margin: 100;
    background-color: #262626;
}

div#nav ul li{
	float:left;
    list-style: none;
}

div#nav ul li a {
	padding: 7px 10px; 

}

div#nav ul li.last{ 
	text-align: right;
}

div#nav ul ul {
	position: absolute;
    left: -999em;
}

div#nav ul li:hover ul {
	left:auto;
}

div#nav ul li ul li {
	float: none;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
}

@media (max-width: 768px) {
  /* make the menu bar taller */
  div#nav ul {
    background-color: #000 !important;
    min-height: 200px;         /* set overall bar height */
    display: flex;            /* optional: aligns items nicely */
    align-items: center;      /* vertically center the links */
    justify-content: flex-start;
    margin: 0;
    padding: 0;
  }

  /* enlarge the clickable links inside */
  div#nav ul li a {
    padding: 16px 16px;       /* increase top/bottom padding */
    font-size: 18px;          /* bigger text for mobile */
  }
}

/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 300px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 2em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(255, 255, 255, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: .5rem /*!shop_button*/;
	right: .5rem /*!shop_button*/;
}

#shop_button.text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 1.5rem;
    padding: 0;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 64px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: inline-block;
}

.shop_product .price {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 1.5rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.5rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0, 0);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 2.5rem .8rem 1rem;
}

.shop_product .button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1;
    padding: .8rem 1rem .9rem;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 3.8rem /*!quick_view_padding*/;
    padding-bottom: 3.8rem /*!quick_view_padding*/;
    padding-left: 3.8rem /*!quick_view_padding*/;
    padding-right: 3.8rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}


[data-css-preset] .quick-view-background {
	background: #000 /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif Bold", Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0rem 0;
    text-align: center;
    font-size: 1.2rem;
	font-style: normal;
	font-weight: 700;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    color: white;
}

/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
    display: none;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
    display: none;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 50px;
    width: 50px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}


/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}

/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(255, 255, 255, 0.85);
}

.audio-player .icon {
    fill: rgba(255, 255, 255, 0.75);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(255, 255, 255, 0.05);
}

.audio-player .progress {
    background: rgba(255, 255, 255, 0.09);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(255, 255, 255, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(255, 255, 255, 0.6);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

/* Info page: mail icon and CV link in white */
body[data-page-id="23460277"] .content_container a.icon-link,
body[data-page-id="23460277"] .content_container a.info-cv {
  color: #fff !important;
  border-bottom: 0 !important;
  text-decoration: none !important;
}

/* ===== MOBILE ONLY (no effect on desktop) ===== */
@media (max-width: 768px) {
    
  /* Landing page: no scrolling */
  body.mobile[data-page-id="23460276"] {
    overflow: hidden !important;
    height: var(--app-height, 100vh) !important;
    overscroll-behavior: none;
  }
  body.mobile[data-page-id="23460276"] .content_container .page {
    min-height: var(--app-height, 100vh) !important;
  }

  /* ---------- Typography ---------- */

  /* Body text */
  [data-predefined-style="true"] bodycopy,
  bodycopy.bodycopy {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  [data-predefined-style="true"] h1 {
    font-size: 47px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.05rem !important;
  }

  /* h2 = the text in the top bar */
  [data-predefined-style="true"] h2 {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  [data-predefined-style="true"] small {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  /* Slide-out menu */
  #site_menu {
    font-size: 22px !important;
  }

  /* Thumbnail titles & tags */
  .thumbnails .title { font-size: 20px !important; }
  .thumbnails .tags  { font-size: 19px !important; }

  /* Image captions on project pages (home page captions are set further down) */
  .gallery_image_caption,
  .gallery_image_caption_pages {
    font-size: 7px !important;
    line-height: 1.1 !important;
  }
    
      /* ---------- Top bar ---------- */

  /* Lift tree + thumbnails together (bigger number = higher) */
   /* Lift tree + thumbnails together (bigger number = higher) */
  body.mobile[data-page-id="23460276"] .content_container .page { margin-top: -6vw !important; }
    
  /* Bar: less space above the text, a little below */
  body.mobile .pinned_top bodycopy {
    padding-top: 8px !important;      /* space above the text: lower = thinner bar */
    padding-bottom: 4px !important;   /* space below the text */
  }

  /* Menu text: bigger, typed spaces switched off, so the gap is controlled below */
  body.mobile .pinned_top h2 {
    font-size: 19px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 0 0 8px !important;      /* distance from the left screen edge */
    text-align: left !important;
    text-indent: 0 !important;
    word-spacing: -0.26em !important;   /* cancels the typed spaces */
  }
  /* GAP between "Portfolio" and your name */
  body.mobile .pinned_top h2 a:first-child {
    margin-right: 18px !important;      /* visible gap ≈ this number minus 3px */
  }
  /* Keep the normal space inside "Charlotte Roschka" */
  body.mobile .pinned_top h2 a + a {
    word-spacing: normal !important;
  }

  /* Menu symbol: bottom line on the text baseline */
  body.mobile #site_menu_button {
    font-size: 25px !important;
    right: 12px !important;
    top: 7px !important;            /* = padding-top above + 1.5px */
    margin: 0 !important;
    height: 21px !important;
    line-height: 22px !important;
  }
 
  /* CV: bottom-right corner, twice as big */
  body.mobile[data-page-id="23460276"] svg.marker-overlay { overflow: visible !important; }
  body.mobile[data-page-id="23460276"] #svg_2 {
    scale: 2.8;
    transform-box: fill-box;
    transform-origin: 100% 100%;
  }


  /* ---------- Backgrounds ---------- */

  /* All pages: black */
  body.mobile .page {
    background-color: #000 !important;
  }

  /* Home page: the tree */
  body.mobile[data-page-id="23460276"] .page {
    background-image: url(https://freight.cargo.site/t/original/i/8f643fab1290f9ef040745241eb0f3dbd73b8b0c7c0e13193f578b93ed6c718b/tree-of-life-small.png) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 150% auto !important;   /* tree size */
  }

  /* Top bar: plain grey, no tree */
   body.mobile[data-page-id="23460276"] .pinned .page {
    background-image: none !important;
    background-color: #262626 !important;
  }


  /* ---------- Home page thumbnails ---------- */

  /* Let the thumbnails use the whole screen instead of Cargo's small middle box */
  body.mobile[data-page-id="23460276"] .content_container .page { min-height: 100vh !important; }
  body.mobile[data-page-id="23460276"] .content_container .page bodycopy,
  body.mobile[data-page-id="23460276"] .content_container .page .page_content,
  body.mobile[data-page-id="23460276"] [image-gallery="montessori"],
  body.mobile[data-page-id="23460276"] [image-gallery="montessori"] .thumbnail_sizer {
    position: static !important;
    transform-style: flat !important;
  }
  /* No transform here, so the thumbnails stay draggable */
  body.mobile[data-page-id="23460276"] [image-gallery="montessori"] a.gallery_card {
    position: absolute !important;
  }

  /* Captions: bigger and wider */
  body.mobile[data-page-id="23460276"] a.gallery_card .gallery_image_caption {
    font-size: 10px !important;
    line-height: 1.2 !important;
    width: 36vw !important;
    margin-left: calc(50% - 18vw) !important;
    margin-right: 0 !important;
    text-align: center !important;
  }
  /* Aligned with the image start */
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Leaking-Bodies"] .gallery_image_caption,
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Insertae-Sedis"] .gallery_image_caption {
    margin-left: 0 !important;
    text-align: left !important;
  }
  /* Aligned with the image end */
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Bioplastic-Degradation"] .gallery_image_caption {
    margin-left: calc(100% - 36vw) !important;
    text-align: right !important;
  }
  /* When too much...: compact, mirrored 4-line block, right-aligned */
  body.mobile[data-page-id="23460276"] a.gallery_card[data-gallery-item-index="1"] .gallery_image_caption {
    width: 90px !important;
    margin-left: calc(21.8vw - 90px) !important;
    text-align: right !important;
  }
  /* All others (MuShell, Heisenhade, epimorph, New Genetic Creations, Crawlers): centred */

  /* Positions per project (tree at 150%). left = LEFT EDGE, top = down (+) / up (-), width = size */
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Leaking-Bodies"]                { left: calc(50% + -46.1vw) !important; top: calc(50% + -56.8vw) !important; width: 22% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="When-too-much-becomes-nothing"] { left: calc(50% + 26.2vw) !important;  top: calc(50% + 37.6vw) !important;  width: 33% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="MuShell"]                       { left: calc(50% + -13.4vw) !important; top: calc(50% + -37.5vw) !important; width: 19.3% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Heisenhade"]                    { left: calc(50% + 18.3vw) !important;  top: calc(50% + 15.5vw) !important;  width: 13.7% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Insertae-Sedis"]                { left: calc(50% + -48.7vw) !important; top: calc(50% + 34.6vw) !important;  width: 14.5% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="epimorph"]                      { left: calc(50% + -22vw) !important;   top: calc(50% + 29.6vw) !important;  width: 11% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Bioplastic-Degradation"]        { left: calc(50% + 25.8vw) !important;  top: calc(50% + -27.1vw) !important; width: 19.8% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="New-Genetic-Creations"]         { left: calc(50% + -38.6vw) !important; top: calc(50% + 0.3vw) !important;   width: 18% !important; }
  body.mobile[data-page-id="23460276"] a.gallery_card[href="Crawlers"]                      { left: calc(50% + -36.2vw) !important; top: calc(50% + -31.3vw) !important; width: 19.8% !important; }
}

/* ===== FREELANCE PAGE (ID 38695157): the mirrored side =====
   Paste at the END of cargo.css, outside any @media block. */

/* White page, black text, everything right-aligned */
body[data-page-id="38695157"],
body[data-page-id="38695157"] .content_container .page {
  background-color: #fff !important;
  background-image: none !important;
}
body[data-page-id="38695157"] .content_container bodycopy,
body[data-page-id="38695157"] .content_container h1,
body[data-page-id="38695157"] .content_container h2,
body[data-page-id="38695157"] .content_container a,
body[data-page-id="38695157"] .content_container .gallery_image_caption {
  color: #000 !important;
  text-shadow: none !important;
  text-align: right !important;
}
body[data-page-id="38695157"] .content_container a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Slideshow arrows: black on white */
body[data-page-id="38695157"] .image-gallery-navigation .inner-color { stroke: #000 !important; }
body[data-page-id="38695157"] .image-gallery-navigation .outer-color { stroke: rgba(255, 255, 255, 0.6) !important; }

/* Menu bar: light grey, no menu button.
   Left: Art. Right: Portfolio (→ this page) · Charlotte Roschka */
body[data-page-id="38695157"] .pinned .page {
  background-image: none !important;
  background-color: #d9d9d9 !important;
  width: 100% !important;
  max-width: none !important;
}
body[data-page-id="38695157"] .pinned_top h2 {
  width: 100% !important;
  padding-left: 2.6rem !important;
  padding-right: calc(2.6rem - 13px) !important;
}
body[data-page-id="38695157"] .pinned_top h2 a { color: #000 !important; }
body[data-page-id="38695157"] .pinned_top h2 .nav-portfolio,
body[data-page-id="38695157"] .pinned_top h2 .nav-extra { display: none !important; }
body[data-page-id="38695157"] .pinned_top h2 .nav-art {
  display: inline !important;
  order: 0;
  margin: 0 auto 0 0 !important;
}
body[data-page-id="38695157"] .pinned_top h2 .nav-portfolio-fl { display: inline !important; order: 1; }
body[data-page-id="38695157"] .pinned_top h2 .nav-name { order: 2; }
body[data-page-id="38695157"] #site_menu_button { display: none !important; }

/* Freelance page: content pinned to the right edge (mirror of the other pages) */
body[data-page-id="38695157"] .content_container .page {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Freelance: column headings right-aligned */
body[data-page-id="38695157"] .content_container .fl-col-head {
  text-align: right !important;
}

/* Freelance: captions right-aligned under the images */
body[data-page-id="38695157"] .content_container .fl-card,
body[data-page-id="38695157"] .content_container .fl-title,
body[data-page-id="38695157"] .content_container .fl-tag {
  text-align: right !important;
}

@media (max-width: 768px) {
  body.mobile[data-page-id="38695157"] .pinned_top h2 {
    padding-left: 8px !important;
    padding-right: 3px !important;
  }
  body.mobile[data-page-id="38695157"] .pinned_top h2 .nav-art { margin: 0 auto 0 0 !important; }
}


/* ===== MENU BAR: Portfolio · name · Freelance (all pages) =====
   Paste at the END of cargo.css, outside any @media block. */
.pinned_top h2 {
  display: flex !important;
  align-items: baseline;
  padding-left: 2.6rem !important;   /* same distance from the edge as the menu button */
  text-indent: 0 !important;
  word-spacing: normal !important;
  box-sizing: border-box;
}
.pinned_top h2 .nav-portfolio,
.pinned_top h2 .nav-portfolio-fl,
.pinned_top h2 .nav-art { margin-right: 1.37em; }
.pinned_top h2 .nav-art,
.pinned_top h2 .nav-portfolio-fl { display: none; }
   /* only on the freelance page */
/* Desktop: Freelance after your name, at 2× the Portfolio–name gap */
.pinned_top h2 .nav-extra { flex: none; margin-left: 2.74em; }

/* Home page links (CV + Freelance): hidden on desktop */
.home-links { display: none; }

/* Desktop: menu bar text and button a bit lower */
.pinned_top h2 {
  position: relative;
  top: 4px;                               /* more = lower */
}
#site_menu_button {
  top: calc(0.4rem + 3px) !important;     /* keep the same number as above */
}

@media (max-width: 768px) {
  body.mobile .pinned_top h2 {
    padding-left: 8px !important;
    word-spacing: normal !important;
  }
  body.mobile .pinned_top h2 .nav-portfolio,
  body.mobile .pinned_top h2 .nav-portfolio-fl,
  body.mobile .pinned_top h2 .nav-art { margin-right: 15px !important; }

  /* Mobile: no Freelance in the bar */
  body.mobile .pinned_top h2 .nav-extra { display: none !important; }

  /* Mobile home: CV + Freelance, bold, centred at the very bottom */
  body.mobile[data-page-id="23460276"] .home-links {
    display: flex !important;
    gap: 15px;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(6px + env(safe-area-inset-bottom));   /* lower = smaller px */
    z-index: 5;
    font-size: 19px;
    line-height: 0;
  }
  body.mobile[data-page-id="23460276"] .home-links a {
    font-weight: 400 !important;   /* same weight as "Portfolio" in the bar */
    color: #fff !important;
    border-bottom: 0;
  }
  /* hide the old drawn CV on mobile (replaced by the line above) */
  body.mobile[data-page-id="23460276"] svg.marker-overlay { display: none !important; }
}

/* ===== FREELANCE GRID (page 38695157) — complete =====
   Delete ALL other rules with "fl-" in cargo.css, then paste this
   at the END of cargo.css, outside any @media block. */

/* Title + tagline */
body[data-page-id="38695157"] .content_container .fl-head {
  text-align: right !important;
  margin-bottom: 72px;
}

/* Desktop: 3 columns, one per category */
body[data-page-id="38695157"] .content_container .fl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  column-gap: 24px;
  row-gap: 44px;
}
body[data-page-id="38695157"] .content_container .fl-web   { grid-column: 1; }
body[data-page-id="38695157"] .content_container .fl-tech  { grid-column: 2; }
body[data-page-id="38695157"] .content_container .fl-teach { grid-column: 3; }

/* Column headings */
body[data-page-id="38695157"] .content_container .fl-col-head {
  grid-row: 1;
  font-size: 22px;
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: -18px;
  text-align: left !important;    /* desktop: headings left */
}

/* Cards */
body[data-page-id="38695157"] .content_container .fl-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left !important;    /* desktop: left */
}
body[data-page-id="38695157"] .content_container .fl-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 !important;
}
body[data-page-id="38695157"] .content_container .fl-crop-left img {
  object-position: left center;   /* Terpsi: keep the logo visible */
}
body[data-page-id="38695157"] .content_container .fl-card a {
  text-decoration: none !important;
  border: 0 !important;
}
body[data-page-id="38695157"] .content_container .fl-title {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left !important;    /* desktop: left */
}
body[data-page-id="38695157"] .content_container .fl-tag {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.25;
  margin-top: -8px;
  color: #555 !important;
  text-align: left !important;    /* desktop: left */
}

/* "Work with me": full width, right-aligned */
body[data-page-id="38695157"] .content_container .fl-contact {
  grid-column: 1 / -1 !important;
  text-align: right !important;
  margin-top: 72px;
}

@media (max-width: 768px) {
  body.mobile[data-page-id="38695157"] .content_container .fl-head { margin-bottom: 48px; }

  /* Phone: categories stacked, 2 per row, filling from the right */
  body.mobile[data-page-id="38695157"] .content_container .fl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row !important;
    column-gap: 14px;
    row-gap: 26px;
    direction: rtl;
  }
  body.mobile[data-page-id="38695157"] .content_container .fl-grid > * { direction: ltr; }

  body.mobile[data-page-id="38695157"] .content_container .fl-col-head {
    grid-column: 1 / -1 !important;
    grid-row: auto;
    font-size: 15px;
    margin: 10px 0 -12px 0;
    text-align: right !important;  /* phone: headings right */
  }
  body.mobile[data-page-id="38695157"] .content_container .fl-card {
    grid-column: auto !important;
    gap: 7px;
  }
  /* phone: captions right */
  body.mobile[data-page-id="38695157"] .content_container .fl-card,
  body.mobile[data-page-id="38695157"] .content_container .fl-title,
  body.mobile[data-page-id="38695157"] .content_container .fl-tag {
    text-align: right !important;
  }
  body.mobile[data-page-id="38695157"] .content_container .fl-title,
  body.mobile[data-page-id="38695157"] .content_container .fl-tag { font-size: 12px; }
  body.mobile[data-page-id="38695157"] .content_container .fl-tag { margin-top: -5px; }
  body.mobile[data-page-id="38695157"] .content_container .fl-contact { margin-top: 48px; }
  /* phone: empty line before "Email me" */
  body.mobile[data-page-id="38695157"] .content_container .fl-contact a {
    display: inline-block;
    margin-top: 1.25em;
  }
}