/* The theme supplies a static rail. Journey owns all ad behavior. */
/* Quotely: on phones and tablets the author card shows after the post instead of being hidden. */
.qt-sidebar { display: block; box-sizing: border-box; width: 100%; max-width: 700px; margin: 0 auto 6vh; padding: 0 20px; }
.qt-post-endmatter { width: 100%; min-height: 1px; }

.qt-author-card {
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid var(--color-border-one, #d6d6da);
  border-radius: 18px;
  color: var(--color-font-one, #141414);
  background: var(--color-body, #fff);
}
.qt-author-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.qt-author-photo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 64px;
  margin: 0;
}
.qt-author-heading {
  font-family: var(--font-family-three, serif);
  font-weight: var(--font-weight-three-regular, 400);
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
}
.qt-author-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.qt-author-card a {
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1100px) {
  .post-template .qt-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    width: 100%;
    max-width: 1056px;
    margin: 0 auto 8vh;
  }
  .post-template .qt-post-layout > .post-content {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 700px;
    padding: 0;
    margin: 0;
  }
  .post-template .qt-sidebar {
    display: block;
    box-sizing: border-box;
    width: 320px;
    min-width: 320px;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    position: static;
    overflow: visible;
    transform: none;
  }
  .post-template .qt-sidebar-inner {
    box-sizing: content-box;
    width: 320px;
    padding: 0;
    border: 0;
    position: static;
    overflow: visible;
    transform: none;
  }
  /* Contain Ghost's viewport/negative-margin breakouts in the reading track. */
  .post-template .qt-post-layout .post-content .kg-width-wide,
  .post-template .qt-post-layout .post-content .kg-width-full,
  .post-template .qt-post-layout .post-content .kg-width-wide img,
  .post-template .qt-post-layout .post-content .kg-width-full img,
  .post-template .qt-post-layout .post-content .kg-gallery-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
  .post-template .qt-post-layout .post-content iframe,
  .post-template .qt-post-layout .post-content video {
    max-width: 100%;
  }
  .post-template .qt-post-layout .post-content video {
    height: auto;
  }
}
