/* The journal uses the home page palette and its Graphik LCG font stack. */
.dj-v2 .dj-page {
  --journal-ink: #15132b;
  --journal-text: #4a4766;
  --journal-muted: #62667a;
  --journal-line: #dfe4ee;
  --journal-fog: #eef2f8;
  --journal-peach: #ffe7d9;
  --journal-dawn: #ff6a3d;
  color: var(--journal-ink);
  font-family: var(--display, "Graphik LCG", "Golos Text", sans-serif);
}
.dj-v2 .dj-crumbs { margin: 22px 0 24px; }
.dj-v2 .dj-heading { gap: 20px; padding-bottom: 20px; }
.dj-v2 .dj-heading h1 {
  font-size: clamp(46px, 5.8vw, 82px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.058em;
  margin: 8px 0 14px;
}
.dj-v2 .dj-heading p { font-size: clamp(15px, 1.4vw, 18px); max-width: 640px; }
.dj-v2 .dj-heading img { width: 130px; height: 130px; margin-right: 5vw; }
.dj-v2 .dj-tabs { border: 0; padding: 8px 0 23px; }
.dj-v2 .dj-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--journal-line);
}
.dj-v2 .dj-tabs a[aria-current=page] {
  color: var(--journal-ink);
  background: var(--journal-peach);
  border-color: var(--journal-peach);
}
.dj-v2 .dj-edition {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--journal-line);
  padding: 14px 0 20px;
  color: var(--journal-muted);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dj-v2 #materials { scroll-margin-top: 120px; }
.dj-v2 .dj-grid { gap: 22px; margin-bottom: 64px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dj-v2 .dj-card {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--journal-line);
  border-radius: 24px;
  padding: 0;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dj-v2 .dj-card__media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 16px;
  margin: 10px 10px 0;
  background: var(--journal-fog);
}
.dj-v2 .dj-card__media img, .dj-v2 .dj-cover__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dj-v2 .dj-card__media--contain img, .dj-v2 .dj-cover__image--contain img { object-fit: contain; }
.dj-v2 .dj-guide-art {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 2.1vw, 30px);
  color: var(--journal-ink);
  background: linear-gradient(125deg, var(--journal-peach), #f7eef3 57%, var(--journal-fog));
}
.dj-v2 .dj-guide-art span { display: block; margin-bottom: 10px; font-size: 12px; color: var(--journal-text); }
.dj-v2 .dj-guide-art strong { display: block; font-size: clamp(21px, 2.15vw, 33px); line-height: 1.12; font-weight: 500; letter-spacing: -.045em; }
.dj-v2 .dj-guide-art img { width: clamp(40px, 4.4vw, 64px); height: clamp(40px, 4.4vw, 64px); flex: none; object-fit: contain; border-radius: 17%; }
.dj-v2 .dj-cover-focus img { object-position: center 55%; }
.dj-v2 .dj-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; }
.dj-v2 .dj-card__top { gap: 10px; align-items: center; flex-wrap: wrap; }
.dj-v2 .dj-card__type {
  font-family: inherit;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--journal-ink);
  background: var(--journal-peach);
  padding: 5px 10px;
  border-radius: 999px;
}
.dj-v2 .dj-card h2 {
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(21px, 1.85vw, 28px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 15px 0 12px;
}
.dj-v2 .dj-card h2 a::after { z-index: 1; }
.dj-v2 .dj-card p { color: var(--journal-text); font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
.dj-v2 .dj-card__bottom { gap: 8px; padding-top: 12px; border-top: 1px solid var(--journal-line); line-height: 1.4; }
.dj-v2 .dj-card__read { color: #a73e20; }
.dj-v2 .dj-card:focus-within { outline: 2px solid var(--journal-dawn); outline-offset: 3px; }
.dj-v2 .dj-article__header { padding-bottom: 27px; }
.dj-v2 .dj-article__header .dj-article-kind { display: inline-block; margin-left: 10px; color: var(--journal-muted); font-size: 12px; }
.dj-v2 .dj-cover { margin: 24px 0 30px; max-width: 950px; }
.dj-v2 .dj-cover__image { aspect-ratio: 2 / 1; overflow: hidden; border-radius: 24px; background: var(--journal-fog); }
.dj-v2 .dj-cover figcaption { font-size: 11px; line-height: 1.6; color: var(--journal-muted); margin-top: 9px; }
.dj-v2 .dj-cover figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.dj-v2 .dj-related .dj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; }
.dj-v2 .dj-related .dj-card h2 { font-size: 23px; }
@media (hover: hover) and (pointer: fine) {
  .dj-v2 .dj-card:hover { transform: translateY(-3px); border-color: #f0c7b8; box-shadow: 0 12px 24px #15132b13; }
}
@media (max-width: 1000px) {
  .dj-v2 .dj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dj-v2 .dj-heading img { margin-right: 0; width: 115px; height: 115px; }
}
@media (max-width: 640px) {
  .dj-v2 .dj-grid, .dj-v2 .dj-related .dj-grid { grid-template-columns: 1fr; gap: 16px; }
  .dj-v2 .dj-heading h1 { font-size: 46px; }
  .dj-v2 .dj-heading img { width: 75px; height: 82px; margin-top: 0; }
  .dj-v2 .dj-tabs { gap: 6px; padding-bottom: 18px; }
  .dj-v2 .dj-tabs a { padding: 10px 13px; font-size: 12px; }
  .dj-v2 .dj-edition { font-size: 10px; }
  .dj-v2 .dj-card__body { padding: 18px; }
  .dj-v2 .dj-card h2 { font-size: 24px; }
  .dj-v2 .dj-cover__image { aspect-ratio: 1.8 / 1; border-radius: 18px; }
  .dj-v2 .dj-cover { margin-top: 20px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .dj-v2 .dj-card, .dj-v2 .dj-card:hover { transition: none; transform: none; }
}
