/**
 * Content
 */

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

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: 0.4;
}

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 1em;
}

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

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

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

.gallery_image_caption {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(41, 41, 41, 0.3);
}

/**
 * Loading Animation
 */

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

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	font-size: 3rem;
	color: rgba(0, 0, 0, 0.9);
	font-family: "Karla", Helvetica, sans-serif, "Helvetica Neue Regular", Icons;
	line-height: 1.3;
    letter-spacing: 0.01em;
	font-style: normal;
	font-weight: normal;
}

[data-predefined-style="true"] bodycopy a {
	color: rgba(0, 0, 0, 0.9);
	padding-bottom: 0.1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.9);
	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: "Nitti Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 4.6rem;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.9);
    letter-spacing: 0.01em;
	}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

[data-predefined-style="true"] h2 {
	font-family: Karla, Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.9);
	font-size: 2.2rem;
	line-height: 1.3;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgb(41, 41, 41);
}

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

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.9);
	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: 10px;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: 0 /*!content_left*/;
	margin-right: auto /*!content_left*/;
	text-align: left /*!text_left*/;
}

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

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

[data-css-preset] .content_padding {
	padding-top: 1.9rem /*!main_margin*/;
	padding-bottom: 1.9rem /*!main_margin*/;
	padding-left: 1.9rem /*!main_margin*/;
	padding-right: 1.9rem /*!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: transparent/*!thumbnails_bgcolor*/;   
}

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

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

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

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

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

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

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: 0.1rem;
    font-size: 2.2rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.9);
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
	line-height: 1.3;
}


.thumbnails .tags {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
	line-height: 1.3;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.35);
	font-family: 'Neue Haas Grotesk', Icons;
	font-style: normal;
}

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

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

/**
 * Thumbnail Hover
 */

.thumbnails .thumbnail > a {
	position: relative;
}

.thumbnails .thumbnail .title {
	background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    margin: 2.4rem;
    color: rgba(255, 255, 255, 1);
    align-content: center;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    opacity: 0;
}

.thumbnails .title span {
	margin: auto;
	display: inline-block;
}

.thumbnails .thumbnail:hover .title {
    opacity: 1;
}

body.mobile .thumbnails .thumbnail:hover .title {
	opacity: 0;
}

/**
 * Site Menu
 */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.9);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: .6rem /*!site_menu_button*/;
	right: .6rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
    font-size: 34px;
}

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

#site_menu_button.active {
	display: none;
}

/**
 * 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: 400px;
	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: 1em;
}

#site_menu .break {
	height: 28px;
}

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

/*
 * Shop Button
 */

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

#shop_button.text {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 2.2rem;
    padding: 0;
    line-height: 1.2;
	font-style: normal;
	font-weight: 400;
}

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

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

/*
 * Shop Product Widget
 */

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

.shop_product .price {
	font-family: "Neue Haas Grotesk", Icons;
	font-style: normal;
	font-weight: 400;
	font-size: 2.2rem;
	line-height: 1;
	color: rgba(0, 0, 0, 0.9);
    display: block;
    margin-bottom: 1rem;
}

.shop_product .dropdown {
    font-family: "Neue Haas Grotesk", Icons;
    color: rgba(0, 0, 0, .9);
    font-size: 1.4rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: .7rem 1rem;
}

.shop_product .button {
    font-family: "Neue Haas Grotesk", Icons;
	font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.8);
    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: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!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: rgba(0, 0, 0, 0.9) /*!quick_view_bgcolor*/;
}

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

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    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;
}

.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: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

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

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

.quick-view-navigation .close-button .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

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

.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: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/**
 * 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: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}


/**
 * 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(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    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(0,0,0,0.15);
}

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

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

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 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(0, 0, 0, 0.5);
}

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

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


/* === VISUAL VOICES FULL-PAGE READING MODE: START === */

/*
  Header and footer stay above the visual. Their pseudo-elements extend the
  white area to the viewport edge, so the animation never appears before the
  header or after the footer.
*/
#vv-site-header,
#vv-site-footer {
  position: relative !important;
  z-index: 5 !important;
  background: #ffffff;
}

#vv-site-header {
  margin-top: -40px !important;
}

#vv-site-header::before,
#vv-site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

#vv-site-header::before {
  top: -100vh;
  bottom: -120px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff calc(100% - 120px),
    rgba(255, 255, 255, 0) 100%
  );
}

#vv-site-footer::before {
  top: -120px;
  height: calc(100vh + 120px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    #ffffff 120px,
    #ffffff 100%
  );
}

/*
  One fixed, viewport-centred visual. Using left: 50% plus translateX avoids
  Cargo grid padding shifting a 100vw element toward the right.
*/
#visual-voices-phrase-bar {
  --vertical-overscan: clamp(100px, 8vw, 150px);

  position: fixed !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  z-index: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  margin: 0 !important;
  transform: translateX(-50%) !important;

  overflow: visible !important;
  background: #ffffff;

  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

#visual-voices-phrase-bar > #visual-voices-phrase-canvas {
  position: absolute !important;
  top: calc(-1 * var(--vertical-overscan)) !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  z-index: 0;

  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: calc(
    100% + var(--vertical-overscan) + var(--vertical-overscan)
  ) !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0;

  background: transparent;
  pointer-events: none;
}

