:root {
  /*--font-size-small: 0.85rem;*/
  /*--line-height-small: 1.05rem;*/
  --font-size-small: 0.85rem;
  --line-height-small: 0.95rem;
  --font-size-large: 1.5rem;
  --line-height-large: 1.65rem;
  --font-size-extralarge: 3rem;
  --font-size-h1: 3rem;
  --font-size-h4: 2.25rem;
}

@keyframes background-transition {
  from {
    background-color: var(--issue-color);
  }

  to {
    background-color: var(--issue-backgroundcolor);
  }
}

@keyframes image-blend {
  from {
    -webkit-filter: grayscale(100%) contrast(200) invert(0);
    filter: grayscale(100%) contrast(200) invert(0);
    mix-blend-mode: multiply;
  }

  to {
    -webkit-filter: grayscale(100%) contrast(200) invert(1);
    filter: grayscale(100%) contrast(200) invert(1);
    mix-blend-mode: multiply;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-in-deplacement {
  from {
    opacity: 0;
    transform: translateY(-8%);
  }

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

@keyframes fade-out-displacement {
  from {
    opacity: 1;
    transform: translateY(0%);
  }

  to {
    opacity: 0;
    transform: translateY(-8%);
  }
}

@font-face {
  font-family: 'Turist';
  src: url('../fonts/Turist-Regular.woff2') format('woff2'),
    url('../fonts/Turist-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Turist';
  src: url('../fonts/Turist-RegularItalic.woff2') format('woff2'),
    url('../fonts/Turist-RegularItalic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  font-size: clamp(1rem, 3vw, 1.4rem);
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
  /* height: 100%;
  width: 100%; */
}

body {
  font-family: 'Turist', Times, serif;
  font-size: 1.3rem;
  line-height: 1.5rem;
  /* font-size: clamp(0.80rem, 2vw, 1.30rem); */
  padding: 24px 30px;
  margin: 0;
  background-color: var(--issue-backgroundcolor) !important;
  color: var(--issue-color);
  /* height: 100%;
  width: 100%; */
}

strong {
  font-weight: normal;
}

a {
  color: var(--issue-color);
  opacity: 0.75;
}

a:hover {
  opacity: 1;
}

svg path {
  fill: var(--issue-color);
}

svg polygon {
  fill: var(--issue-color);
}

/* functional */

.mobile {
  display: none;
}

/* Issue 1 */

.issue-1.page-home,
.issue-1.page-issue {
  background: var(--issue-color);
  animation: background-transition 800ms 1600ms ease forwards;
}

.issue-1.page-home a:hover,
.issue-1.page-issue a:hover {
  color: var(--issue-color);
}

.issue-1.page-article a {
  color: inherit;
}

.issue-1.page-article a:hover {
  color: var(--issue-color);
}

.issue-1 a svg path,
.issue-1 a svg polygon {
  fill: black;
}

.issue-1 a:hover svg path,
.issue-1 a:hover svg polygon {
  fill: var(--issue-color);
}

/* .issue-1 #burger-icon svg path {
  stroke: black;
} */

#burger-icon svg path {
  stroke: var(--issue-color);
}

.issue-1 footer svg:hover {
  color: inherit;
}

.issue-cover-imagetransition {
  position: relative;
  height: calc(100% - 96px);
  max-height: calc(100vh - 96px);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -1;
}

/* Issue 2 */

/* .issue-2 {
  background-color: var(--issue-backgroundcolor) !important;
  color: var(--issue-color);
} */

.issue-2.page-home a:hover,
.issue-2.page-issue a:hover {
  color: #AFAFAF;
}

.issue-2.page-article a {
  color: #a65a00;
}

.issue-2.page-article a:hover {
  color: #AFAFAF;
}

.issue-2 a svg path,
.issue-2 a svg polygon {
  fill: #a65a00;
}

.issue-2 a:hover svg path,
.issue-2 a:hover svg polygon {
  fill: #AFAFAF;
}

.issue-2 #burger-icon svg path {
  stroke: #a65a00;
}

.issue-2 footer svg:hover {
  color: #AFAFAF;
}

.issue-2.grayscale-active footer svg:hover {
  color: #AAAAAA;
}

.issue-cover-multipleimages {
  position: relative;
  height: calc(100svh - 280px);
  /* max-height: 65svh; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  z-index: -1;
  margin-top: 48px;
}

.mobile-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.issue-cover-imagetitlecentered,
.issue-cover-imagetitleunderneath {
  position: relative;
  height: calc(100% - 96px);
  max-height: calc(100vh - 96px);
  width: 100%;
  display: flex;
  justify-content: left;
  z-index: -1;
  transform: translate(24px, 8px);
}

.issue-cover-imagetitleunderneath .issue-title {
  color: var(--issue-color);
}

.issue-cover-imagetitlecentered img,
.issue-cover-imagetitleunderneath img {
  height: 100%;
  width: auto;
}

.issue-2 footer svg {
  fill: #a65a00;
  color: #a65a00;
}

.issue-2.grayscale-active footer svg {
  fill: black;
  color: black;
}

/* Issue 3 */

/* .issue-3 {
  background-color: var(--issue-backgroundcolor) !important;
  color: var(--issue-color);
} */

.issue-3.page-article a {
  color: #1E5DFF;
}

.issue-3 a svg path,
.issue-3 a svg polygon {
  fill: #1E5DFF;
}

.issue-3 #burger-icon svg path {
  stroke: #1E5DFF;
}

.issue-3 footer svg {
  fill: #1E5DFF;
  color: #1E5DFF;
}


.issue-cover-imagetitleunderneath {
  position: relative;
  height: calc(100% - 56px);
  max-height: calc(100vh - 56px);
  width: 100%;
  display: flex;
  justify-content: left;
  z-index: -1;
}

.issue-cover-imagetitleunderneath-image-wrapper {
  width: 100%;
}

.issue-cover-imagetitleunderneath img {
  height: 100%;
  width: 100%;
}

.issue-cover-imagetitleunderneath-subtitle {
  position: absolute;
  bottom: 0;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.issue-cover-imagetitleunderneath-subtitle p {
  margin: 0;
}

.issue-imagetitleunderneath-title {
  position: relative;
  text-align: left;
  margin-bottom: 1em;
  margin-top: 1em;
  display: flex;
  flex-direction: column;
}

.mobile-issue-imagetitleunderneath-title {
  display: none;
}

/* video cover */

.issue-cover-video {
  width: calc(100% + 48px);
  height: auto;
  margin-left: -24px;
  margin-top: -18px;
}

.issue-cover-video-wrapper {
  width: 100%;
  height: auto;
  position: relative;
}

.issue-cover-video-wrapper video {
  width: 100%;
  height: auto;
}

.issue-cover-videocaption {
  bottom: 0;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}
.issue-cover-videocaption p {
  margin: 0;
  margin-left: 24px;
}

/* issue 4 */

.multiple-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.multipleimage {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0;
}

.multipleimage:last-child {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

/* .multipleimage:not(:last-child) {
  mix-blend-mode: multiply;
} */

.multipleimage::nth-last-child(2) {
  margin-top: 48px;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.multipleimage:nth-child(1) {
  animation: 250ms fadein 250ms forwards;
}
.multipleimage:nth-child(2) {
  animation: 250ms fadein 500ms forwards;
}
.multipleimage:nth-child(3) {
  animation: 250ms fadein 750ms forwards;
}
.multipleimage:nth-child(4) {
  animation: 250ms fadein 1000ms forwards;
}
.multipleimage:nth-child(5) {
  animation: 250ms fadein 1250ms forwards;
}
.multipleimage:nth-child(6) {
  animation: 250ms fadein 1500ms forwards;
}
.multipleimage:nth-child(7) {
  animation: 250ms fadein 1750ms forwards;
}
.multipleimage:nth-child(8) {
  animation: 250ms fadein 2000ms forwards;
}
.multipleimage:nth-child(9) {
  animation: 250ms fadein 2250ms forwards;
}
.multipleimage:nth-child(10) {
  animation: 250ms fadein 2500ms forwards;
}

.issue-4 a svg path,
.issue-4 a svg polygon {
  fill: var(--issue-color);
}

/* Issue 5 Cover */

.issue-cover-animatedgif {
  position: relative;
  max-height: calc(100vh - 56px);
  width: calc(100% + 20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  overflow: hidden;
  margin-left: -10px;
}

.issue-cover-animatedgif-image-wrapper {
  width: 100%;
  height: fit-content;
  
}

.issue-cover-animatedgif-image-wrapper img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* Issue 5 svg fix */

.issue-5 a svg path,
.issue-5 a svg polygon {
  fill: var(--issue-color);
}

/*Issue 6 svg fix */

.issue-6 a svg path,
.issue-6 a svg polygon {
  fill: var(--issue-color);
}

/* Issue 3 Special Article */

.connecthings-figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#connecthings-image-2 {
  margin-left: 50%;
  width: 52%;
  padding-left: 3%;
}

.blocks {
  position: relative;
}

.title .grid {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--font-size-h1);
  margin: 0;
  letter-spacing: -0.02em;
}

h2,
h3 {
  font-size: var(--font-size-h1);
  line-height: var(--font-size-h1);
  margin: 0;
}

h4,
.authors {
  font-size: var(--font-size-h4);
  line-height: var(--font-size-h4);
  margin: 0 6vw;
}

h5 {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.5rem;
  margin-bottom: 0;
}

h6 {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  margin: 0;
}

.page-home a,
.page-issue a {
  color: inherit;
  text-decoration: none;
  transition: 300ms color;
}

body > .title > section > h1 > a {
    white-space: nowrap !important;
}

.page-home a:hover,
.page-issue a:hover {
  text-decoration: none;
  transition: 300ms color;
}

.page-home .button,
.page-issue .button {
  color: inherit;
  transition: 300ms color;
}

.page-home .button:hover,
.page-issue .button:hover {
  color: var(--issue-color);
  transition: 300ms color;
}

.page-article a {
  text-decoration: none;
  transition: 300ms color;
}

.page-article a:hover {
  transition: 300ms color;
}

.page-article main {
  margin: 0 auto;
}

.page-article main a {
  color: var(--issue-color);
  text-decoration: none;
  /* word-break: break-all; */
}

.page-article main a:hover {
  text-decoration: underline;
}

.gallery {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery figure {
  flex: 1;
}

.gallery figure img {
  width: 100%;
  height: auto;
}

a svg path,
a svg polygon {
  transition: 300ms fill;
}

a:hover svg path,
a:hover svg polygon {
  transition: 300ms fill;
}

.button {
  cursor: pointer;
}

.page-article .button {
  cursor: pointer;
  transition: 300ms color;
  color: inherit;
}

.page-article .button:hover {
  cursor: pointer;
  transition: 300ms color;
  color: var(--issue-color);
}

.active {
  text-decoration: underline !important;
  text-underline-offset: 0.125em !important;
  text-decoration-thickness: 1px !important;
}

.grid p a {
  color: var(--issue-color);
}

.page-article {
  counter-reset: item;
}

/* INVESTIGATE! */

article-footnote {
  text-decoration: none !important;
}

article-footnote::after {
  content: counter(item) "";
  counter-increment: item;
  font-size: 0.5rem;
  vertical-align: text-bottom;
  margin-left: 0.05rem;
  text-decoration: none !important;
  font-style: normal;
}

/* header */

.page-issue header,
.page-home header {
  position: absolute;
  transform: translateY(8px);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: background-color 500ms;
  /* font-size: var(--font-size-small);
  line-height: var(--line-height-small); */
  /* transition: background-color 300ms; */
}

#burger {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  hyphens: none;
}

.burger-icon {
  position: absolute;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  z-index: 9999;
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

#burger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  background: var(--issue-backgroundcolor);
  z-index: 9998;
  flex-flow: column wrap;
}

#burger-menu-scroll {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100vw;
  overflow-y: scroll;
}

#burger-issues {
  width: 25%;
  height: 100%;
  border-right: solid 1px var(--issue-color);;
  text-align: center;
  padding: 24px 30px;
}

#burger-nextissue {
  color: #EDEDED;
}

#burger-about {
  width: 37.5%;
  padding: 24px 15px 12px 30px;
}

#burger-address {
  width: 37.5%;
  padding: 24px 30px 12px 15px;
}

