/**
 * The CSS for blog posts. This is for any custom elements that can be used
 * across multiple posts, or for styling we want to apply only to blog posts.
 */
/**
 * IMPORTANT: Most of these are exposed as CSS variables in main.scss
 */
main.content-limiter.-page {
  max-width: 1000px;
}
main.content-limiter.-page .all-posts-cont, main.content-limiter.-page h1, main.content-limiter.-page h2, main.content-limiter.-page h3, main.content-limiter.-page ul, main.content-limiter.-page p:not(.-wide), main.content-limiter.-page .post-controls {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

main.post p.caption {
  margin-top: 0.5rem;
  font-size: 0.825rem;
}
main.post ul {
  margin-top: 1rem;
  padding-left: 3rem;
}
main.post ul li + li {
  margin-top: 1rem;
}
main.post ul p {
  margin: 0;
}
main.post img {
  border: solid 0.55rem #FFFFFF !important;
  box-sizing: border-box;
  box-shadow: -4px -2px 10px 2px rgba(0, 0, 0, 0.5);
}
main.post img.-left {
  float: left;
  width: 40%;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
main.post img.-medium {
  width: 60%;
  border-width: 0.4rem !important;
}
main.post iframe {
  display: block;
  margin: auto;
  max-width: 100%;
  aspect-ratio: 2/1;
  height: auto;
}

table.breakdown {
  margin: auto;
  border: solid 1px var(--dark-bg-color);
  background-color: var(--light-bg-color);
  padding: 1rem;
  font-size: 0.875rem;
}
table.breakdown caption {
  text-align: left;
  font-size: 0.75rem;
}
table.breakdown td, table.breakdown th {
  padding: 0.5rem 1rem;
  border-bottom: solid 1px var(--bit-dark-bg-color);
}
table.breakdown th {
  font-size: 0.75rem;
  padding-bottom: 0.25rem;
  text-align: left;
  border-bottom: solid 1px var(--text-color);
  background-color: var(--light-bg-color);
}
table.breakdown td:first-of-type {
  padding-right: 2rem;
  font-weight: 600;
}
table.breakdown td:not(:first-of-type) {
  text-align: right;
}
table.breakdown tr.last-line td {
  padding-bottom: 0.5rem;
  border-bottom: none;
}
table.breakdown tr.total {
  border-top: solid 1px var(--text-color);
  font-weight: bold;
  line-height: 1.25;
}
table.breakdown tr.total td {
  padding-top: 0.5rem;
}
table.breakdown tr.total .smaller {
  font-weight: normal;
  font-size: 0.875em;
}
table.breakdown .emoji {
  display: inline-block;
  margin-right: 0.5rem;
}

.two-cols {
  display: flex;
}
.two-cols.-imgs {
  gap: 4%;
}
.two-cols.-imgs img {
  width: 48%;
}
.two-cols.-img-with-caption {
  margin-top: 1rem;
  gap: 2rem;
}
.two-cols.-img-with-caption > div:first-of-type {
  width: 40%;
}
.two-cols.-img-with-caption > div:last-of-type {
  width: 60%;
}
.two-cols img.-left {
  margin-top: 2rem;
}

main.post .three-cols {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}
main.post .three-cols img {
  width: 35%;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
  border-width: 0.25rem !important;
}
main.post .three-cols img:first-of-type {
  position: relative;
  left: 0.25rem;
}
main.post .three-cols img:nth-of-type(2) {
  z-index: 2;
}
main.post .three-cols img:nth-of-type(3) {
  position: relative;
  left: -0.25rem;
  width: 30%;
}

.cargo-haul-imgs {
  display: flex;
  gap: 0.5rem 0;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cargo-haul-imgs img {
  width: 50%;
  box-sizing: border-box;
  box-shadow: -4px -2px 10px 2px rgba(0, 0, 0, 0.5);
  position: relative;
}
.cargo-haul-imgs img:nth-of-type(1) {
  z-index: 1;
}
.cargo-haul-imgs img:nth-of-type(2) {
  z-index: 2;
}
.cargo-haul-imgs img:nth-of-type(3) {
  z-index: 3;
}
.cargo-haul-imgs img:nth-of-type(4) {
  z-index: 4;
}
.cargo-haul-imgs img:nth-of-type(5) {
  z-index: 5;
}
.cargo-haul-imgs img:nth-of-type(1) {
  transform: rotate(-4.5deg);
}
.cargo-haul-imgs img:nth-of-type(2) {
  transform: rotate(4deg);
}
.cargo-haul-imgs img:nth-of-type(3) {
  transform: rotate(3deg);
}
.cargo-haul-imgs img:nth-of-type(4) {
  transform: rotate(-2deg);
}
.cargo-haul-imgs img:nth-of-type(5) {
  transform: rotate(-3deg);
}
.cargo-haul-imgs img:nth-of-type(5) {
  position: relative;
  top: -3rem;
}

/** Mobile styling */
@media (max-width: 1000px) {
  main.post ul {
    padding-left: 2rem;
  }
  main.post img {
    border-width: 0.25rem !important;
  }
  main.post .two-cols {
    display: block;
  }
  main.post .two-cols.-imgs img {
    width: 70%;
  }
  main.post .two-cols.-imgs img:first-of-type {
    margin-left: 2rem;
  }
  main.post .two-cols.-imgs img:last-of-type {
    position: relative;
    margin-top: -1rem;
    margin-right: 2rem;
  }
  main.post .two-cols.-img-with-caption > * {
    width: 100%;
  }
  main.post .three-cols {
    flex-direction: column;
    max-width: 600px;
  }
  main.post .three-cols img {
    width: 80%;
    box-shadow: 0.25rem 0.25rem 0.25rem rgba(0, 0, 0, 0.5);
  }
  main.post .three-cols img:first-of-type {
    margin-bottom: 0.5rem;
    width: 60%;
  }
  main.post .three-cols img:nth-of-type(3) {
    margin-top: 0.5rem;
    width: 60%;
  }
  main.post img.-left {
    float: none;
    width: 100%;
    margin: 1rem auto;
  }
  main.post table.breakdown {
    font-size: 0.875rem;
    margin-left: -25px;
    margin-right: -25px;
  }
  main.post table.breakdown caption {
    margin-left: 0.5rem;
  }
  main.post table.breakdown td, main.post table.breakdown th {
    padding: 0.3rem 0.5rem;
  }
}

/*# sourceMappingURL=ebike-article.css.map */