.manifesto-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(min-content, 1fr) auto;
}

.manifesto {
  width: min(824px, calc(100% - 2 * var(--studio-inset)));
  align-self: center;
  margin-inline: auto;
  padding-block: clamp(8px, 2dvh, 24px);
}

.manifesto-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 6vw, 88px);
  font-size: clamp(14px, min(1.6vw, 2.45dvh), 21px);
  line-height: 1.35;
}

.manifesto-language {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
  align-content: start;
  gap: clamp(0px, .45dvh, 5px);
}
.manifesto-language > * { margin: 0; font: inherit; }
.manifesto-language[lang="en"] { color: var(--muted); }
.manifesto-language-nav { display: none; }
@media (min-width: 701px) {
  .manifesto-page > .studio-footer { margin-top: 0; }
}

@media (min-width: 900px) {
  .manifesto { width: min(880px, calc(100% - 2 * var(--studio-inset))); }
  .manifesto-text {
    column-gap: clamp(40px, 5vw, 72px);
  }
  .manifesto-language[lang="tr"] { justify-self: end; }
}

@media (max-width: 620px) {
  .manifesto { width: 100%; padding-block: 16px 0; }
  .manifesto-text {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    column-gap: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    font-size: clamp(16px, 4.55vw, 21px);
    line-height: 1.45;
  }
  .manifesto-text::-webkit-scrollbar { display: none; }
  .manifesto-language {
    gap: 3px;
    padding-inline: var(--studio-inset);
    scroll-snap-align: start;
    scroll-margin-block-start: 16px;
  }
  .manifesto-language-nav {
    display: flex;
    align-items: center;
    margin-block-end: 14px;
    border-bottom: 1px solid #d4d5cd;
  }
  .manifesto-language[lang="tr"] .manifesto-language-nav { justify-content: flex-end; }
  .manifesto-language-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    font-size: 13px;
    color: var(--white);
  }
  .manifesto-language-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .manifesto-text { scroll-behavior: smooth; }
}

.manifesto-text.is-single-language {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  overflow-x: visible;
  scroll-snap-type: none;
  text-align: center;
  letter-spacing: clamp(.035em, .14vw, .09em);
}

.is-single-language .manifesto-language {
  justify-self: center;
  row-gap: clamp(5px, 1dvh, 10px);
}

.is-single-language .manifesto-language[lang="en"] { color: inherit; }

@media (max-width: 700px) {
  .manifesto:has(.is-single-language) { padding-block: clamp(24px, 4dvh, 40px); }
  .manifesto-page:has(.is-single-language) > .studio-footer { margin-top: 0; }
}