#burger-contributors {
  width: 75%;
  padding: 12px 30px;
}

#burger-translators {
  width: 75%;
  padding: 12px 30px;
}

#burger-footer {
  width: 75%;
  display: flex;
  /* justify-content: space-between; */
  gap: 1rem;
  align-items: flex-end;
  padding: 24px 30px 24px 30px;
}

#burger-footer-eka svg {
  width: 100%;
  max-width: 128px;
  height: auto;
  padding: 0 8px 8px 0;
}

#burger-footer-kulka svg {
  width: 100%;
  max-width: 156px;
  height: auto;
  transform: translateY(4px);
}

#burger-footer-credits {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
}

.menu {
  justify-content: space-between;
  position: fixed;
  width: 100%;
  padding: 30px 30px;
}

.fade-out-displacement {
  animation: fade-out-displacement 500ms !important;
}

.issues-container {
  display: none;
}

.issues {
  display: flex;
  flex-direction: column;
}

.issues-container,
.about-container {
  margin-top: 1rem;
  animation: fade-in-deplacement 500ms;
}

.about-container {
  display: none;
}

.about {
  display: flex;
  gap: 2rem;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.about>div {
  width: 33%;
}

.languages {
  position: absolute;
  right: 30px;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
}

/* 
.issue-1 .grayscale-button {
  display: none;
}

.grayscale-active #grayscale-button {
  background-color: black !important;
}

#grayscale-button {
  margin-right: .75rem;
  margin-bottom: 2px;
  width: 26px;
  height: 26px;
  background-color: var(--issue-color);
  border-radius: 100%;
  cursor: pointer;
}

.grayscale-active,
.grayscale-active h1,
.grayscale-active h2,
.grayscale-active h3,
.grayscale-active .languages,
.grayscale-active a,
.grayscale-active progress {
  color: black !important;
  transition: 0ms;
}

.grayscale-active svg {
  filter: grayscale(100%);
} */

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 0.25rem;
}