/*
  The reading gradient belongs to the text column itself. Therefore the visual
  above the first line stays at full intensity, while the copy remains clear.
*/
#vv-volunteer-copy {
  position: relative !important;
  z-index: 3 !important;
  isolation: isolate;

  box-sizing: border-box;
  width: calc(100% - 40px) !important;
  max-width: 620px !important;

  margin-top: clamp(150px, 20vh, 220px) !important;
  margin-right: auto !important;
  margin-bottom: 120px !important;
  margin-left: auto !important;

  padding: 24px 18px 36px !important;

  background: transparent !important;
  color: #111315;

  font-size: 14px !important;
  line-height: 1.45 !important;
  text-align: center;
}

/*
  The fade uses the previous 760px width, while the text remains at 620px.
  Because it belongs to the copy, it starts exactly where the copy starts.
*/
#vv-volunteer-copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;

  box-sizing: border-box;
  width: calc(100vw - 24px);
  max-width: 760px;

  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.88) 12%,
    rgba(255, 255, 255, 0.97) 24%,
    rgba(255, 255, 255, 0.97) 76%,
    rgba(255, 255, 255, 0.88) 88%,
    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
}

#vv-volunteer-copy * {
  font-size: inherit !important;
}

#vv-volunteer-copy .vv-lead,
#vv-volunteer-copy .vv-paragraph,
#vv-volunteer-copy .vv-section-title {
  text-align: center;
}

#vv-volunteer-copy ul {
  box-sizing: border-box;
  width: 100%;
  max-width: 570px;

  margin-right: auto;
  margin-left: auto;
  padding-left: 1.5em;

  text-align: left;
}

#vv-volunteer-copy .vv-support-list,
#vv-volunteer-copy .vv-benefits-list {
  padding-left: 0;
}

/*
  EU funding block. CSS controls the image size, so the Cargo image token
  should be written as {image 130} without a scale value.
*/
#vv-volunteer-copy #vv-eu-funding {
  box-sizing: border-box;
  width: min(100%, 900px);
  margin: 36px auto 0;

  display: grid !important;
  grid-template-columns:
    clamp(175px, 10vw, 320px)
    minmax(0, 1fr);

  align-items: center;
  column-gap: clamp(16px, 1.5vw, 36px);
  text-align: left !important;
}

#vv-volunteer-copy #vv-eu-funding .vv-eu-logo {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 320px !important;
  margin: 0 !important;
  text-align: left !important;
}

/*
  Cargo normally renders an image inside a media-item. Both elements are
  constrained so the logo can never overflow onto the disclaimer.
*/
#vv-volunteer-copy #vv-eu-funding .vv-eu-logo media-item,
#vv-volunteer-copy #vv-eu-funding .vv-eu-logo img {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

#vv-volunteer-copy #vv-eu-funding .vv-eu-disclaimer {
  min-width: 0;
  max-width: none;
  margin: 0 !important;

  font-size: clamp(10px, 0.5vw, 18px) !important;
  line-height: 1.4 !important;
  text-align: left !important;
  overflow-wrap: anywhere;
  opacity: 0.8;
}

/* === RESPONSIVE COPY: TABLET, LAPTOP AND LARGE SCREENS === */

@media (min-width: 641px) {
  #vv-volunteer-copy {
    width: clamp(620px, 34vw, 1240px) !important;
    max-width: calc(100vw - 40px) !important;
    font-size: clamp(14px, 0.75vw, 28px) !important;
  }

  #vv-volunteer-copy::before {
    width: calc(100% + clamp(140px, 8vw, 320px)) !important;
    max-width: none !important;
  }
}

/* === MOBILE === */

@media (max-width: 640px) {
  #vv-site-header {
    margin-top: -20px !important;
  }

  #vv-volunteer-copy {
    width: calc(100vw - 20px) !important;
    max-width: 520px !important;

    margin-top: 110px !important;
    margin-bottom: 70px !important;

    padding: 22px 16px 30px !important;

    font-size: clamp(13px, 3.6vw, 15px) !important;
  }

  #vv-volunteer-copy::before {
    width: calc(100vw - 10px) !important;
  }

  /*
    Keep the EU logo and disclaimer side by side on mobile. The logo occupies
    roughly one third of the row and is larger than the previous mobile logo.
  */
  #vv-volunteer-copy #vv-eu-funding {
    width: 100%;
    margin-top: 30px;

    grid-template-columns:
      clamp(115px, 31vw, 135px)
      minmax(0, 1fr);

    column-gap: 14px;
  }

  #vv-volunteer-copy #vv-eu-funding .vv-eu-logo {
    max-width: 135px !important;
  }

  #vv-volunteer-copy #vv-eu-funding .vv-eu-disclaimer {
    font-size: 8px !important;
    line-height: 1.4 !important;
  }
}


/* === VISUAL VOICES FULL-PAGE READING MODE: END === */

/* === KARTZIN PAGE-SCOPED FRAME: START === */

/*
  Every selector in this block begins with #kartzin-page.
  Therefore this block cannot style another page unless that page deliberately
  uses the same unique ID.
*/

