html {
  display: flex;
  justify-content: center;
}

body {
  margin: 16px;
  font-family: Helvetica, sans-serif;
  width: 800px;
}

header {
  margin-bottom: 16px;
  color: #777;
  font-size: 90%;
}

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

.site-title {
  font-weight: bold;
  font-size: 150%;
  color: inherit;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  color: #1a44c7;
}

form {
  margin: 8px 0;
}

input {
  width: 100%;
  padding: 4px;
}

.date {
  margin-top: 16px;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 110%;
}

.programme {
  padding: 12px 0;
  display: flex;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  font-size: 90%;
}

.image {
  flex-shrink: 0;
}

.image img {
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
}

.meta {
  flex: 1;
  padding-left: 12px;
}

@media (max-width: 800px) {
  header {
    font-size: 80%;
  }

  .meta {
    font-size: 90%;
  }

  .position {
    font-size: 90%;
  }
}

.title {
  font-weight: bold;
}

.synopsis {
  margin: 4px 0;
  color: #555;
}

.position {
  color: #777;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

footer a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  font-size: 150%;
}

.new-series-badge {
  position: absolute;
  top: 34px;
  left: -40px;
  display: inline-block;
  padding: 3px 50px;
  color: #b4853e;
  border-radius: 5px;
  background: white;
  font-weight: bold;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
