/* =====================================================================
   local-insights-detail - single `local_insight` article view.
   Page-section styles only; shared chrome (header/footer/crumb/lead,
   reset, canvas) lives in main.css.
   ===================================================================== */

/* ---- animations / helpers lifted from inline <style> ---- */
.ind-body { font-family: 'Noto Sans JP', system-ui, sans-serif; }
    .ind-body p { font-size: 16.5px; line-height: 1.98; margin: 0 0 22px; color: #3A3A3A; }
    .ind-body strong { color: #1A1A1A; font-weight: 700; }
    .ind-body ul { margin: 0 0 22px; padding-left: 4px; list-style: none; }
    .ind-body li { position: relative; font-size: 16px; line-height: 1.9; color: #3A3A3A; padding-left: 24px; margin-bottom: 10px; }
    /* Red-dot bullet is for unordered lists only; ordered lists get numbers below. */
    .ind-body ul > li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; background: #C8102E; border-radius: 50%; }

    /* ---- ordered list: red, weighted counters ---- */
    .ind-body ol { margin: 0 0 22px; padding-left: 4px; list-style: none; counter-reset: ind-ol; }
    .ind-body ol > li { padding-left: 34px; }
    .ind-body ol > li::before {
      counter-increment: ind-ol;
      content: counter(ind-ol) ".";
      position: absolute; left: 0; top: 0;
      min-width: 24px;
      font-family: Barlow, system-ui, sans-serif;
      font-size: 15px; font-weight: 700;
      color: #C8102E;
      font-variant-numeric: tabular-nums;
    }

    /* An ordered list that sets its own marker (e.g. a migrated lower-greek
       legal callout) opts out of the custom red counter and keeps its marker. */
    .ind-body ol[style*="list-style"] { padding-left: 2em; counter-reset: none; }
    .ind-body ol[style*="list-style"] > li { padding-left: 0; }
    .ind-body ol[style*="list-style"] > li::before { content: none; }

    /* ---- inline links, emphasis, rule, code ---- */
    .ind-body em { font-style: italic; }
    .ind-body hr { border: 0; border-top: 1px solid #E3E7EE; margin: 36px 0; }
    .ind-body code { font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; background: #F4F7FC; border: 1px solid #E3E7EE; border-radius: 4px; padding: 1px 6px; }

    /* ---- callout / quoted excerpt (core Quote block) ------------------------
       New-site treatment: a light navy panel with a red accent bar and rounded
       corners - the on-brand replacement for migrated colored callout boxes.
       Reference lines are bolded navy; the appendix list keeps clean a/b/c
       markers instead of the body's red counter. ---- */
    .ind-body blockquote,
    .ind-body .wp-block-quote {
      margin: 30px 0;
      padding: 22px 26px 22px 24px;
      background: #F4F7FC;
      border: 1px solid #E6EAF0;
      border-left: 4px solid #C8102E;
      border-radius: 10px;
      color: #3A4653;
    }
    .ind-body blockquote > :first-child { margin-top: 0; }
    .ind-body blockquote p { font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 15px; line-height: 1.9; color: #3A4653; margin: 0 0 14px; }
    .ind-body blockquote p:last-child { margin-bottom: 0; }
    .ind-body blockquote strong { color: #0C2D5E; font-weight: 700; }
    .ind-body blockquote em { font-style: italic; }
    .ind-body blockquote a { color: #C8102E; }
    .ind-body blockquote cite { display: block; margin-top: 10px; font-size: 12.5px; font-style: normal; color: #6B7280; }
    .ind-body blockquote ol { list-style: lower-alpha; padding-left: 1.9em; counter-reset: none; margin: 0 0 14px; }
    .ind-body blockquote ol > li { padding-left: 4px; margin-bottom: 8px; font-size: 15px; line-height: 1.9; color: #3A4653; }
    .ind-body blockquote ol > li::before { content: none; }
    .ind-body blockquote ol > li::marker { color: #C8102E; font-weight: 700; }

    /* ---- images / figures / captions ---- */
    .ind-body img { max-width: 100%; height: auto; }
    .ind-body figure:not(.wp-block-table) { margin: 0 0 26px; }
    .ind-body figure:not(.wp-block-table) img { display: block; width: 100%; border-radius: 8px; }
    .ind-body figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: #6B7280; text-align: center; }

    /* ---- table ----
       Moved to article-body.css so the Expert Guide, Industrial Park and
       News bodies render a table the same way this one does. ---- */

    /* ---- country chip as a link (flag + name) ---- */
    a.article__label { text-decoration: none; transition: background .15s ease, border-color .15s ease; }
    a.article__label:hover { background: rgb(224, 232, 244); border-color: rgba(12, 45, 94, 0.22); }

    /* ---- category English name, beside the category chip (matches the archive) ---- */
    .article__label-en { font-family: Barlow, system-ui, sans-serif; font-size: 10px; font-weight: 700; color: rgb(107, 114, 128); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

    /* ---- NEW badge (matches the homepage card / News) ---- */
    .ind-new { display: inline-flex; align-items: center; background: rgb(236, 253, 245); color: rgb(6, 95, 70); font-family: Barlow, system-ui, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; padding: 4px 9px; border-radius: 3px; text-transform: uppercase; border: 1px solid rgba(6, 95, 70, 0.3); }

    /* ---- author box (profile card after the tags) ---- */
    .ind-author-card { margin-top: 36px; padding: 28px 30px; background: rgb(244, 247, 252); border: 1px solid rgb(230, 234, 240); border-radius: 12px; }
    .ind-author-card__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgb(227, 231, 238); }
    .ind-author-card__label { font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 13px; font-weight: 700; color: rgb(107, 114, 128); letter-spacing: 0.04em; white-space: nowrap; }
    .ind-author-card__name { font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 19px; font-weight: 700; color: rgb(12, 45, 94); letter-spacing: 0.01em; }
    .ind-author-card__row { display: flex; align-items: flex-start; gap: 26px; }
    .ind-author-card__media { flex: 0 0 auto; width: 150px; }
    .ind-author-card__media img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; display: block; background: rgb(232, 238, 247); }
    .ind-author-card__bio { flex: 1 1 0%; min-width: 0; }
    .ind-author-card__bio p { font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 15px; line-height: 1.95; color: #3A3A3A; margin: 0 0 14px; }
    .ind-author-card__bio p:last-child { margin-bottom: 0; }
    .ind-author-card__bio strong { font-weight: 700; color: #1A1A1A; }
    .ind-author-card__bio a { color: #C8102E; text-decoration: underline; text-underline-offset: 2px; }

    /* ---- reprint / copyright notice ---- */
    .ind-copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(227, 231, 238); font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 12.5px; line-height: 1.9; color: rgb(107, 114, 128); text-align: center; }

    @media (max-width: 768px) {
      /* Table rules for narrow screens moved to article-body.css, shared
         with the guide, park and news bodies. */
      .ind-author-card { padding: 22px 20px; }
      .ind-author-card__row { flex-direction: column; align-items: center; text-align: left; gap: 18px; }
      .ind-author-card__media, .ind-author-card__media img { width: 120px; height: 120px; }
    }
    .ind-share { transition: transform .2s ease; }
    .ind-share:hover { transform: translateY(-3px); }
    .ind-back { transition: color .15s ease; }
    .ind-back:hover { color: #C8102E; }
    .ind-tag { transition: border-color .15s ease, color .15s ease; }
    .ind-tag:hover { border-color: #0C2D5E; color: #0C2D5E; }
    .ind-rel { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .2s ease; }
    .ind-rel:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(6,22,41,0.26); }
    .ind-rel:hover .ind-rel__img { transform: scale(1.06); }
    .ind-rel__img { transition: transform .8s cubic-bezier(.16,1,.3,1); }

/* =====================================================================
   SECTION CLASSES  (converted from inline styles)
   ===================================================================== */

/* ---------- Article (header + body) ---------- */

.article__box {
  background: rgb(255, 255, 255);
}

.article__box-2 {
  max-width: 1280px;
  margin: 0px auto;
  padding: 40px 24px 0px;
}

.article__box-3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.article__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(232, 238, 247);
  color: rgb(12, 45, 94);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(12, 45, 94, 0.08);
}

.article__label-2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: rgb(200, 16, 46);
  background: rgb(252, 233, 236);
  border-radius: 3px;
  padding: 5px 12px;
  white-space: nowrap;
}

.article__label-3 {
  width: 5px;
  height: 5px;
  background: rgb(200, 16, 46);
  border-radius: 50%;
}

.article__label-4 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article__title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: rgb(6, 22, 41);
  margin: 0px;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.article__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  color: rgb(58, 58, 58);
  line-height: 1.9;
  margin: 20px 0px 0px;
  /* Same measure as the park hero (.hero__text): 80% of the header keeps the
     line length readable rather than running edge to edge, and the whole width
     below the tablet breakpoint, where 80% would just waste the column. The
     three content types carry the summary the same way. */
  max-width: 80%;
}

.article__box-4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 22px 0px 26px;
}

.article__box-5 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article__label-5 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.article__label-6 {
  width: 3px;
  height: 13px;
  background: rgb(200, 16, 46);
}

.article__label-7 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Japanese in a label slot built for English small caps: Barlow has no kana or
   kanji, and 0.12em tracking is wide for them. */
.article__label--ja {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
}

.article__label-8 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.article__label-9 {
  width: 1px;
  height: 13px;
  background: rgb(227, 231, 238);
}

.article__label-10 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  white-space: nowrap;
}

.article__box-6 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.article__box-7 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article__link {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-2 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(24, 119, 242);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-3 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(10, 102, 194);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__link-4 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgb(6, 199, 85);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.article__box-8 {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px;
}

.article__box-9 {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

.article__box-10 {
  max-width: 1000px;
  margin: 0px auto;
  padding: 44px 24px 24px;
}

.article__box-11 {
  margin: 0px 0px 20px;
}

.article__box-12 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}

.article__label-11 {
  width: 22px;
  height: 2px;
  background: rgb(200, 16, 46);
}

.article__label-12 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(200, 16, 46);
}

.article__heading {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: rgb(6, 22, 41);
  margin: 0px;
  letter-spacing: 0.01em;
  line-height: 1.36;
}

.article__box-13 {
  margin: 40px 0px 20px;
}

.article__box-14 {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

.article__box-15 {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgb(227, 231, 238);
}

.article__box-16 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article__box-17 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article__link-5 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 100px;
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.article__box-18 {
  height: 44px;
}

/* ---------- Related articles ---------- */

.related__label {
  font-size: 13px;
}

.related__img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article__box-9 > .related__img {
  position: static;
  height: auto;
  max-height: 540px;
}

.related__section {
  background: rgb(244, 247, 252);
  border-top: 1px solid rgb(227, 231, 238);
}

.related__box {
  max-width: 1280px;
  margin: 0px auto;
  padding: 44px 24px 52px;
}

.related__box-2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.related__label-2 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(200, 16, 46);
}

.related__heading {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: rgb(6, 22, 41);
  margin: 0px;
  letter-spacing: 0.01em;
}

.related__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: rgb(6, 22, 41);
  text-decoration: none;
  border-bottom: 2px solid rgb(200, 16, 46);
  padding-bottom: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.related__box-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related__link-2 {
  display: flex;
  flex-direction: column;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  min-width: 0px;
}

.related__box-4 {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

.related__box-5 {
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(6, 22, 41, 0.05) 0%, rgba(6, 22, 41, 0.6) 100%);
}

.related__box-6 {
  position: absolute;
  left: 11px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.related__label-3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.related__label-4 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 16, 46, 0.92);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
}

.related__box-7 {
  padding: 15px 17px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}

.related__card-title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgb(26, 26, 26);
  margin: 0px;
  line-height: 1.46;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related__box-8 {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgb(239, 242, 247);
}

.related__label-5 {
  width: 3px;
  height: 12px;
  background: rgb(200, 16, 46);
}

.related__label-6 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgb(107, 114, 128);
  white-space: nowrap;
}

.related__label-7 {
  flex: 1 1 0%;
}

.related__label-8 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(12, 45, 94);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Back link ---------- */

.backlink__box {
  background: rgb(255, 255, 255);
  border-top: 1px solid rgb(227, 231, 238);
}

.backlink__box-2 {
  max-width: 1200px;
  margin: 0px auto;
  padding: 24px;
}

.backlink__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(12, 45, 94);
  text-decoration: none;
}

/* =====================================================================
   MOBILE / RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  .article__title { font-size: clamp(24px, 7vw, 40px); }
  .related__box-3 { grid-template-columns: 1fr; }
  .article__text { max-width: none; }
}