.mg-bottom-small {
  margin-bottom: var(--line-height-small);
}

.mg-bottom-extrasmall {
  margin-bottom: 0.5rem;
}

/* Newsletter */

#form #mce-EMAIL {
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 80%;
  border-bottom: 1px solid black;
  font-size: var(--font-size-small);
  font-family: 'Turist', Times, serif;
}

#form .input-submit {
  background: none;
  border: none;
  font-size: var(--font-size-small);
  font-family: 'Turist', Times, serif;
  cursor: pointer;
  transition: 300ms color;
}

#form .input-submit:hover {
  color: var(--issue-color);
  transition: 300ms color;
}

/* Home */

.color-multiplier {
  background: var(--issue-color);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  display: none;
}

.imagefrom {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  animation: fade 800ms 1600ms ease reverse forwards;
}

.imageto {
  opacity: 0;
  animation: fade 800ms 1600ms ease forwards;
}

.imagefrom,
.imageto {
  width: 100%;
  height: 100%;
  padding: 48px 0 0 0;
}

.issue-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  letter-spacing: -0.02em;
  width: 100%;
}

.mg-top-negative {
  margin-top: -12em;
}

.uppercase {
  text-transform: uppercase;
}

.issue-content {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  display: flex;
  flex-direction: column;
  gap: 1rem;  
  z-index: 9;
}