#kartzin-page {
  --kz-background: #ffffff;
  --kz-frame-color: #ff0035;
  --kz-text-color: #111111;
  --kz-soft-color: #f2f2f2;
  --kz-logo-color: #000000;
  --kz-footer-color: #000000;
  --kz-line: 2px;
  --kz-rail-width: clamp(32px, 4.85vw, 70px);
  --kz-unit-height: clamp(82px, 8.15vw, 118px);

  position: relative;
  isolation: isolate;
  box-sizing: border-box;

  width: 100vw;
  max-width: 100vw;
  margin-top: -1.9rem;
  margin-right: 0;
  margin-bottom: -1.9rem;
  margin-left: calc(50% - 50vw);

  /* Clip only sideways; the page must remain free to grow vertically. */
  overflow-x: clip;
  overflow-y: visible;
  background: var(--kz-background);
  color: var(--kz-frame-color);
}

#kartzin-page,
#kartzin-page * {
  box-sizing: border-box;
}

#kartzin-page .kz-frame {
  display: grid;
  grid-template-columns:
    var(--kz-rail-width)
    minmax(0, 1fr)
    var(--kz-rail-width);
  grid-template-rows:
    var(--kz-unit-height)
    minmax(
      calc(100vh - var(--kz-unit-height) - var(--kz-unit-height)),
      auto
    )
    auto;

  width: 100%;
  min-height: 100vh;
  background: var(--kz-background);
}

/* CENTRAL HEADER */

#kartzin-page .kz-header {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.5vw, 24px);

  min-width: 0;
  padding: 8px clamp(12px, 2.6vw, 42px);

  border-top: var(--kz-line) solid var(--kz-frame-color);
  border-bottom: var(--kz-line) solid var(--kz-frame-color);
  background: var(--kz-background);
}

#kartzin-page .kz-main-logo {
  display: flex;
  flex: 0 0 clamp(44px, 3.8vw, 58px);
  align-items: center;
  justify-content: flex-start;

  width: clamp(44px, 3.8vw, 58px);
  height: 100%;
  min-width: 0;

  color: var(--kz-logo-color);
}

#kartzin-page .kz-header-title {
  flex: 0 1 auto;
  margin: 0;

  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-align: left;
  white-space: nowrap;
}

#kartzin-page .kz-main-logo media-item,
#kartzin-page .kz-main-logo img,
#kartzin-page .kz-main-logo svg {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100% !important;

  margin: 0 !important;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
}

/* CENTRAL PAGE CONTENT */

#kartzin-page .kz-main {
  grid-column: 2;
  grid-row: 2;

  /* Override any stale inline values if Cargo cached the former MAIN tag. */
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  min-height: calc(
    100vh - var(--kz-unit-height) - var(--kz-unit-height)
  );

  /*
    Cargo galleries are taller than the first viewport and lazy-load as the
    visitor scrolls. Visible overflow lets the grid row grow to the full
    content height instead of cutting the page at roughly 100vh.
  */
  overflow: visible;
  background: #d9d9d9;
  color: var(--kz-text-color);
}

#kartzin-page .kz-main img,
#kartzin-page .kz-main media-item {
  max-width: 100%;
}


/* CONTINUOUS CA BACKGROUND — ONLY INSIDE THE CENTRAL CONTENT */

#kartzin-page .kz-ca-background {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  overflow: hidden;
  background: #d9d9d9;
  pointer-events: none;
}

#kartzin-page #kz-ca-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #d9d9d9;
  pointer-events: none;
}

#kartzin-page .kz-main > .kz-section {
  position: relative;
  z-index: 1;
}


/* FOUR CONTENT SECTIONS */

#kartzin-page .kz-section {
  width: 100%;
  padding: clamp(32px, 5vw, 82px) clamp(20px, 5vw, 76px);
  border-top: 0 !important;
  background: transparent !important;
}

#kartzin-page .kz-section--first {
  border-top: 0;
}

#kartzin-page .kz-section-heading {
  display: grid;
  grid-template-columns: minmax(42px, 0.8fr) minmax(0, 5.2fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(38px, 7vw, 110px);
}

#kartzin-page .kz-section-heading h1,
#kartzin-page .kz-intro-layout h2,
#kartzin-page .kz-documentation-heading h2 {
  margin: 0;
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-weight: 500;
  line-height: 0.95;
}

#kartzin-page .kz-section-heading h1 {
  max-width: 12ch;
  font-size: clamp(42px, 8vw, 64px);
  letter-spacing: -0.055em;
}

#kartzin-page .kz-section-index,
#kartzin-page .kz-doc-index {
  color: var(--kz-frame-color);
  font-family: Karla, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

#kartzin-page .kz-section-index {
  padding-top: 0.35em;
  font-size: clamp(14px, 1.4vw, 22px);
}

#kartzin-page .kz-about-layout,
#kartzin-page .kz-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

#kartzin-page .kz-about-layout {
  min-height: min(62vw, 720px);
}

#kartzin-page .kz-intro-layout {
  padding-bottom: clamp(50px, 8vw, 130px);
}

#kartzin-page .kz-intro-layout h2,
#kartzin-page .kz-documentation-heading h2 {
  font-size: clamp(25px, 3.2vw, 52px);
  letter-spacing: -0.035em;
}

#kartzin-page .kz-copy {
  max-width: 58ch;
  color: var(--kz-text-color);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.35;
}

