/* =======================================================
   MORISHITA JOURNAL — EDITORIAL B / v1.0.0
   Applied only to the category "journal" and its posts.
   Existing posts, navigation, theme files remain intact.
   ======================================================= */
body.mhj-b-active {
  color: #1c1c1c;
  background: #f8f7f5;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}
body.mhj-b-active #container.mhj-b-container {
  height: auto !important;
  min-height: 85vh;
  width: 100%;
  overflow: visible !important;
  background: #f8f7f5;
}
body.mhj-b-active .mhj-b-shell,
body.mhj-b-active .mhj-b-shell * { box-sizing: border-box; }
body.mhj-b-active .mhj-b-shell {
  width: calc(100% - 64px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(132px, 12vw, 190px) 0 110px;
  position: relative;
}
body.mhj-b-active .mhj-b-page-header { padding-bottom: 60px; }
body.mhj-b-active .mhj-b-eyebrow {
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: .16em;
  color: #777;
  margin: 0 0 22px;
}
body.mhj-b-active .mhj-b-display {
  margin: 0 0 48px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
  text-align: left;
  color: #181818;
}
body.mhj-b-active .mhj-b-intro-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  color: #555;
}
body.mhj-b-active .mhj-b-rule { width: 40px; height: 1px; flex: 0 0 40px; background: #1c1c1c; margin-top: 13px; }
body.mhj-b-active .mhj-b-intro { margin: 0; font-size: 14px; line-height: 2.15; letter-spacing: .04em; }
body.mhj-b-active .mhj-b-list { border-top: 1px solid #d5d3cf; }
body.mhj-b-active .mhj-b-entry {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  column-gap: clamp(34px, 5vw, 74px);
  align-items: center;
  margin: 0;
  padding: 38px 0;
  border-bottom: 1px solid #d5d3cf;
  background: transparent;
}
body.mhj-b-active .mhj-b-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e7e2;
  color: #777;
  text-decoration: none;
}
body.mhj-b-active .mhj-b-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .55s ease;
}
body.mhj-b-active .mhj-b-thumb-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(145deg, #edebe7, #d4d2ce);
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.045em;
  color: #999691;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.mhj-b-active .mhj-b-thumb-link:hover .mhj-b-thumb { transform: scale(1.04); }
}
body.mhj-b-active .mhj-b-entry-body { min-width: 0; }
body.mhj-b-active .mhj-b-date {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .11em;
  color: #777;
  margin: 0 0 17px;
}
body.mhj-b-active .mhj-b-entry-title {
  margin: 0 0 20px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .015em;
  color: #191919;
  text-align: left;
}
body.mhj-b-active .mhj-b-entry-title a { color: inherit; text-decoration: none; }
body.mhj-b-active .mhj-b-entry-title a:hover { opacity: .68; }
body.mhj-b-active .mhj-b-excerpt {
  margin: 0 0 25px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-size: 13px;
  line-height: 2.05;
  color: #666;
  overflow-wrap: anywhere;
}
body.mhj-b-active .mhj-b-read-more,
body.mhj-b-active .mhj-b-back,
body.mhj-b-active .mhj-b-contact-link {
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: .13em;
  color: #232323;
  text-decoration: none;
}
body.mhj-b-active .mhj-b-read-more span { display: inline-block; margin-left: 14px; font-size: 15px; }
body.mhj-b-active a:focus-visible { outline: 2px solid #191919; outline-offset: 4px; }
body.mhj-b-active .mhj-b-pagination { margin: 55px 0 0; }
body.mhj-b-active .mhj-b-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
body.mhj-b-active .mhj-b-pagination li { margin: 0; padding: 0; }
body.mhj-b-active .mhj-b-pagination .page-numbers a,
body.mhj-b-active .mhj-b-pagination .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 38px; padding: 0 10px;
  font: 12px/1 Arial, sans-serif;
  text-decoration: none; color: #353535;
}
body.mhj-b-active .mhj-b-pagination .page-numbers .current { border-bottom: 1px solid #191919; }
body.mhj-b-active .mhj-b-empty { border-top: 1px solid #d5d3cf; padding: 70px 0; font-size: 14px; color: #666; }
/* Individual journal article */
body.mhj-b-active .mhj-b-article-shell { max-width: 1080px; }
body.mhj-b-active .mhj-b-article-header { width: 100%; max-width: 780px; margin: 0 auto 65px; text-align: center; }
body.mhj-b-active .mhj-b-article-header .mhj-b-back { display: block; width: fit-content; margin: 0 auto 70px; }
body.mhj-b-active .mhj-b-article-header .mhj-b-date { margin-bottom: 26px; }
body.mhj-b-active .mhj-b-article-title {
  margin: 0;
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.45;
  font-weight: 500;
  color: #181818;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
body.mhj-b-active .mhj-b-article-rule { display: block; width: 42px; height: 1px; background: #333; margin: 38px auto 0; }
body.mhj-b-active .mhj-b-article-hero { width: 100%; margin: 0 0 72px; padding: 0; }
body.mhj-b-active .mhj-b-article-hero-image { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; }
body.mhj-b-active .mhj-b-article-content {
  width: 100%; max-width: 760px; margin: 0 auto;
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-size: 15px; line-height: 2.1; color: #303030;
  overflow-wrap: anywhere;
}
body.mhj-b-active .mhj-b-article-content p { margin: 0 0 1.65em; }
body.mhj-b-active .mhj-b-article-content h2 { margin: 2.2em 0 .9em; font-size: 24px; line-height: 1.5; font-weight: 600; text-align: left; }
body.mhj-b-active .mhj-b-article-content h3 { margin: 2em 0 .7em; font-size: 19px; line-height: 1.6; font-weight: 600; text-align: left; }
body.mhj-b-active .mhj-b-article-content img { max-width: 100%; height: auto; }
body.mhj-b-active .mhj-b-article-content figure { max-width: 100%; margin: 35px 0; }
body.mhj-b-active .mhj-b-article-content figcaption { color: #777; font-size: 12px; line-height: 1.6; margin-top: 10px; }
body.mhj-b-active .mhj-b-article-content blockquote { border-left: 1px solid #bbb; margin: 2em 0; padding: .5em 0 .5em 26px; }
body.mhj-b-active .mhj-b-article-content a { text-decoration: underline; text-underline-offset: 3px; }
body.mhj-b-active .mhj-b-article-content iframe { max-width: 100%; }
body.mhj-b-active .mhj-b-article-footer {
  max-width: 760px; margin: 90px auto 0; padding: 32px 0 0;
  border-top: 1px solid #d5d3cf; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
@media screen and (max-width: 750px) {
  body.mhj-b-active .mhj-b-shell { width: calc(100% - 36px); padding: 104px 0 75px; }
  body.mhj-b-active .mhj-b-page-header { padding-bottom: 36px; }
  body.mhj-b-active .mhj-b-eyebrow { font-size: 10px; margin-bottom: 16px; }
  body.mhj-b-active .mhj-b-display { font-size: clamp(49px, 12vw, 72px); margin-bottom: 32px; }
  body.mhj-b-active .mhj-b-intro-row { gap: 15px; }
  body.mhj-b-active .mhj-b-rule { width: 26px; flex-basis: 26px; }
  body.mhj-b-active .mhj-b-intro { font-size: 12px; line-height: 2; }
  body.mhj-b-active .mhj-b-entry { display: block; padding: 25px 0 31px; }
  body.mhj-b-active .mhj-b-thumb-link { aspect-ratio: 16 / 10; margin-bottom: 19px; }
  body.mhj-b-active .mhj-b-date { font-size: 10px; margin-bottom: 10px; }
  body.mhj-b-active .mhj-b-entry-title { font-size: 20px; margin-bottom: 11px; }
  body.mhj-b-active .mhj-b-excerpt { font-size: 12px; line-height: 1.9; margin-bottom: 10px; }
  body.mhj-b-active .mhj-b-article-header { margin-bottom: 40px; }
  body.mhj-b-active .mhj-b-article-header .mhj-b-back { margin-bottom: 42px; }
  body.mhj-b-active .mhj-b-article-title { font-size: clamp(27px, 7vw, 38px); }
  body.mhj-b-active .mhj-b-article-hero { margin-bottom: 40px; }
  body.mhj-b-active .mhj-b-article-content { font-size: 14px; line-height: 2.05; }
  body.mhj-b-active .mhj-b-article-content h2 { font-size: 20px; }
  body.mhj-b-active .mhj-b-article-content h3 { font-size: 18px; }
  body.mhj-b-active .mhj-b-article-footer { margin-top: 65px; }
}
