* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 100%;
  line-height: 1;
  color: black;
  background-color: white;
}

@media (min-width: 1300px) {
  body {
    font-size: 90%;
  }
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

strong,
b {
  font-weight: 700;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

figcaption {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

h1, h2, h3 {
  font: inherit;
}

button {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  color: white;
  background: black;
}

.u-hiddenVisually {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2em 0;
  gap: 2em 0;
}

@media (min-width: 1300px) {
  .container {
    grid-template-columns: 4fr 8fr;
  }
}

@media (min-width: 1600px) {
  .container {
    grid-template-columns: 3fr 9fr;
  }
}

.head-inner {
  position: sticky;
  top: 0;
}

.head-inner,
main {
  padding: max(1rem, min(5vw, 1.5rem));
}

.entry {
  display: grid;
  grid-gap: 1em 2em;
  gap: 1em 2em;
}

@media (min-width: 900px) {
  .entry {
    grid-template-columns: 4fr 4fr;
  }
}

@media (min-width: 1300px) {
  .entry {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1600px) {
  .entry {
    grid-template-columns: 4fr 6fr;
  }
}

.entry + .entry {
  margin-top: 4em;
  padding-top: 4em;
}

@media (max-width: 899.98px) {
  .entry + .entry {
    margin-top: 4em;
    padding-top: 4em;
    border-top: 1px solid gainsboro;
  }
}

.text {
  font-size: max(1em, min(1.3vw, 1.3em));
  line-height: 1.5;
}

.text > * + * {
  margin-top: 1em;
}

.text h1,
.text h2 {
  line-height: 1.2;
  font-weight: 700;
}

.text a {
  color: tomato;
  text-decoration: underline;
}

.text a:hover {
  text-decoration: none;
}

.text ul {
  list-style: disc inside;
}

.text ol {
  list-style: decimal inside;
}

.text tr {
  vertical-align: baseline;
}

.text td:not(:first-child) {
  padding-left: 0.5em;
}

.slideshow {
  position: relative;
}

.slideshow-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  overflow: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}

.slideshow-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0 auto;
  width: 100%;
}

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

.slideshow button {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  transform: translateY(-50%);

  width: 44px;
  padding-left: 2%;
  padding-right: 2%;

  text-align: left;

  opacity: 0.5;
  transition: opacity 200ms ease-in-out, top 200ms ease-out 150ms;
  color: white;

  touch-action: manipulation;
}

@media (hover: hover) {
  .slideshow button {
    width: max(44px, 33%);
    height: 100%;
  }
}

.slideshow button:hover {
  opacity: 1;
}

.slideshow button[value="next"] {
  right: 0;
  left: auto;
  text-align: right;
}

.slideshow button[value="next"] svg {
  transform: rotate(180deg);
}
