/* SLT MRA Works Style v8 (single posts): header region flush with the site header, market card inside the hero,
   phrase-safe hero title. Loaded only while swk8 is active (see SLT_MRA_V8_LIVE in slt-mra-works.php). */

/* ----- header region: site header (#000) -> breadcrumb -> hero read as one black block, like the top page ----- */
.swk8.swk--single .p-breadcrumb { background: #000 !important; }
.swk8 .swk-hero {
  background: #000; box-shadow: 0 0 0 100vmax #000;
  clip-path: inset(-2px -100vmax 0);   /* 2px overlap upward closes the sub-pixel seam (the "short line") under the breadcrumb */
}

/* ----- hero title: break only between phrases, never inside a word ----- */
.swk8 .swk-tp { display: inline-block; }

/* ----- hero market card ----- */
.swk8 .swk-hmk {
  position: relative; margin: 0 0 34px; padding: 20px 22px 14px;
  border: 1px solid rgba(193, 171, 5, .5); border-radius: 14px;
  background: linear-gradient(135deg, rgba(193, 171, 5, .20), rgba(193, 171, 5, .04) 62%);
}
.swk8 .swk-hmk--save { margin-top: 18px; padding-top: 30px; }
.swk8 .swk-hmk p { margin: 0 !important; text-align: left !important; }
.swk8 .swk-hmk__save {
  position: absolute; top: -17px; left: 18px; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 7px 16px 7px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--gold-g); color: var(--black); font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
  box-shadow: 0 8px 22px rgba(193, 171, 5, .38);
}
.swk8 .swk-hmk__save i { font-size: 12px; align-self: center; }
.swk8 .swk-hmk__save b { font-size: 20px; font-weight: 800; letter-spacing: .02em; margin: 0 1px; }
.swk8 .swk-hmk__lab { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.swk8 .swk-hmk__val {
  margin-top: 6px !important; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: .02em;
  background: var(--gold-g); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.swk8 .swk-hmk__val small {
  display: inline-block; white-space: nowrap; margin-left: 6px; font-size: 13px; letter-spacing: .1em;
  -webkit-text-fill-color: #cfcab8; color: #cfcab8; font-family: "Noto Sans JP", sans-serif;
}
.swk8 .swk-hmk .swk-mk__bar { margin: 38px 6px 12px; }

/* dot label stays inside the card when the price sits near either end of the bar */
.swk8 .swk-mk__dot.is-l b { left: -4px; transform: none; }
.swk8 .swk-mk__dot.is-r b { left: auto; right: -4px; transform: none; }

@media (max-width: 767px) {
  .swk8 .swk-hmk { padding: 18px 16px 12px; }
  .swk8 .swk-hmk--save { padding-top: 28px; }
  .swk8 .swk-hmk__save { left: 14px; font-size: 13px; padding: 6px 14px 6px 10px; }
  .swk8 .swk-hmk__save b { font-size: 18px; }
  .swk8 .swk-hmk__val { font-size: 24px; }
}
