/* Junior guides share the series masthead, reading layout and scrollable tables. */
.junior-editorial { --junior-accent: #13c52f; }
.junior-next-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.junior-next-links a { display:grid; gap:4px; min-height:72px; padding:14px 16px; border:1px solid #d7ded7; border-left:4px solid #13c52f; border-radius:6px; color:#142218; text-decoration:none; background:#fff; }
.junior-next-links a span { font-size:.9em; }
@media(max-width:700px) { .junior-next-links { grid-template-columns:1fr; } }
.junior-editorial.editorial-article.reader-page .reader-opening h1 {
  display: block;
  max-width: 24ch;
  margin-block: 6px 16px !important;
  border-inline-start: 4px solid var(--junior-accent);
  padding-inline-start: 16px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.3;
  text-wrap: balance;
}
.junior-editorial.editorial-article.reader-page .reader-opening .article-eyecatch { margin-bottom: 22px; }
.junior-editorial .reader-opening .eyecatch-heading { display: block; }
.junior-editorial .reader-opening .reader-byline { display: flex; flex-wrap: wrap; }
.junior-editorial.editorial-article.reader-page .reader-home-search {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px;
  margin-block: 18px 14px;
  border: 1px solid #dfe4db;
  border-radius: 8px;
  background: #f7faf7;
}
.junior-editorial.editorial-article.reader-page .reader-home-search a[data-article-home-link] {
  width: fit-content;
  margin: 0;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #078b2b;
  border-radius: 999px;
  background: #078b2b;
  color: #fff;
  font-size: 14px;
}
.junior-editorial.editorial-article.reader-page .reader-home-search a[data-article-home-link]:hover {
  background: #076f23;
  border-color: #076f23;
}
.junior-editorial .reader-home-search a[data-article-home-link]::after { content: none; }
.junior-editorial.reader-page .article-photo-frame img { object-fit: contain; }
.junior-editorial .junior-opening-photo { max-width: 460px; margin-block-start: 20px; }
.junior-editorial.reader-page .junior-opening-photo .article-photo-frame { height: clamp(150px, 44vw, 260px); }
.junior-editorial.reader-page .junior-opening-photo img { max-height: 100%; }
.junior-editorial .junior-opening-photo figcaption { font-size: 12px; }
.junior-editorial.editorial-article.reader-page .editorial-reading h2 {
  margin-block: 42px 18px;
  padding-block-start: 18px;
}
.junior-editorial.editorial-article.reader-page .editorial-reading h2::before { content: none; }
.junior-editorial .editorial-reading > section:first-of-type > h2 { margin-top: 22px; }
.junior-editorial .junior-price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .45em;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #078b2b;
  border-radius: 5px;
  padding: 8px 12px;
  background: #078b2b;
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 3px;
}
.junior-editorial .junior-price-cta:hover { background: #076f23; text-decoration: underline; }
.junior-editorial .junior-price-cta:focus-visible { outline: 3px solid var(--junior-accent); outline-offset: 3px; }
.junior-editorial .guide-product > .junior-price-cta { margin-top: 10px; }
.junior-editorial .reader-comparison-table .junior-price-cta { margin-top: 10px; font-size: 12px; }
.junior-editorial .reader-comparison-table .article-product-photo { margin: 0 0 7px; }
.junior-editorial .reader-comparison-table .article-photo-frame { min-width: 0; }
.junior-editorial.reader-page .reader-comparison-table .article-photo-frame { height: 88px; }
.junior-editorial.reader-page .reader-comparison-table .article-photo-frame img { max-height: 100%; }
.junior-editorial .reader-comparison-table .junior-table-model { display: block; line-height: 1.5; }
.junior-editorial .reader-comparison-table .junior-table-spec { display: block; margin-top: 5px; }
.junior-editorial .reader-comparison-table .junior-table-spec small { color: #4f594f; }
.junior-editorial .reader-table-hint { display: block; margin-bottom: 6px; }
.junior-editorial .reader-table-scroll { margin-top: 0; }
.junior-editorial .reader-related a { min-height: 44px; }
.junior-editorial .junior-condition-list dt { margin-top: 12px; font-weight: 750; }
.junior-editorial .junior-condition-list dd { margin: 0 0 12px; padding-left: 12px; border-left: 2px solid #dfe4db; }
.junior-editorial .purchase-models { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.junior-editorial .purchase-sources { margin-block: 20px; }
@media (max-width: 760px) {
  .junior-editorial.editorial-article.reader-page .reader-opening .reader-answer .editorial-standfirst { font-size: 20px; }
  .junior-editorial.editorial-article.reader-page .reader-opening .reader-answer .editorial-answer-detail { font-size: 14px; }
  .junior-editorial .reader-opening .reader-home-search-title { font-size: 14px; }
  .junior-editorial .reader-opening .reader-shortcuts { margin-top: 10px; }
  .junior-editorial .reader-opening .reader-shortcuts a { min-height: 44px; }
  .junior-editorial .junior-opening-photo { max-width: 350px; }
  .junior-editorial .editorial-intro-choices { margin-top: 8px; }
  .junior-editorial .guide-product > .junior-price-cta { width: 100%; }
}