#kartzin-page .kz-copy--lead {
  font-size: clamp(20px, 2.2vw, 36px);
  line-height: 1.2;
}

#kartzin-page .kz-copy p {
  margin-top: 0;
}

#kartzin-page .kz-loop-media {
  width: 100%;
  align-self: stretch;
}

#kartzin-page .kz-loop-media video,
#kartzin-page .kz-loop-media media-item,
#kartzin-page .kz-loop-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: clamp(320px, 45vw, 680px);
  object-fit: cover;
}

#kartzin-page .kz-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(240px, 32vw, 520px);
  padding: 24px;
  border: var(--kz-line) dashed var(--kz-frame-color);
  background: var(--kz-soft-color);
  color: var(--kz-frame-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(13px, 1.3vw, 20px);
  text-align: center;
}

#kartzin-page .kz-loop-media .kz-media-placeholder {
  height: 100%;
  min-height: clamp(320px, 45vw, 680px);
}

#kartzin-page .kz-documentation-heading {
  padding: clamp(22px, 2.8vw, 44px) 0;
  border-top: var(--kz-line) solid var(--kz-text-color);
  border-bottom: var(--kz-line) solid var(--kz-text-color);
}

#kartzin-page .kz-documentation {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px) clamp(16px, 2.5vw, 40px);
  padding-top: clamp(32px, 5vw, 80px);
}

#kartzin-page .kz-doc-entry {
  grid-column: span 6;
  min-width: 0;
}

#kartzin-page .kz-doc-entry--text {
  grid-column: 1 / span 5;
}

#kartzin-page .kz-doc-entry--wide {
  grid-column: 1 / -1;
}

#kartzin-page .kz-doc-index {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(12px, 1vw, 16px);
}

#kartzin-page .kz-doc-entry img,
#kartzin-page .kz-doc-entry video,
#kartzin-page .kz-doc-entry media-item,
#kartzin-page .kz-doc-entry .image-gallery {
  width: 100% !important;
  max-width: 100% !important;
}


/* FUNDING / CREDITS */

#kartzin-page .kz-funding {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 5vw, 76px);
  border: 0;
  border-bottom: var(--kz-line) solid var(--kz-frame-color);
  background: var(--kz-background);
  color: var(--kz-text-color);
}

#kartzin-page .kz-funding-logo media-item,
#kartzin-page .kz-funding-logo img {
  display: block;
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
}

#kartzin-page .kz-funding small {
  max-width: 88ch;
  font-size: clamp(10px, 0.95vw, 14px);
  line-height: 1.4;
}


/* CENTRAL FOOTER */

#kartzin-page .kz-footer {
  grid-column: 2;
  grid-row: 3;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  padding: 0;

  border-top: var(--kz-line) solid var(--kz-frame-color);
  border-bottom: var(--kz-line) solid var(--kz-frame-color);
  background: var(--kz-background);
  color: var(--kz-footer-color);
}

#kartzin-page .kz-footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--kz-unit-height);
  padding: clamp(12px, 2.2vw, 34px);
  gap: 10px 28px;
}


/* LEFT AND RIGHT TOP/BOTTOM CELLS */

#kartzin-page .kz-frame-end {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding-top: 7px;

  overflow: hidden;
  border: var(--kz-line) solid var(--kz-frame-color);
  background: var(--kz-background);
  color: var(--kz-frame-color);
}

#kartzin-page .kz-frame-end--left {
  grid-column: 1;
  justify-content: flex-start;
}

#kartzin-page .kz-frame-end--right {
  grid-column: 3;
  justify-content: flex-start;
}

#kartzin-page .kz-frame-end--top {
  grid-row: 1;
}

#kartzin-page .kz-frame-end--bottom {
  grid-row: 3;
  align-items: flex-end;
  padding-top: 0;
  padding-bottom: 3px;
}


/* THE 12 NUMBERED CELLS ON EACH SIDE */

#kartzin-page .kz-side-list {
  grid-row: 2;
  display: grid;
  grid-template-rows: repeat(12, minmax(0, 1fr));
  min-height: 0;

  overflow: hidden;
  border-right: var(--kz-line) solid var(--kz-frame-color);
  border-left: var(--kz-line) solid var(--kz-frame-color);
  background: var(--kz-background);
  color: var(--kz-frame-color);
}

#kartzin-page .kz-side-list--left {
  grid-column: 1;
}

#kartzin-page .kz-side-list--right {
  grid-column: 3;
}

#kartzin-page .kz-side-cell {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  padding-top: clamp(7px, 0.9vw, 15px);

  overflow: hidden;
  border-bottom: var(--kz-line) solid var(--kz-frame-color);

  font-family: Karla, Arial, sans-serif;
  font-size: clamp(10px, 1.25vw, 19px);
  line-height: 1;
  font-weight: 700;
}

#kartzin-page .kz-side-cell:last-child {
  border-bottom: 0;
}

/* Left numbers sit against the inner-right edge. */
#kartzin-page .kz-side-list--left .kz-side-cell {
  justify-content: flex-end;
  padding-right: clamp(6px, 0.72vw, 11px);
  padding-left: 2px;
  text-align: right;
}