/* article */

.page-article {
  margin-top: 75px;
}

.body.grayscale-active.page-article {
  margin-top: 75px;
}

.page-article nav {
  margin-bottom: 6rem;
}

.page-article header {
  margin-bottom: 4rem;
}

.page-article .block-type-text p:first-child {
  margin-top: 0;
}

.no-margin-paragraphs p {
  margin: 0;
}

.page-home .column p,
.page-issue .column p {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin: 1rem 0;
  gap: 2rem;
}

.column {
  grid-column: span var(--span);
}

.small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.large {
  font-size: var(--font-size-large);
  line-height: var(--line-height-large);
}

.indent p {
  text-indent: 8vw;
}

.indent p:first-child {
  text-indent: unset;
}

.indent-first {
  text-indent: 60px;
}

.adaptable {
  height: 0;
}

.adaptable p {
  position: relative;
}

figure {
  margin: 0;
}

figcaption {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}


.gallerycaption {
    text-align: left;
    width: 100%;
}

img {
  object-fit: contain;
}

.page-article img {
  width: 100%;
  object-fit: contain;
}

.txt-align-center {
  text-align: center;
}

.txt-align-left {
  text-align: left;
}

.article-navigation-top {
  padding-top: 3rem;
}

.article-navigation-top,
.article-navigation-bottom {
  display: flex;
  justify-content: space-between;
}

