@charset "UTF-8";
/**
 * IMPORTANT: Most of these are exposed as CSS variables in main.scss
 */
/**
 * Variables for spacing (like margin and padding) and sizing (like breakpoints
 * and content width)
 */
.notice p {
  margin: 0.5rem 0 0 0;
  font-size: 0.875em;
}

main.post details.table-of-contents {
  padding: 0;
  margin: 1.5rem 0;
  background-color: var(--bit-dark-bg-color);
  border: solid 1px #D3D3D3;
  border-radius: 15px;
}
main.post details.table-of-contents summary {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 15px;
}
main.post details.table-of-contents[open] summary {
  border-radius: 15px 15px 0 0;
}
main.post details.table-of-contents summary:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
main.post details.table-of-contents nav {
  padding: 0 1rem 1rem;
}
main.post details.table-of-contents ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
main.post details.table-of-contents ul ul {
  padding-left: 1.25rem;
}
main.post details.table-of-contents li + li {
  margin-top: 0.35rem;
}
main.post details.table-of-contents li > ul {
  margin-top: 0.35rem;
}

main.post .post-subtitle {
  font-size: 1.3125rem;
  margin-top: 0;
  color: var(--text-color-faded);
}

.cost-table {
  margin-top: 0.5rem;
  margin: 0 -1rem;
  overflow-x: auto;
}
.cost-table table {
  width: 850px;
}
.cost-table th,
.cost-table td {
  padding-left: 1rem;
  padding-right: 1rem;
}
.cost-table th {
  text-align: left;
  font-weight: 700;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: var(--dark-bg-color);
  color: var(--text-color);
}
.cost-table tbody tr:nth-child(odd) td {
  background: var(--bg-color);
}
.cost-table tbody tr:nth-child(even) td {
  background: var(--light-bg-color);
}
.cost-table td:first-child {
  line-height: 1;
  padding-top: 4px;
  padding-bottom: 4px;
}
.cost-table tr:first-child td {
  padding-bottom: 0.25rem;
}
.cost-table tbody tr:last-child {
  font-weight: 700;
}
.cost-table tbody tr:last-child td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: var(--dark-bg-color);
  color: var(--text-color);
}
.cost-table__location {
  font-size: 0.8rem;
  color: var(--text-color-faded);
}
@media (min-width: 900px) {
  .cost-table {
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);
    overflow: visible;
  }
}

main.post .image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem auto;
}
main.post .image-grid img {
  width: 100%;
  border: solid 1px #808080;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  margin: 0 !important;
}
@media (min-width: 801px) {
  main.post .image-grid {
    width: max(98vw, 320px);
    margin-left: 50%;
    transform: translateX(-50%);
    align-items: start;
  }
  main.post .image-grid.-two-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: min(1200px, calc(max(100vw, 320px) - 3rem));
  }
  main.post .image-grid.-three-col {
    grid-template-columns: repeat(3, 1fr);
    max-width: min(max(90vw, 320px), calc(max(100vw, 320px) - 3rem));
  }
  main.post .image-grid.-match-heights {
    display: flex;
    justify-content: center;
  }
  main.post .image-grid.-match-heights > * {
    flex: 0 1 auto;
    min-width: 0;
  }
  main.post .image-grid.-match-heights .image-link {
    width: auto;
  }
  main.post .image-grid.-match-heights .image-link img {
    max-width: 100%;
  }
  main.post .image-grid.-match-heights img {
    height: min(320px, 20vw);
    width: auto;
    display: block;
  }
  main.post .image-grid.-match-heights.-tall img {
    height: min(400px, 30vw);
  }
}

main.post .image-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.5rem auto;
  transition: transform 0.2s ease;
}
main.post .image-link img {
  display: block;
  max-width: 600px;
  width: 100%;
  transition: box-shadow 0.2s ease;
  border: solid 1px #808080;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
main.post .image-link:hover, main.post .image-link:focus-visible {
  transform: translateY(-2px);
}
main.post .image-link:hover img, main.post .image-link:focus-visible img {
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  main.post .image-link {
    transition: box-shadow 0.2s ease;
  }
  main.post .image-link:hover, main.post .image-link:focus-visible {
    transform: none;
  }
}
main.post .image-link.-in-grid {
  width: 100%;
  margin: 0;
}
main.post .image-link.-in-grid img {
  max-width: 100%;
}
main.post .image-link.-full-width {
  width: 100%;
}
main.post .image-link.-full-width img {
  max-width: 100%;
}

h2 {
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  transition: border-color 0.3s ease;
  scroll-margin-top: 180px;
}

h2, h3 {
  margin-bottom: 0.5rem;
}

h4 {
  margin-bottom: 0.25rem;
}

h2 + p, h3 + p, h4 + p {
  margin-top: 0;
}

h2.-active-section {
  border-color: #D80000;
}

p.caption {
  margin-top: 0.5rem;
  font-size: 0.825rem;
}

#trip-progress {
  position: sticky;
  top: 60px;
  z-index: 2;
}