/* Right numbers sit against the inner-left edge. */
#kartzin-page .kz-side-list--right .kz-side-cell {
  justify-content: flex-start;
  padding-right: 2px;
  padding-left: clamp(6px, 0.72vw, 11px);
  text-align: left;
}

#kartzin-page .kz-side-cell--word {
  justify-content: flex-start !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}


/* WORD ORIENTATION — ONLY THESE ELEMENTS ARE REVERSED */

#kartzin-page .kz-frame-word {
  display: block;
  flex: 0 0 auto;
  width: max-content;

  color: var(--kz-frame-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(10px, 1.24vw, 18px);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transform-origin: center;
}

#kartzin-page .kz-frame-word--reversed {
  transform: rotate(180deg);
}


/* MOBILE */

@media (max-width: 640px) {
  #kartzin-page {
    --kz-rail-width: clamp(28px, 8vw, 36px);
    --kz-unit-height: clamp(64px, 18vw, 84px);
    --kz-line: 1.5px;
  }

  #kartzin-page .kz-header,
  #kartzin-page .kz-footer-content {
    padding: 10px 12px;
  }

  #kartzin-page .kz-side-cell {
    padding-top: 7px;
    font-size: 10px;
  }

  #kartzin-page .kz-side-list--left .kz-side-cell {
    padding-right: 5px;
  }

  #kartzin-page .kz-side-list--right .kz-side-cell {
    padding-left: 5px;
  }

  #kartzin-page .kz-frame-word {
    font-size: 9px;
  }

  #kartzin-page .kz-footer-content {
    gap: 6px 14px;
  }

  #kartzin-page .kz-section {
    padding: 28px 16px 44px;
  }

  #kartzin-page .kz-section-heading {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 42px;
  }

  #kartzin-page .kz-section-heading h1 {
    font-size: clamp(38px, 12vw, 62px);
  }

  #kartzin-page .kz-about-layout,
  #kartzin-page .kz-intro-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #kartzin-page .kz-about-layout {
    min-height: 0;
  }

  #kartzin-page .kz-intro-layout {
    padding-bottom: 54px;
  }

  #kartzin-page .kz-loop-media video,
  #kartzin-page .kz-loop-media media-item,
  #kartzin-page .kz-loop-media img,
  #kartzin-page .kz-loop-media .kz-media-placeholder {
    min-height: 58vw;
  }

  #kartzin-page .kz-documentation {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 36px;
  }

  #kartzin-page .kz-doc-entry,
  #kartzin-page .kz-doc-entry--text,
  #kartzin-page .kz-doc-entry--wide {
    grid-column: 1;
  }

  #kartzin-page .kz-funding {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }
}
/* KARTZIN ABOUT GIF */
#kartzin-page .kz-loop-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

#kartzin-page .kz-loop-media media-item,
#kartzin-page .kz-loop-media img {
  display: block !important;
  width: 70% !important;
  max-width: none !important;
  height: 70% !important;
  margin: 0 0 0 auto !important;
  object-fit: cover !important;
}

/* FIRST KARTZIN ABOUT */

#kartzin-page #kartzin-about .kz-section-heading--index-only {
  display: block;
  margin-bottom: clamp(38px, 7vw, 110px);
}

#kartzin-page #kartzin-about .kz-intro-layout--kartzin {
  padding-bottom: 0;
}

#kartzin-page #kartzin-about .kz-about-content {
  min-width: 0;
}

#kartzin-page #kartzin-about .kz-about-content .kz-loop-media {
  margin-top: clamp(28px, 4vw, 64px);
}

/* ABOUT KARTZIN: TEXT LEFT — GIF RIGHT */

#kartzin-page #kartzin-about .kz-intro-layout--kartzin {
  display: block !important;
  width: 100%;
  padding-bottom: 0;
}

#kartzin-page #kartzin-about .kz-intro-layout--kartzin > h2 {
  margin: 0 0 clamp(32px, 5vw, 70px);
}

#kartzin-page #kartzin-about .kz-about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  width: 100%;
  min-width: 0;
}

#kartzin-page #kartzin-about .kz-about-content .kz-loop-media {
  margin-top: 0;
}

@media (max-width: 640px) {
  #kartzin-page #kartzin-about .kz-about-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* COMMONWEALTH FUNDING INSIDE THE FOOTER */

#kartzin-page .kz-footer-content--funding {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);

  width: 100%;
  min-height: var(--kz-unit-height);
  padding: clamp(24px, 4vw, 58px) clamp(20px, 5vw, 76px);
}

#kartzin-page .kz-footer-content--funding .kz-funding-logo {
  min-width: 0;
}

#kartzin-page .kz-footer-content--funding .kz-funding-logo media-item,
#kartzin-page .kz-footer-content--funding .kz-funding-logo img,
#kartzin-page .kz-footer-content--funding .kz-funding-logo svg {
  display: block !important;
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  margin: 0 !important;
}

#kartzin-page .kz-footer-content--funding small {
  display: block;
  max-width: 90ch;
  color: var(--kz-text-color);
  font-size: clamp(10px, 0.95vw, 14px);
  line-height: 1.4;
}