.article-navigation-bottom svg path {
  fill: var(--issue-color) !important;
}

.article-navigation-top>div,
.article-navigation-bottom>div {
  width: 50%;
}

.article-navigation-top>div:nth-child(even) {
  text-align: right;
}

.article-navigation-top>div:nth-child(odd) {
  text-align: left;
}

.article-navigation-bottom>div {
  display: flex;
  justify-content: center;
  max-width: 512px;
  margin: 0 auto;
}

.article-navigation-bottom {
  margin-top: 3rem;
}

progress {
  /* Positioning */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  /* Progress bar container for Firefox/IE10+ */
  background-color: transparent;
  /* Progress bar value for IE10+ */
  color: var(--issue-color);
  z-index: 9999;
}

progress::-webkit-progress-bar {
  background-color: transparent;
}

progress::-webkit-progress-value {
  background-color: var(--issue-color);
}

progress::-moz-progress-bar {
  background-color: var(--issue-color);
}

ol,
ul {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  counter-reset: item;
  margin-left: 0;
  padding-left: 0;
}

li {
  display: block;
  margin-left: calc(6vw + 1rem);
}

li::before {
  display: inline-block;
  width: calc(6vw + 1rem);
  margin-left: calc(-6vw - 1rem);
}

ol li::before {
  content: counter(item) "";
  counter-increment: item;
}

ul li:before {
  content: "–";
}

footer {
  /* font-size: var(--font-size-small);
  line-height: var(--line-height-small); */
  font-size: 12px;
  line-height: var(--font-size-small);
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
}

footer p {
  margin: 0;
}

footer svg {
  max-width: 96px;
  height: 100%;
  margin-bottom: 10px;
}


iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.container {
  max-width: 100%;
}

canvas {
  position: fixed;
  left: 84%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  z-index: 2;
}

/* image sticky */

.image-sticky {
  height: 250vh;
}

.image-sticky-inner {
  position: sticky;
  /* top: 20vh; */

  height: 100svh;
  padding: 15vh 0;
  top: 0;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 1;
  transition: 500ms opacity;
}

.no-sticky {
  opacity: 0;
}

.image-sticky img {
  width: 100%;   
  height: 100%;
  object-fit: contain;
}

.image-sticky figcaption {
  flex: 1;
}

/* Issue 5 Visual Essay */

.main:has(.imagenomargin) {
  overflow-x: hidden;
  overflow-y: auto;

}

.grid:has(.imagenomargin) {
  margin: 0;
  margin-left: -30px;
  width: calc(100% + 60px);
  overflow: hidden;
}

.imagenomargin {
  display: block;
}

/* Issue 6 Visual Essay */

.issue-6-imagetoggleable-wrapper {
  position: relative;
  width: 25vw;
  height: fit-content;
  margin: 0 0;
  transition: all;
  transition-duration: 500ms;
  position: relative;
  transform: translate(-50%, 0);
}

.issue-6-imagetoggleable-wrapper-active {
  transition: all;
  transition-duration: 500ms;
  left: 50% !important;
  width: 60vw;

}

.issue-6-imagetoggleable-wrapper > img {
  height: auto;
  width: 100%;
  display: block;
}

.issue-6-grayscale {
  filter: grayscale(100%);
  transition: filter;
  transition-duration: 100ms;
}

.issue-6-visual-essay-caption {
  text-align: center;
  opacity: 0;
  transition: all 1s 1s;
}

.issue-6-hidden {
  display: none !important;
}

/* Issue 6 Visual Essay toggleable overrides */

.issue-6-grayscale0 {
  filter: grayscale(0);
}