.trip-progress {
  background: var(--light-bg-color);
  box-sizing: border-box;
  padding: 0.5rem 1rem 0.75rem;
  margin-bottom: 2rem;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4196078431);
  border-radius: 1rem;
}
@media (min-width: 801px) {
  .trip-progress {
    width: min(110%, calc(max(100vw, 320px) - 3rem));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

#trip-progress.-stuck .trip-progress {
  border-radius: 0 0 1rem 1rem;
}

.trip-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.trip-days__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-color-faded);
  white-space: nowrap;
}

.trip-track {
  position: relative;
  height: 3.75rem;
  flex: 1;
}
.trip-track__line {
  position: absolute;
  top: 33px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--dark-bg-color);
}
.trip-track__progress {
  position: absolute;
  top: 33px;
  left: 0;
  height: 2px;
  background: #D80000;
  transition: width 0.5s ease;
}
.trip-track__divider {
  position: absolute;
  top: 0.25rem;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--dark-bg-color);
  transform: translateX(-50%);
}
.trip-track__car {
  position: absolute;
  top: 1.45rem;
  width: 3rem;
  transform: translateX(-50%);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 3;
}

.trip-stop {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transform: translateX(-50%);
  text-decoration: none;
  color: inherit;
}
.trip-stop:focus-visible {
  outline: 2px solid #D80000;
  outline-offset: 2px;
  border-radius: 2px;
}
.trip-stop__icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  transition: filter 0.3s;
}
.trip-stop:hover .trip-stop__icon {
  filter: invert(14%) sepia(89%) saturate(4680%) hue-rotate(3deg) brightness(85%) contrast(115%);
}
.trip-stop__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--light-bg-color);
  border: 2px solid var(--dark-bg-color);
  transition: border-color 0.3s;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.trip-stop__label {
  font-size: 0.65rem;
  color: var(--text-color-faded);
  white-space: nowrap;
  margin-top: 0.3rem;
  transition: color 0.3s;
}
@media (min-width: 801px) {
  .trip-stop__label {
    font-size: 14px;
  }
}
.trip-stop.-visited .trip-stop__dot {
  background: #D80000;
  border-color: #D80000;
}
.trip-stop.-visited .trip-stop__dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.trip-stop.-visited .trip-stop__icon {
  filter: invert(14%) sepia(89%) saturate(4680%) hue-rotate(3deg) brightness(85%) contrast(115%);
}
.trip-stop.-visited .trip-stop__label {
  color: var(--text-color);
}
.trip-stop.-active .trip-stop__dot {
  background: #D80000;
  border-color: #D80000;
  box-shadow: 0 0 0 3px rgba(216, 0, 0, 0.2);
}
.trip-stop.-active .trip-stop__icon {
  filter: drop-shadow(0 0 3px rgba(216, 0, 0, 0.4)) invert(14%) sepia(89%) saturate(4680%) hue-rotate(3deg) brightness(85%) contrast(115%);
}
.trip-stop.-active .trip-stop__label {
  font-weight: 700;
  color: var(--brand-text-color);
}
@media (max-width: 800px) {
  .trip-stop .trip-stop__label {
    width: min(16vw, 72px);
    white-space: break-spaces;
    height: auto;
    text-align: center;
  }
}

@media (prefers-color-scheme: dark) {
  .cost-table th,
  .cost-table tbody tr:last-child td {
    background: var(--intense-bg-color);
  }
  .trip-stop__icon {
    filter: invert(1);
  }
  .trip-track__line,
  .trip-track__divider {
    background: var(--text-color-faded);
  }
  .trip-stop__dot {
    border-color: var(--text-color-faded);
  }
}
@media (max-width: 800px) {
  #trip-progress {
    top: 55px;
  }
  .trip-progress {
    width: calc(max(100vw, 320px) - 20px);
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .trip-track {
    height: 4.8rem;
  }
  .trip-row {
    padding: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
  }
  .trip-days__label {
    width: 45%;
    text-align: center;
  }
  .trip-track {
    order: 3;
    flex-basis: 100%;
    max-width: 90%;
    margin: auto;
  }
  h2 {
    scroll-margin-top: 225px;
  }
}
@media (max-width: 380px) {
  .trip-progress {
    width: calc(max(100vw, 320px) - 8px);
    padding-bottom: 5px;
  }
  .trip-days__label {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .trip-stop__label {
    font-size: 10px;
  }
}
iframe {
  display: block;
  margin: auto;
  max-width: 100%;
}

/*# sourceMappingURL=ev-road-trip.css.map */