@media (max-width: 640px) {
  #kartzin-page .kz-footer-content--funding {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px;
  }

  #kartzin-page .kz-footer-content--funding .kz-funding-logo media-item,
  #kartzin-page .kz-footer-content--funding .kz-funding-logo img,
  #kartzin-page .kz-footer-content--funding .kz-funding-logo svg {
    max-width: 180px !important;
  }
}

#kartzin-page .kz-funding-link {
  display: block;
  width: 100%;
  max-width: 240px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#kartzin-page .kz-funding-link:hover {
  opacity: 0.65;
}

#kartzin-page .kz-funding-link:focus-visible {
  outline: 2px solid var(--kz-frame-color);
  outline-offset: 6px;
}

/* THREE-COLUMN FOOTER */

#kartzin-page .kz-footer-content--funding {
  grid-template-columns:
    minmax(120px, 0.7fr)
    minmax(0, 3fr)
    minmax(120px, 0.7fr);
}

/* VISUAL VOICES HOME LOGO */

#kartzin-page .kz-home-logo {
  justify-self: end;
  min-width: 0;
}

#kartzin-page .kz-home-link {
  display: block;
  width: 100%;
  max-width: 240px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#kartzin-page .kz-home-link media-item,
#kartzin-page .kz-home-link img,
#kartzin-page .kz-home-link svg {
  display: block !important;
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  margin: 0 !important;
}

#kartzin-page .kz-home-link:hover {
  opacity: 0.65;
}

#kartzin-page .kz-home-link:focus-visible {
  outline: 2px solid var(--kz-frame-color);
  outline-offset: 6px;
}

@media (max-width: 640px) {
  #kartzin-page .kz-footer-content--funding {
    grid-template-columns: 1fr;
  }

  #kartzin-page .kz-home-logo {
    justify-self: start;
  }
}


/* ================================================================
   CENTRAL PAGE — PROGRAM SECTIONS
   Title between two rules, two-column overview, clickable projects,
   and one Cargo slideshow per program.
   ================================================================ */

#kartzin-page .kz-program-section .kz-section-heading {
  align-items: center;
  margin-bottom: clamp(42px, 6vw, 92px);
  padding: clamp(22px, 2.8vw, 44px) 0;
  border-top: var(--kz-line) solid var(--kz-text-color);
  border-bottom: var(--kz-line) solid var(--kz-text-color);
}

#kartzin-page .kz-program-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(52px, 8vw, 130px);
}

#kartzin-page .kz-program-column {
  min-width: 0;
}

#kartzin-page .kz-program-column h2 {
  margin: 0 0 clamp(24px, 3.5vw, 52px);
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(25px, 3.2vw, 52px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

#kartzin-page .kz-program-about .kz-copy {
  max-width: 54ch;
}

#kartzin-page .kz-project-list {
  display: grid;
  width: 100%;
  border-top: var(--kz-line) solid var(--kz-text-color);
}

#kartzin-page .kz-project-list a {
  display: grid;
  grid-template-columns: minmax(28px, 0.25fr) minmax(0, 3fr) auto;
  gap: clamp(12px, 1.8vw, 28px);
  align-items: start;
  width: 100%;
  padding: clamp(14px, 1.8vw, 24px) 0;
  border-bottom: var(--kz-line) solid var(--kz-text-color);
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  text-decoration: none;
  transition: color 180ms ease;
}

#kartzin-page .kz-project-number {
  padding-top: 0.18em;
  color: var(--kz-frame-color);
  font-size: clamp(11px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1;
}

#kartzin-page .kz-project-name {
  font-size: clamp(17px, 1.55vw, 25px);
  line-height: 1.18;
}

#kartzin-page .kz-project-arrow {
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 0.95;
  transition: transform 180ms ease;
}

#kartzin-page .kz-project-list a:hover,
#kartzin-page .kz-project-list a:focus-visible {
  color: var(--kz-frame-color);
}

#kartzin-page .kz-project-list a:hover .kz-project-arrow,
#kartzin-page .kz-project-list a:focus-visible .kz-project-arrow {
  transform: translateX(6px);
}

#kartzin-page .kz-project-list a:focus-visible {
  outline: 2px solid var(--kz-frame-color);
  outline-offset: 5px;
}

#kartzin-page .kz-section-slideshow {
  width: 100%;
  min-width: 0;
  padding-bottom: clamp(40px, 6vw, 96px);
}

#kartzin-page .kz-section-slideshow .image-gallery {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#kartzin-page .kz-section-slideshow media-item,
#kartzin-page .kz-section-slideshow img {
  max-width: 100% !important;
}

@media (max-width: 760px) {
  #kartzin-page .kz-program-section .kz-section-heading {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 38px;
    padding: 22px 0;
  }

  #kartzin-page .kz-program-overview {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 56px;
  }

  #kartzin-page .kz-project-list a {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
}

/* SIDE KARTZIN LABELS — ALL KARTZIN PAGES */

/* SIDE KARTZIN — SEPARATE ALIGNMENT */

#kartzin-page {
  --kz-top-word-nudge: 10px;
  --kz-middle-word-nudge: 3px;
  --kz-bottom-word-nudge: 6px;
}

/* Πάνω kartzin */
#kartzin-page .kz-frame-end--top .kz-frame-word {
  position: relative;
  top: calc(-1 * var(--kz-top-word-nudge));
}