.issue-6-image-color-overlay {
  width: 100%;
  height: 100%;
  background-color: var(--issue-color);
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: screen;
  opacity: 1;
  transition: opacity;
  transition-duration: 400ms;
}

.issue-6-image-color-overlay:hover {
  opacity: 0 !important;
}

.issue-6-opacity1 {
  opacity: 1;
}

.issue-6-opacity0 {
  opacity: 0;
}

.issue-6-quick-fadeout {
  transition-delay: 0ms !important;
  transition-duration: 100ms !important; 
}

/* Issue 7 Visual Essay */

.hidden {
  display: none !important;
}

#overlaybutton {
  width: fit-content;
  text-decoration: underline;
  opacity: .75;
  cursor: pointer;
}

.issue-7-navigation-special-styles {
  padding: 24px;
  padding-top: calc(3rem + 30px + 75px);
}

.issue-7-navigation-special-styles svg path {
  fill: var(--issue-color) !important;
}

.issue-7-popover-closebutton-container {
  position: relative;
  grid-column: span 12;
}

#issue-7-popoverclosebutton {
  position: relative;
  width: fit-content;
  text-decoration: underline;
  opacity: .75;
  cursor: pointer;
}

.issue-7-visual-essay-popover {
  position: fixed;
  /* top: 50%;
  left: 50%; */
  /* transform: translate(-50%, -50%);
  height: 100%;
  width: 100%; */
  background-color: var(--issue-backgroundcolor);
  color: var(--issue-color);
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow-y: hidden;
  z-index: 2000;
  gap: 1rem;
  font-size: 15px;
  line-height: 1.2;
  /* alternative view */
  /* height: fit-content; */
  width: 100%;
  bottom: 0;
  left: 0;
}

.absoluted {
  pointer-events: none;
  position: sticky;
  top: 0;
  right: 0;
  z-index: 10;
  height: 100vh;
  width: 100vw;
  object-fit: contain;
  /* display: none; */
  overflow-x: hidden;
}

.issue-7-visual-essay-spacer {
  width: 20%;
  height: 100%;
  flex-grow: 1;
}

.issue-7-visual-essay-image-block {
  position: relative;
  /* width: attr(data-width %); */
  height: auto;
  margin: 0;
  /* justify-self: attr(data-alignment); */
  max-height: 100dvh;
  overflow: hidden;
}

.issue-7-visual-essay-image-block[data-alignment="left"] {
  margin-right: auto;
}

.issue-7-visual-essay-image-block[data-alignment="right"] {
  margin-left: auto;
}

.issue-7-visual-essay-image-block[data-alignment="center"] {
  margin: 0 auto;
}

.issue-7-image-wrapper {
  position: relative;
  /* width: attr(data-width %); */
  height: auto;
  max-height: 100%;
}

.issue-7-image {
  display: block;
  margin: 0;
}

.issue-7-grayscale {
  filter: grayscale(100%);
  transition: filter;
  transition-duration: 100ms;
}

.issue-7-grayscale:hover {
  filter: grayscale(0);
}

.issue-7-visual-essay-quote {
  font-size: 18px;
  line-height: 1.2;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: calc(80% - 2rem);
  height: auto;
  color: white;
  /* speculative */
  -webkit-text-stroke: 1px black;
  paint-order: stroke;
}

.issue-7-visual-essay-quote a {
  color: white !important;
}

.issue-7-mix-blend-mode {
  mix-blend-mode: exclusion;
}

.issue-7-visual-essay-place {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 18px;
  line-height: 1.2;
  color: white;
  text-align: right;
}

.issue-7-visual-essay-place a {
  color: white !important;
}

#visual-essay .blocks {
  display: flex;
  flex-direction: row;
}

body:has(#visual-essay) .languages {
  right: 0 !important;
}

body:has(#visual-essay) footer {
  padding: 24px 30px;
}

.issue-7-bio-container {
  padding: 0 30px;
}

.issue-7-visual-essay-caption {
  color: white;
  text-align: left;
  font-size: calc(var(--font-size-small) * 0.6);
  line-height: calc(var(--line-height-small) * 0.6);
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  transform-origin: bottom left;
  transform: translate(100%, -.3rem) rotate(-90deg);
  max-width: 25vh;
}

