/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  7. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

:root {
  --color-white: #fcfcfc;
  --color-black: #000000;
  --color-red: #cc0000;
  --color-grey: #555555;
  --ratio: 1.5;
  --s-5: calc(var(--s-4) / var(--ratio));
  --s-4: calc(var(--s-3) / var(--ratio));
  --s-3: calc(var(--s-2) / var(--ratio));
  --s-2: calc(var(--s-1) / var(--ratio));
  --s-1: calc(var(--s0) / var(--ratio));
  --s0: 1rem;
  --s1: calc(var(--s0) * var(--ratio));
  --s2: calc(var(--s1) * var(--ratio));
  --s3: calc(var(--s2) * var(--ratio));
  --s4: calc(var(--s3) * var(--ratio));
  --s5: calc(var(--s4) * var(--ratio));
  --measure: 65ch;
  --line-height: var(--ratio);
  --line-height-small: calc(0.8 * var(--ratio));
  --border-thin: var(--s-5);
  --border-thick: var(--s-2);
  line-height: var(--ratio);
  font-size: calc(0.333vw + 1rem);
  color: var(--color-black);
  font-family: serif;
}

html {
  background-color: var(--color-white);
}

body {
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--measure);
  padding-left: 1rem;
  padding-right: 1rem;
}

a {
  color: var(--color-red);
}

p, ul, ol {
  margin: 0px 0px var(--s1);
}

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

h1 a, h2 a, h3 a, h4 a {
  color: var(--color-black);
  text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
  color: var(--color-red);
  text-decoration: underline;
}

h1 { font-size: var(--s3); line-height: var(--s3); margin: var(--s1) 0; }
h2 { font-size: var(--s2); line-height: var(--s2); margin: var(--s1) 0; }
h3 { font-size: var(--s2); line-height: var(--s2); margin: var(--s1) 0; }
h4 { font-size: var(--s1); line-height: var(--s1); margin: var(--s1) 0; }

header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space, 1rem);
  margin: var(--s-1) 0;
}

main {
  padding-bottom: var(--s1);
}

#logotype {
  color: var(--color-black);
  text-decoration: none;
}

.separator {
  height: 2px;
  border: 0;
  background-color: var(--color-grey);
}

.post-list {
  list-style-type: none;
  padding: 0;
}

.post-list li {
  display: flex;
  justify-content: space-between;
}

.ride-route {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.ride-route li {
  display: block;
}

.ride-route li:after {
  content:'\2192';
  color: var(--color-grey);
  position: relative;
  top: -0.1em;
}

.ride-route li:last-child:after {
  content:''
}

.ride-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.ride-list li {
  display: block;
}

.ride-list li:after {
  content:'\a0\b7\a0';
  color: var(--color-grey);
}

.ride-list li:last-child:after {
  content:''
}

.ride-information {
  list-style-type: none;
  padding: 0.5em 1em;
  border: 2px solid var(--color-red);
  border-radius: 10px;
  font-size: 120%;
}

.ride-information li {
  display: flex;
  justify-content: space-between;
  /*border-bottom: 1px solid var(--color-red);*/
}

.ride-information li:first-child {
  display: flex;
  justify-content: space-between;
  /*background-color: var(--color-grey);*/
}
