.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.column {
  grid-column: span var(--span, 12);
}

@media (max-width: 640px) {
  .column {
    grid-column: span 12;
  }
}

section {
  margin: 16px auto;
  max-width: 1280px;
}

figure iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

p {
  margin: 0;
  font-family: "Lato";
  padding: 0 8px;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'custom-megrim';
  font-size: 1.5em;
  margin: 0;
  margin-bottom: 16px;
}

figure {
  margin: 0;
}

figure>img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
}

ul {
  overflow-x: scroll;
  
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px; 
  list-style-type: none;
  overflow-y:hidden;
  padding: 0;
  height: 512px;
  cursor: w-resize;

  -ms-overflow-style: none; /* Internet Explorer and Edge */
  scrollbar-width: none; /* Firefox */
}

ul::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

li img, li {
  height: 100%;
}

figcaption {
  font-family: "Lato";
  font-weight: light;
  opacity: 0.5;
  margin: 4px;
}

img {
  border-radius: 8px;
}

ul, figure>img, figure>iframe {
  border-radius: 16px;
  outline: solid 1px white;
  outline-offset: -8px;
}

.kirby-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;

  /* border-radius: 8px; */
  width: 100%;
  text-decoration: none;
  font-family: 'custom-megrim';
  font-size: 22px;
  gap: 8px;
  margin: 16px;

  /* outline: solid 1px white;
  outline-offset: 0px;
  border: solid 4px transparent; */
  
  background: #000A;
  border-radius: 8px 8px 0 0;
  border-bottom: solid 1px white;

  transition: all 0.2s;
}

.kirby-link:hover {
  border-width: 4px;
  /* border: solid 4px white;
  outline-offset: 8px; */
}

@media (orientation: portrait) {
  #banner {
    height: 256px !important;
  }
  section {
    padding: 0 16px;
  }
  .kirby-link {
    margin: 8px 0;
  }
}