/* this needs a change of id name to the actual slug! */
#visual-essay .grid {
  margin: 0;
}

/* this is styling for the dynamic image map */

#issue-7-imageMapContainer svg {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  /* mask-image: url(overlay-visual-eng_transparent.png); */
  mask-size: contain;
  -webkit-mask-position: center;
}

#issue-7-imageMapContainer svg path, polygon {
  fill: none;
}

#issue-7-imageMapContainer img {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  visibility: hidden;
}

#issue-7-imageMapContainer-mobile {
  display: none;
}

#issue-7-imageMapContainer-mobile svg {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  mask-image: url(overlay-visual-eng_transparent.png);
  mask-size: contain;
}

/* #issue-7-imageMapContainer-mobile path, polygon {
  fill: var(--issue-color);
} */

#issue-7-imageMapContainer-mobile img {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  visibility: hidden;
}

.issue-7-mobile-svg {
  visibility: hidden !important; 
}

/* Superscript footnote 2024-01-18 */

main sup {
  font-size: 0.5rem;
  vertical-align: text-bottom;
  margin-left: 0.05rem;
  text-decoration: none !important;
  font-style: normal;
}

@media only screen and (max-width: 860px) {
  :root {
    /*--font-size-small: 0.75rem;
    --line-height-small: 0.90rem;
    --font-size-large: 1.25rem;
    --line-height-large: 1.4rem;
    --font-size-extralarge: 3rem;
    --font-size-h1: 3rem;
    --font-size-h4: 2.25rem;*/

    --font-size-small: 20px;
    --line-height-small: 24px;
    --font-size-large: 36px;
    --line-height-large: 36px;
    --font-size-extralarge: 2rem;
    --font-size-h1: 2rem;
    --font-size-h4: 1.5rem;
  }

  /* functional */

  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  html {
    font-size: 18px;
  }

  body {
    margin: 30px 0 0 0;
    overflow-x: hidden;
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
  }

  .title {
    position: relative;
    display: block;
    left: unset;
    padding: 12px 0 30px 0;
  }

  .page-issue header,
  .page-home header {
    position: relative;
    left: 0;
    transform: none;
  }

  .page-home header,
  .page-issue header {
    margin-bottom: 0;
  }

  .adaptable {
    height: auto;
  }

  .column {
    grid-column: span 12;
  }

  figcaption {
    font-size: 12px;
    line-height: 16px;
    margin: 6px 0 30px 0;
  }

  .small {
    font-size: 12px;
    line-height: 16px;
  }

  .mg-top-negative {
    margin-top: 0;
  }

  .about {
    flex-direction: column;
  }

  .about>div {
    width: 100%;
  }

  .article-navigation-bottom {
    font-size: var(--font-size-small);
  }



  .article-nav-bottom-title,
  .article-nav-bottom-authors {
    display: none;
  }

  .page-article img {
    transform: translate(0, 0) !important;
  }

  .page-article main {
    margin: 0 auto 0 auto;
  }

  .grid {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 0;
  }

  .page-issue section.grid,
  .page-home section.grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .issue-cover-imagetransition,
  .issue-cover-imagetitleunderneath {
    height: auto;
  }

  .issue-cover-imagetitlecentered img,
  .issue-cover-imagetransition img,
  .issue-cover-imagetitleunderneath img {
    max-width: 100%;
  }

  .issue-cover-imagetransition-image-wrapper{
    height: auto;
  }

  .issue-cover-imagetransition-image-wrapper img {
    height: auto;
  }

  .issue-cover-imagetitleunderneath-image-wrapper {
    height: 100%;
  }

  .issue-cover-imagetitleunderneath-image-wrapper img {
    height: 100%;
  }

  .issue-cover-imagetitleunderneath {
    transform: none;
  } 

  .issue-cover-imagetitlecentered {
    transform: none;
  }

  .issue-cover-animatedgif {
    margin-left: 0;
    width: 100%;
  }

  .imagefrom,
  .imageto {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .issue-content {
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    margin: 1em 0;
  }

  .block-type-text {
    margin-bottom: 30px;
  }

  .languages {
    display: flex;
    font-size: var(--font-size-small);
  }

  footer {
    font-size: 12px;
    line-height: 16px;
    display: flex;
    flex-direction: column;
  }

  footer>div:nth-child(odd) {
    width: 100%;
  }

  /* footer>div:nth-child(even) {
    margin-top: 2rem;
  } */

  .menu {
    width: 100%;
    padding: 24px 30px;
  }

  #burger {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    hyphens: none;
  }
  
  .burger-icon {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    z-index: 9999;
    background: none;
    color: inherit;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    overflow: hidden;
  }
  
  #burger-menu {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background: var(--issue-backgroundcolor);
    z-index: 9998;
    flex-flow: column;
    overflow-y: scroll;
  }
  
  #burger-menu-scroll {
    display: flex;
    flex-flow: column;
    justify-content: default;
    overflow-y: visible;
  }
  
  #burger-issues {
    width: 100%;
    height: auto;
    border-right: none;
    text-align: left;
    padding: 72px 30px 12px 30px;
  }
  
  #burger-nextissue {
    color: #EDEDED;
  }
  
  #burger-about {
    width: 100%;
    padding: 12px 30px 12px 30px;
  }
  
  #burger-address {
    width: 100%;
    padding: 12px 30px 12px 30px;
  }
  
  #burger-contributors {
    width: 100%;
    padding: 12px 30px 12px 30px;
  }
  
  #burger-footer {
    width: 100%;
    padding: 60px 30px 30px 30px;
  }
  
  #burger-footer-credits {
    margin-top: 8px;
  }

  #editors-note {
    margin-top: 1rem;
  }

  .issue-cover-imagetitleunderneath {
    margin: 2em 0 1em;
    display: flex;
    max-height: unset;
    height: 100%;
    flex-direction: column;
    gap: 30px;
  }

  .issue-cover-imagetitleunderneath img {
    flex: 1 1 auto;
    min-width: 0;
  }

  .issue-cover-imagetitleunderneath-image-wrapper {  
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
  }

  .issue-cover-imagetitleunderneath-subtitle {
    position: relative;
    bottom: 0;
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    font-size: 12px;
    line-height: 0.95rem;
  }

  .issue-cover-multipleimages {
    height: auto;
    margin-top: 0;
  }

  .issue-3 > .title {
    padding-bottom: 0;
  }  

  .issue-3 .issue-content {
    margin-bottom: 2em;
  }

  .issue-imagetitleunderneath-title {
    margin-top: 1em;
    display: none;
  }

  .mobile-issue-imagetitleunderneath-title {
    display: flex;
    flex-direction: column;
  }

  .alternate {
    font-style: italic;
  }

  /* Issue 7 Visual Essay */

  .issue-7-visual-essay-image-block {
    width: 100% !important;
    /* experimental */
    min-height: 60vh;
  }

  /* experimental */
  .issue-7-image-wrapper {
    height: 100%;
  }

  .issue-7-image-wrapper img {
    height: 100%;
    object-fit: cover;
  }

  /* either/or: quote gets pulled below - or something else alltogether */
  .issue-7-visual-essay-quote {
    width: calc(100%);
    color: white;
    /* position: relative; */
    padding: 12px 15px;
    left: 0;
    bottom: 0;
    mix-blend-mode: none !important;
    font-size: 15px;
  }

  .issue-7-visual-essay-quote a{
    color: white !important;
  }

  /* either/or: overlay stays */
  /* .issue-7-visual-essay-quote {
    width: calc(75%);
    font-size: 16px;
  } */

  .issue-7-visual-essay-caption {
    max-width: 33vh;
  }

  .issue-7-visual-essay-caption {
    color: white;
    text-align: left;
    font-size: calc(var(--font-size-small) * 0.6);
    line-height: calc(var(--line-height-small) * 0.6);
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    max-width: 75%;
    transform: none;
  }

  .issue-7-mobile-svg {
    visibility: visible !important;
  }

  .issue-7-desktop-svg {
    display: none !important;
  }

  .issue-7-visual-essay-popover {
    padding: 12px 15px;
  }

  .issue-7-visual-essay-popover .block-type-text:last-of-type {
    margin-bottom: 0;
  }

  .issue-7-visual-essay-place {
    max-width: calc(100% - 2rem);
  }

}