/* Dirt Road Labs: journal-only large logo on the right of the title.
   Deliberately loaded AFTER article.css to avoid stale cached layout rules. */
.journal-heading-with-brand {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px) !important;
  column-gap: 48px !important;
  align-items: center !important;
  justify-content: initial !important;
  width: 100%;
  margin-bottom: 28px;
}
.journal-heading-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
.journal-heading-with-brand .journal-page-brand {
  grid-column: 2;
  grid-row: 1;
  display: block;
  justify-self: end;
  align-self: center;
  width: 100% !important;
  max-width: 340px;
  height: auto;
  flex: none !important;
  margin: 0 !important;
  background: none;
  border: 0;
  border-radius: 0;
}
.journal-heading-with-brand .journal-page-brand img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}
@media (max-width: 800px) {
  .journal-heading-with-brand {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 220px) !important;
    column-gap: 24px !important;
  }
}
@media (max-width: 600px) {
  .journal-heading-with-brand {
    grid-template-columns: minmax(0, 1fr) 105px !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .journal-heading-with-brand .journal-page-brand { max-width: 105px; }
  .journal-page-title, .article-header h1 { overflow-wrap: anywhere; }
}