/* Μεσαία kartzin */
#kartzin-page .kz-side-cell--word {
  align-items: flex-start !important;
  padding-top: 0 !important;
}

#kartzin-page .kz-side-cell--word .kz-frame-word {
  position: relative;
  top: calc(-1 * var(--kz-middle-word-nudge));
}

/* Κάτω kartzin */
#kartzin-page .kz-frame-end--bottom .kz-frame-word {
  position: relative;
  bottom: calc(-1 * var(--kz-bottom-word-nudge));
}
/* === KARTZIN PAGE-SCOPED FRAME: END === */


/* ================================================================
   ALL KARTZIN PAGES — READABLE TEXT PANELS

   The colour is controlled with --kz-copy-background in the opening
   #kartzin-page tag of each page. All rules remain scoped to Kartzin.
   ================================================================ */

#kartzin-page .kz-copy,
#kartzin-page .kz-project-list {
  position: relative;
  z-index: 2;
  background: var(--kz-copy-background, #ffffff);
}

#kartzin-page .kz-copy {
  width: 100%;
  max-width: 58ch;
  padding: clamp(18px, 2.2vw, 34px);
}

#kartzin-page .kz-project-list {
  padding-right: clamp(16px, 2vw, 30px);
  padding-left: clamp(16px, 2vw, 30px);
}

/* Keep every body-text colour independent from the CA palette. */
#kartzin-page .kz-copy,
#kartzin-page .kz-copy p,
#kartzin-page .kz-project-list a {
  color: var(--kz-text-color);
}

@media (max-width: 640px) {
  #kartzin-page .kz-copy {
    padding: 16px;
  }

  #kartzin-page .kz-project-list {
    padding-right: 14px;
    padding-left: 14px;
  }
}








/* ================================================================
   KARTZIN PROJECT TEMPLATE — ADD THIS AT THE END OF THE EXISTING CSS
   Every rule is restricted to project pages carrying kz-project-template.
   The central /kartzin page is not changed by this block.
   ================================================================ */


/* PROJECT-SPECIFIC CA BACKGROUND
   The actual colour comes from data-ca-background in the page Code View. */

#kartzin-page.kz-project-template .kz-main,
#kartzin-page.kz-project-template .kz-ca-background,
#kartzin-page.kz-project-template #kz-ca-stage {
  background: var(--kz-ca-background, #d9d9d9) !important;
}


/* HEADER: clickable Kartzin identity + non-clickable section title */

#kartzin-page.kz-project-template .kz-header {
  gap: clamp(10px, 1.2vw, 20px);
}

#kartzin-page.kz-project-template .kz-header-home {
  all: unset !important;
  display: flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
  min-width: 0 !important;
  color: var(--kz-text-color) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: none !important;
  transition: opacity 180ms ease;
}

#kartzin-page.kz-project-template .kz-header-home:link,
#kartzin-page.kz-project-template .kz-header-home:visited,
#kartzin-page.kz-project-template .kz-header-home:hover,
#kartzin-page.kz-project-template .kz-header-home:active,
#kartzin-page.kz-project-template .kz-header-home .kz-header-title {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

#kartzin-page.kz-project-template .kz-header-home::before,
#kartzin-page.kz-project-template .kz-header-home::after,
#kartzin-page.kz-project-template .kz-header-home .kz-header-brand::before,
#kartzin-page.kz-project-template .kz-header-home .kz-header-brand::after {
  display: none !important;
  content: none !important;
}

#kartzin-page.kz-project-template .kz-header-home:hover {
  opacity: 0.62;
}

#kartzin-page.kz-project-template .kz-header-home:focus-visible {
  outline: 2px solid var(--kz-frame-color);
  outline-offset: 6px;
}

#kartzin-page.kz-project-template .kz-header-title {
  font-size: clamp(38px, 5.2vw, 82px);
}

#kartzin-page.kz-project-template .kz-header-section-title {
  flex: 0 1 auto;
}


/* ONE PROJECT PAGE */

#kartzin-page.kz-project-template .kz-project-page {
  padding-top: clamp(30px, 4vw, 68px);
  padding-bottom: clamp(54px, 8vw, 130px);
}


/* PROJECT TITLE BETWEEN TWO RULES */

#kartzin-page.kz-project-template .kz-project-heading {
  display: grid;
  grid-template-columns: minmax(42px, 0.8fr) minmax(0, 5.2fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 108px);
  padding: clamp(22px, 2.8vw, 44px) 0;
  border-top: var(--kz-line) solid var(--kz-text-color);
  border-bottom: var(--kz-line) solid var(--kz-text-color);
}

#kartzin-page.kz-project-template .kz-project-heading h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(20px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
  white-space: nowrap;
}


/* ABOUT: COPY LEFT, IMAGE/GIF RIGHT */

#kartzin-page.kz-project-template .kz-project-about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
  padding-bottom: clamp(70px, 10vw, 160px);
}

#kartzin-page.kz-project-template .kz-project-about h2,
#kartzin-page.kz-project-template .kz-project-press h2,
#kartzin-page.kz-project-template .kz-project-gallery h2 {
  margin: 0 0 clamp(26px, 4vw, 60px);
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

#kartzin-page.kz-project-template .kz-project-about-copy,
#kartzin-page.kz-project-template .kz-project-lead-media {
  min-width: 0;
}

#kartzin-page.kz-project-template .kz-project-about .kz-copy {
  max-width: 52ch;
}

#kartzin-page.kz-project-template .kz-project-lead-media media-item,
#kartzin-page.kz-project-template .kz-project-lead-media img,
#kartzin-page.kz-project-template .kz-project-lead-media video {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain !important;
}


/* PRESS SCREENSHOT */

#kartzin-page.kz-project-template .kz-project-press {
  padding-bottom: clamp(70px, 10vw, 160px);
}

#kartzin-page.kz-project-template .kz-press-card {
  display: grid;
  gap: 14px;
  width: 100%;
  color: var(--kz-text-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 19px);
  text-decoration: none !important;
}

#kartzin-page.kz-project-template .kz-press-card media-item,
#kartzin-page.kz-project-template .kz-press-card img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transition: opacity 180ms ease;
}

#kartzin-page.kz-project-template .kz-press-card:hover media-item,
#kartzin-page.kz-project-template .kz-press-card:hover img {
  opacity: 0.72;
}

#kartzin-page.kz-project-template .kz-press-card:focus-visible {
  outline: 2px solid var(--kz-frame-color);
  outline-offset: 7px;
}

#kartzin-page.kz-project-template .kz-press-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(260px, 44vw, 720px);
  padding: 30px;
  border: var(--kz-line) dashed var(--kz-frame-color);
  background: rgba(255, 255, 255, 0.72);
  color: var(--kz-frame-color);
  font-family: Karla, Arial, sans-serif;
  font-size: clamp(14px, 1.3vw, 20px);
  line-height: 1.35;
  text-align: center;
}


/* CARGO GALLERY — CHANGE ITS LAYOUT TO SLIDESHOW IN THE VISUAL EDITOR */

#kartzin-page.kz-project-template .kz-project-gallery {
  width: 100%;
  min-width: 0;
}

#kartzin-page.kz-project-template .kz-project-gallery .image-gallery {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#kartzin-page.kz-project-template .kz-project-gallery media-item,
#kartzin-page.kz-project-template .kz-project-gallery img {
  max-width: 100% !important;
}


/* MOBILE */

@media (max-width: 760px) {
  #kartzin-page.kz-project-template .kz-header {
    gap: 7px;
  }

  #kartzin-page.kz-project-template .kz-header-home {
    gap: 7px;
  }

  #kartzin-page.kz-project-template .kz-main-logo {
    flex-basis: 30px;
    width: 30px;
  }

  #kartzin-page.kz-project-template .kz-header-title {
    font-size: clamp(22px, 7.4vw, 38px);
    letter-spacing: -0.045em;
  }

  #kartzin-page.kz-project-template .kz-project-heading {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 48px;
    padding: 22px 0;
  }

  #kartzin-page.kz-project-template .kz-project-heading h1 {
    font-size: clamp(16px, 5vw, 24px);
    white-space: nowrap;
  }

  #kartzin-page.kz-project-template .kz-project-about {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 78px;
  }

  #kartzin-page.kz-project-template .kz-project-press {
    padding-bottom: 78px;
  }
}
/*=============================finish here!!!===========================*/






/* VIS-À-VIS PAGE ONLY */

#visavis-page {
	width: 100%;
	position: relative;
}

#visavis-page .vv-intro {
	max-width: 1500px;
	margin: 0 auto;
	line-height: 1.45;
}

#visavis-page .vv-project-section {
	margin-top: clamp(90px, 11vw, 190px);
	padding-top: 20px;
	border-top: 1px solid currentColor;
}

#visavis-page .vv-section-title {
	margin: 0 0 clamp(25px, 4vw, 60px);
	font-size: clamp(38px, 5.8vw, 105px);
	font-weight: normal;
	line-height: 0.95;
	letter-spacing: -0.045em;
}

#visavis-page .vv-poster {
	width: 100%;
}

#visavis-page .vv-poster img {
	display: block;
	width: 100%;
	height: auto;
}

#visavis-page .vv-section-description {
	max-width: 620px;
	font-size: clamp(18px, 1.5vw, 28px);
	line-height: 1.25;
}

#visavis-page .vv-main-gallery {
	margin-top: clamp(120px, 14vw, 230px);
	padding-top: 20px;
	border-top: 1px solid currentColor;
}

#visavis-page .vv-funder {
	margin-top: clamp(80px, 10vw, 160px);
	padding-top: 30px;
	border-top: 1px solid currentColor;
}

#visavis-page .vv-funder small {
	display: block;
	max-width: 1000px;
	line-height: 1.35;
}

@media (max-width: 700px) {
	#visavis-page .vv-project-section {
		margin-top: 90px;
	}

	#visavis-page .vv-section-title {
		font-size: clamp(36px, 12vw, 62px);
		line-height: 0.95;
	}

	#visavis-page .vv-section-description {
		margin-top: 25px;
		font-size: 17px;
		line-height: 1.35;
	}
}

@media (min-width: 701px) {
	#visavis-page .vv-poster {
		display: flex;
		justify-content: flex-end;
		transform: translateX(clamp(50px, 7vw, 140px));
	}

	#visavis-page .vv-poster > * {
		margin-left: auto !important;
		margin-right: 0 !important;
	}
}