/* =====================================================================
   OG - global + shared chrome
   ---------------------------------------------------------------------
   Loaded site-wide. Holds only the shared rules:
     - reset / fonts / the .og-home design canvas
     - the site header + primary nav
     - the reusable page lead (navy photo banner) + breadcrumb
     - the site footer
   Each page ships assets/css/{slug}.css with its own section styles.
   Sections bleed full-width, content capped by the shared --og-content
   column. Header and footer use the same cap to keep their logo and link
   edges aligned. Use the token in both, not a literal.
   ===================================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #F4F7FC;
  font-family: 'Barlow', 'Noto Sans JP', system-ui, sans-serif;
  /* clip, not hidden: overflow-x:hidden makes this a scroll container, which
     silently breaks position:sticky on the header. clip stops the sideways
     overflow without creating one. */
  overflow-x: clip;
}

#root { display: flex; justify-content: center; }

/* Full-width page wrapper. Section backgrounds bleed edge-to-edge; the inner
   content of each section is capped by its own centered max-width box
   (the shared --og-content width via the design's *__box wrappers). */
.og-home {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  color: #1A1A1A;
}

/* Standard content column. Sections cap their inner content at this width via
   their own centered *__box wrapper. */
:root {
  --og-content: 1280px;
  /* Header, footer and page content all cap here. The header and its mega panels
     used to run 15% wider (1472px), which put the logo and the nav outside the
     column everything below them lines up on - the footer logo sat 96px inside
     the header logo. One token, one edge: see the note at the top of this file. */
  --og-chrome: var(--og-content);
}

img { display: block; max-width: 100%; }

/* The design uses no underlined link text anywhere; components add their own
   affordances (color, arrows). Keep this global so converted markup stays clean.

   color:inherit for the same reason: the design sets no `a` colour at all, so a
   link takes the colour of the text around it. Colour does not inherit through
   an anchor, so without this the UA sheet's `a[href]` blue wins wherever
   converted markup wraps a heading in a link. Components that want their own
   colour still set it and override this. */
a { text-decoration: none; color: inherit; }

/* Shared keyframe used by the lead banner image (and detail heroes). */
@keyframes ctKenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* ---- Accessibility (WordPress core) ---------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem 1rem;
}

/* =====================================================================
   SITE HEADER - logo, primary nav, search, language switch
   ===================================================================== */

/* Sticky, and revealed on scroll up (main.js initReveal). Sticky rather than
   fixed so the header keeps its place in the flow - hiding it never shifts the
   page. It slides away once you scroll past it and slides back the moment you
   scroll up. */
.header__bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(227, 231, 238);
  /* Revealing: a long, decelerating glide (ease-out-expo) - it arrives softly
     rather than snapping into place. */
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease;
  will-change: transform;
  backface-visibility: hidden; /* keeps the text crisp mid-transform */
}

body.og-header-hidden .header__bar {
  transform: translateY(-100%);
  /* Hiding: shorter and accelerating, so it gets out of the reader's way
     without drawing attention to itself. */
  transition: transform 300ms cubic-bezier(0.7, 0, 0.84, 0), box-shadow 200ms ease;
}

/* Once it is floating over the content rather than sitting at the top of the
   page, a soft shadow lifts it off what it covers. */
body.og-header-condensed .header__bar {
  box-shadow: 0 10px 24px -18px rgba(6, 22, 41, 0.5);
}

.header__box {
  max-width: var(--og-chrome);
  margin: 0px auto;
  display: grid;
  grid-template-columns: 296px 1fr;
  align-items: stretch;
}

.header__link {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
}

.header__box-2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.header__box-3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__img {
  display: block;
  height: 48px;
  width: auto;
}

.header__label {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgb(26, 26, 26);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__box-4 {
  display: flex;
  flex-direction: column;
}

.header__box-5 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  height: 46px;
  padding: 0px 24px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgb(58, 58, 58);
}

.header__link-2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
  color: rgb(58, 58, 58);
  font-weight: 500;
  padding: 6px 0;
  border-radius: 0px;
  transition: color 160ms;
}

.header__link-2:hover { color: rgb(200, 16, 46); }

.header__label-2 {
  width: 6px;
  height: 6px;
  background: rgb(200, 16, 46);
  border-radius: 50%;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  color: rgb(26, 26, 26);
}

.header__link-3 {
  background: rgb(200, 16, 46);
  color: rgb(255, 255, 255);
  border: none;
  height: 30px;
  padding: 0px 16px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header__label-3 {
  width: 1px;
  height: 14px;
  background: rgb(227, 231, 238);
}

.header__link-4 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 0px;
  transition: color 160ms;
}

.header__link-4:hover { color: rgb(200, 16, 46); }

.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 58px;
  padding: 0px 24px;
  gap: 4px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgb(26, 26, 26);
}

.header__link-5 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 0px;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: rgb(26, 26, 26);
  transition: color 160ms;
}

.header__link-5:hover { color: rgb(200, 16, 46); }

/* Active primary-nav item - navy background, matching the hover state. */
.header__link-5.is-active {
  background: rgb(12, 45, 94);
  color: #fff;
}

.header__icon {
  transform: none;
  transition: transform 200ms;
}

.header__link-6 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  color: rgb(26, 26, 26);
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms;
}

.header__link-6:hover { color: rgb(200, 16, 46); }

/* Just above the hamburger breakpoint (992-1360px): the horizontal nav is shown
   but tight, so trim the type/spacing and keep each label on one line. Below
   992px the hamburger drawer takes over instead. A second, tighter step handles
   the narrowest end of the band. */
@media (min-width: 992px) and (max-width: 1360px) {
  .header__nav { gap: 2px; padding: 0 12px; font-size: 13.5px; }
  .header__link-5,
  .header__link-6 { gap: 5px; padding: 7px 9px; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1140px) {
  .header__nav { padding: 0 6px; font-size: 12px; }
  .header__link-5,
  .header__link-6 { gap: 4px; padding: 6px 7px; }
}

/* ---- Mega-menu dropdown panels (behaviour in assets/js/main.js) ------ */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid rgb(227, 231, 238);
  /* The panel closes on a red rule - the same brand edge the lead banner ends on,
     so an open panel reads as part of the chrome rather than as a floating sheet. */
  border-bottom: 3px solid rgb(200, 16, 46);
  box-shadow: 0 24px 40px -24px rgba(6, 22, 41, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mega__inner {
  max-width: var(--og-chrome);
  margin: 0 auto;
  padding: 26px 24px 30px;
}

/* Panel head: red rule + eyebrow + subtitle, with a "see all" link right. */
.mega__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mega__head-l {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mega__rule {
  width: 26px;
  height: 2px;
  background: rgb(200, 16, 46);
  flex-shrink: 0;
}

.mega__eyebrow {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(28, 26, 23);
  white-space: nowrap;
}

.mega__bar {
  width: 1px;
  height: 14px;
  background: rgb(227, 231, 238);
  flex-shrink: 0;
}

.mega__sub {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  color: rgb(107, 114, 128);
}

.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgb(200, 16, 46);
  text-decoration: none;
  white-space: nowrap;
}

.mega__all:hover { opacity: 0.78; }

/* Card grid */
.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mega__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

/* Hover - a red rule down the leading edge, matching the cards on About. The
   border stays grey and the card stays put: the rule is the whole cue. */
.mega__card:hover {
  box-shadow: inset 4px 0 0 rgb(200, 16, 46), 0 12px 26px -18px rgba(6, 22, 41, 0.45);
}

.mega__card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Top-aligned, level with the country name rather than drifting down beside a
   wrapped row of region chips. The ring is the one the byline flags use: white
   bands (Indonesia, Japan) otherwise dissolve into the card. */
.mega__thumb {
  width: 60px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  align-self: flex-start;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

/* Flags are squared off; the photo thumbnails elsewhere keep the radius. */
.mega__thumb--flag {
  border-radius: 0;
}

.mega__card-h {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mega__ctitle {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgb(26, 26, 26);
  line-height: 1.3;
}

.mega__meta {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  color: rgb(107, 114, 128);
}

/* The CTA row on a country card that carries regions: CTA left, chips right.
   Sharing the row keeps the card the same height as one without regions. */
.mega__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgb(238, 241, 246);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* The row owns the rule and the bottom pin, so the CTA inside it drops both. */
.mega__foot .mega__cta {
  margin-top: 0;
  margin-right: auto;
  padding-top: 0;
  border-top: 0;
}

.mega__regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

/* Compact, since the CTA already takes most of the row. Past two regions the
   chips wrap to a line of their own. */
.mega__foot .mega__chip {
  font-size: 10px;
  padding: 3px 8px;
}

/* A country card carrying region chips cannot be one big <a> (the chips are
   links themselves), so it is a <div> whose CTA stretches over the whole card.
   The chips sit above that overlay and stay individually clickable. */
.mega__card--stretch {
  position: relative;
}

.mega__card--stretch .mega__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.mega__card--stretch .mega__chip {
  position: relative;
  z-index: 1;
}

.mega__chip {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 4px;
  padding: 3px 9px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.mega__chip:hover {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
}

/* The CTA is the card's last row, separated from the content above it by a rule
   that spans the card's inner width - so it reads as an action, not as another
   line of the description. */
.mega__cta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgb(238, 241, 246);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgb(200, 16, 46);
}

/* Coming-soon cards: muted, non-interactive. */
.mega__card--soon {
  background: rgb(244, 247, 252);
  border-style: dashed;
  cursor: default;
}

.mega__card--soon:hover {
  border-color: rgb(227, 231, 238);
  box-shadow: none;
  transform: none;
}

/* Faded thumbnail, per the design. Only ever applied to a real image or the
   coming-soon tile - never to the grey placeholder, which it would erase. */
.mega__card--soon .mega__thumb {
  filter: grayscale(1);
  opacity: 0.6;
}

.mega__card--soon .mega__ctitle { color: rgb(107, 114, 128); }

.mega__soon {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega__soon-pill {
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgb(107, 114, 128);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 4px;
  padding: 3px 8px;
  background: #fff;
}

/* Active trigger: navy fill + flipped caret while its panel is open. */
.header__link-5[aria-expanded="true"] {
  background: rgb(12, 45, 94);
  color: #fff;
}

.header__link-5[aria-expanded="true"] .header__icon {
  transform: rotate(180deg);
}

/* =====================================================================
   PAGE LEAD - reusable navy photographic banner (template-parts/site-lead)
   ===================================================================== */

.lead__section {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}

/* Overshoots its frame by a pixel on every side, and that matters: the Ken Burns
   below settles at exactly scale(1), so at rest the image is precisely as big as
   the frame. Any sub-pixel rounding - a fractional height, which a phone gives
   you readily - then leaves a hairline of the section's navy showing along the
   edge, reading as a stray line between the hero and the breadcrumb under it.
   A pixel of bleed means there is never an edge to expose. */
.lead__img {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  display: block;
  transform-origin: center center;
  backface-visibility: hidden; /* Keeps the scaled layer from seaming while it animates. */
  animation: 18s ease-out 0s 1 normal forwards running ctKenburns;
}

/* Must bleed by whatever .lead__img bleeds: an overlay stopping at the frame
   leaves the image's overshoot undarkened, as a bright line along the banner. */
.lead__box {
  position: absolute;
  inset: -1px;
  background: radial-gradient(rgba(6, 22, 41, 0.52) 0%, rgba(6, 22, 41, 0.88) 100%);
}

.lead__box-2 {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0px 24px;
}

.lead__box-3 { max-width: 720px; }

.lead__box-4 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  justify-content: center;
}

.lead__label {
  width: 26px;
  height: 2px;
  background: rgb(200, 16, 46);
}

.lead__label-2 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

.lead__title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: rgb(255, 255, 255);
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin: 0px;
  text-shadow: rgba(6, 16, 30, 0.55) 0px 2px 20px;
}

.lead__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 16px auto 0px;
  max-width: 560px;
  line-height: 1.78;
}

/* =====================================================================
   BREADCRUMB - trail (template-parts/breadcrumb)
   ===================================================================== */

.crumb__nav {
  background: rgb(12, 45, 94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: rgba(12, 45, 94, 0.06) 0px 1px 0px inset;
}

.crumb__box {
  max-width: 1280px;
  margin: 0px auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crumb__box-2 {
  display: inline-flex;
  align-items: center;
  min-width: 0px;
  flex-wrap: wrap;
  row-gap: 4px;
}

.crumb__label {
  display: inline-flex;
  width: 18px;
  height: 3px;
  margin-right: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.crumb__label-2 {
  flex: 0 0 70%;
  background: rgb(255, 255, 255);
}

.crumb__label-3 {
  flex: 0 0 30%;
  background: rgb(200, 16, 46);
}

.crumb__link {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease;
}

.crumb__link:hover { color: #fff; }

.crumb__label-4 {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(200, 16, 46);
  margin: 0px 13px;
  opacity: 0.85;
}

.crumb__label-5 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(255, 255, 255);
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Right-side platform tag (optional). */
.crumb__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.crumb__tag .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(200, 16, 46);
}

/* =====================================================================
   SITE FOOTER - sitemap, contact, legal
   ===================================================================== */

.footer__box {
  background: rgb(246, 241, 231);
  color: rgb(58, 51, 43);
}

.footer__box-2 {
  max-width: var(--og-content);
  margin: 0px auto;
  padding: 60px 24px 48px;
}

.footer__box-3 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__box-4 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__box-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__img {
  display: block;
  height: 50px;
  width: auto;
}

.footer__label {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  font-size: 29px;
  color: rgb(28, 26, 23);
  letter-spacing: 0.01em;
  line-height: 1.12;
  white-space: nowrap;
}

.footer__box-6 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  max-width: 400px;
}

.footer__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgb(107, 98, 86);
  margin: 0px;
  text-align: right;
  text-wrap: pretty;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(200, 16, 46);
  color: rgb(255, 255, 255);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  cursor: pointer;
}

.footer__box-7 {
  position: relative;
  height: 2px;
  background: rgb(28, 26, 23);
  margin: 30px 0px 40px;
}

.footer__label-2 {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 2px;
  width: 132px;
  background: rgb(200, 16, 46);
}

.footer__box-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer__link-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer__label-3 {
  width: 4px;
  height: 15px;
  background: rgb(200, 16, 46);
  flex-shrink: 0;
}

.footer__label-4 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgb(28, 26, 23);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.footer__box-9 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link-3 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgb(107, 98, 86);
  line-height: 1;
  cursor: pointer;
  transition: color 150ms;
  text-decoration: none;
}

.footer__link-3:hover { color: rgb(200, 16, 46); }

.footer__box-10 {
  border-top: 1px solid rgb(227, 217, 197);
}

.footer__box-11 {
  max-width: var(--og-content);
  margin: 0px auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__label-5 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  color: rgb(122, 110, 94);
}

.footer__box-12 {
  flex: 1 1 0%;
}

.footer__box-13 {
  display: flex;
  gap: 26px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
}

.footer__link-4 {
  color: rgb(107, 98, 86);
  cursor: pointer;
  text-decoration: none;
}

.footer__link-4:hover { color: rgb(200, 16, 46); }

/* ---- Floating back-to-top ------------------------------------------
   Fixed bottom-right, revealed by JS (.is-visible) once the page has been
   scrolled a screenful. It sits under the nav drawer and search overlay,
   and steps aside entirely while either of those is open. */
.og-totop {
  --og-totop-gap: 28px;
  position: fixed;
  right: var(--og-totop-gap);
  /* --og-totop-lift is set by JS: it pushes the button up so it comes to rest on
     top of the footer's legal bar instead of floating over the links in it. */
  bottom: calc(var(--og-totop-gap) + var(--og-totop-lift, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(227, 217, 197);
  border-radius: 50%;
  background: rgb(255, 255, 255);
  color: rgb(28, 26, 23);
  box-shadow: 0 6px 20px rgba(28, 26, 23, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s,
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.og-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.og-totop:hover {
  background: rgb(200, 16, 46);
  border-color: rgb(200, 16, 46);
  color: rgb(255, 255, 255);
}

.og-totop:focus-visible {
  outline: 2px solid rgb(200, 16, 46);
  outline-offset: 3px;
}

/* Never float over the drawer or the search panel. */
body.og-nav-open .og-totop,
body.og-search-open .og-totop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 991px) {
  .og-totop {
    --og-totop-gap: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .og-totop { transition: opacity 0.25s ease, visibility 0.25s; transform: none; }
  .og-totop.is-visible { transform: none; }
}

/* =====================================================================
   SEARCH OVERLAY - full-screen site search (template-parts/search-overlay)
   ===================================================================== */
.og-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(180deg, #FBFCFE 0%, #EDF1F7 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  overflow-y: auto;
}

.og-search.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Decorative navy band along the bottom edge. */
.og-search::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: #0A1A2F;
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.search__panel {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 170px;
}

.search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.search__head-l {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search__rule {
  width: 40px;
  height: 2px;
  background: rgb(200, 16, 46);
}

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

.search__jp {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgb(26, 26, 26);
}

.search__esc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgb(107, 114, 128);
}

.search__esc-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgb(210, 216, 224);
  color: rgb(58, 58, 58);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.search__esc:hover .search__esc-x {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
}

.search__form {
  display: flex;
  align-items: center;
  height: 72px;
  background: #fff;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 4px;
  box-shadow: 0 24px 50px -30px rgba(6, 22, 41, 0.35);
  overflow: hidden;
}

.search__icon {
  display: inline-flex;
  padding: 0 18px 0 22px;
}

.search__input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 18px;
  color: rgb(26, 26, 26);
}

.search__input::placeholder {
  color: rgb(154, 163, 175);
}

.search__submit {
  height: 100%;
  padding: 0 40px;
  border: none;
  cursor: pointer;
  background: rgb(200, 16, 46);
  color: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.search__submit:hover {
  background: rgb(168, 12, 38);
}

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

.search__kw {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search__kw-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgb(227, 231, 238);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(40, 40, 40);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.search__kw-item:hover {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
}

.search__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.search__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgb(227, 231, 238);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.search__cat:hover {
  border-color: rgb(200, 16, 46);
  box-shadow: 0 12px 26px -18px rgba(6, 22, 41, 0.4);
  transform: translateY(-2px);
}

.search__cat-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search__cat-jp {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: rgb(12, 45, 94);
}

.search__cat-en {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgb(107, 114, 128);
}

.search__cat-arrow {
  color: rgb(200, 16, 46);
  flex-shrink: 0;
}

/* Lock background scroll while the overlay is open. */
body.og-search-open {
  overflow: hidden;
}

/* =====================================================================
   LISTING FILTER DROPDOWN - built by assets/js/listing.js
   ===================================================================== */
.listing__dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 220px;
  max-height: 340px;
  overflow-y: auto;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 8px;
  box-shadow: 0 18px 44px -20px rgba(6, 22, 41, 0.45);
  z-index: 80;
  display: none;
}

/* Flip the field chevron up while its dropdown is open. */

.listing__dd.is-open {
  display: block;
}

.listing__dd-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 22px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgb(40, 40, 40);
  transition: background 0.12s ease;
}

.listing__dd-item:hover {
  background: rgb(247, 249, 252);
}

.listing__dd-item.is-active {
  background: rgb(244, 247, 252);
  box-shadow: inset 3px 0 0 0 rgb(200, 16, 46);
}

.listing__dd-flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.listing__dd-label {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing__dd-count {
  flex-shrink: 0;
  font-family: Barlow, "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  font-variant-numeric: tabular-nums;
}

.listing__dd-item.is-active .listing__dd-count {
  color: rgb(200, 16, 46);
}

/* Sponsored ad block on detail pages (og_render_single_ads, style "single"). */
/* The brand navy every sponsored card carries - the four listing grids each
   dress their own ad card in it (see the listing CSS). This band/detail card is
   the same product, so it wears the same colour: it reads as an ad at a glance
   rather than as another content card. */
.og-ad {
  margin: 32px 0;
  border: 1px solid rgb(20, 59, 114);
  border-radius: 14px;
  overflow: hidden;
  background: rgb(6, 22, 41);
}
.og-ad__link {
  display: flex;
  gap: 20px;
  align-items: stretch;
  text-decoration: none;
  color: rgb(255, 255, 255);
}
.og-ad__media {
  position: relative;
  flex: 0 0 38%;
  max-width: 280px;
  min-height: 160px;
  background: rgb(20, 59, 114);
}
.og-ad__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.og-ad__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgb(200, 16, 46);
  color: #fff;
  font-family: Barlow, "Noto Sans JP", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}
.og-ad__body {
  flex: 1;
  padding: 20px 22px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.og-ad__sponsor {
  font-family: Barlow, "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.og-ad__title {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
  color: rgb(255, 255, 255);
}
.og-ad__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
/* White, not the brand red the CTA used to be: red on navy is too low-contrast
   to read. The arrow beside it carries the red instead - the same pairing the
   News listing's ad card uses. */
.og-ad__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}
.og-ad__link:hover .og-ad__title {
  color: rgb(200, 16, 46);
}
@media (max-width: 640px) {
  .og-ad__link {
    flex-direction: column;
  }
  .og-ad__media {
    flex-basis: auto;
    max-width: none;
    min-height: 180px;
  }
  .og-ad__body {
    padding: 18px;
  }
}

/* Sponsored ad band between page content and the footer (og_render_page_ad, style "band"). */
.og-ad-band {
  padding: 40px 24px;
  background: rgb(247, 249, 251);
  border-top: 1px solid rgb(227, 231, 238);
}
.og-ad-band .og-ad {
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .og-ad-band {
    padding: 28px 16px;
  }
}

/* Archive filter bar (server-rendered filter dropdowns, template-parts/archive-toolbar.php). */
/* The bar is a white card sitting on the page tint, per the design. */
.og-archive-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px;
  padding: 26px 30px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(232, 236, 242);
  border-radius: 14px;
  box-shadow: 0 18px 40px -28px rgba(6, 22, 41, 0.28);
  margin-bottom: 26px;
}
/* Each narrowing filter is a numbered step ("1 国", "2 カテゴリー"). The numeral is
   decorative, sits outside the field and lines up with the button, not the caption. */
.og-filter {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.og-filter__field {
  display: flex;
  flex-direction: column;
  min-width: 248px;
}
.og-filter__step {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: rgb(203, 211, 223);
  padding-bottom: 13px;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
/* Sort reorders rather than narrows, so it carries no numeral and is pushed to
   the far end of the bar. */
.og-archive-bar__sort {
  margin-left: auto;
}
/* Caption: Japanese label with its English name in small caps beside it. */
.og-filter__cap {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.og-filter__cap-ja {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: rgb(26, 26, 26);
  letter-spacing: 0.04em;
}
.og-filter__cap-en {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.og-filter__dd {
  position: relative;
}
.og-filter__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 4px;
  cursor: pointer;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: rgb(26, 26, 26);
  transition: border-color 0.15s;
}
/* The dropdown does not answer to hover - it is a menu, not a button. While its
   menu is open the border darkens to navy, and the chevron flips to point back
   at the field it belongs to. */
.og-filter__btn[aria-expanded="true"] {
  border-color: rgb(12, 45, 94);
}

.og-filter__chev {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.og-filter__btn[aria-expanded="true"] .og-filter__chev {
  transform: rotate(180deg);
}
.og-filter__cur {
  flex: 1 1 auto;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Running total inside the bar itself - used by archives that have no FILTERED
   band under it (PM), where the design puts the count at the end of the row. */
.og-archive-bar__count {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
}
.og-archive-bar__num {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: rgb(6, 22, 41);
  font-variant-numeric: tabular-nums;
}
.og-archive-bar__unit {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(58, 58, 58);
}

/* The count that rides inside the dropdown button - country only, since it is
   the count of the results actually on screen. */
.og-filter__num {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgb(107, 114, 128);
  font-variant-numeric: tabular-nums;
}
/* Flag of the country currently selected, inside the closed dropdown button. */
.og-filter__flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

/* Result band under the filter bar: what the current filters resolved to, and
   how many results they left. "Filtered" whenever any filter is active. */
.og-listing-head {
  margin-bottom: 22px;
}
.og-listing-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(58, 58, 58);
  margin-bottom: 8px;
}
.og-listing-head__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: rgb(200, 16, 46);
  flex: 0 0 auto;
}
.og-listing-head__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
  color: rgb(6, 22, 41);
}
.og-listing-head__count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.og-listing-head__num {
  font-family: Barlow, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: rgb(200, 16, 46);
  font-variant-numeric: tabular-nums;
}
.og-listing-head__unit {
  font-size: 13px;
  font-weight: 600;
  color: rgb(107, 114, 128);
}

/* A card that carries links of its own - tag chips, a series label - cannot be
   one big <a>, because nested anchors are invalid and browsers silently unnest
   them. The card becomes a plain container instead, and its "read more" link
   stretches a transparent overlay across the whole card, so clicking anywhere
   still opens the article. .og-chip lifts the real links above that overlay. */
.og-stretch {
  position: relative;
}
.og-stretch__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.og-chip {
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.og-chip:hover {
  color: rgb(200, 16, 46);
  border-color: rgb(200, 16, 46);
}

/* Content-type chip on a cross-type tag row (tag.php). The tag archive mixes
   articles, guides, announcements and parks in one list, so each row has to say
   which it is - the rows are otherwise identical. Navy, to sit apart from the
   red editorial chips beside it, and it links to that type's own archive. */
.og-tag-type {
  display: inline-flex;
  align-items: center;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: rgb(12, 45, 94);
  background: rgba(12, 45, 94, 0.07);
  border: 1px solid rgba(12, 45, 94, 0.12);
  border-radius: 3px;
  padding: 3px 9px;
  white-space: nowrap;
}
.og-tag-type:hover {
  color: rgb(200, 16, 46);
  border-color: rgba(200, 16, 46, 0.35);
  background: rgba(200, 16, 46, 0.06);
}
/* The tag you are already looking at, among a row's chips. */
.listing__label-17.is-active {
  color: rgb(200, 16, 46);
  border-color: rgba(200, 16, 46, 0.4);
  background: rgba(200, 16, 46, 0.06);
}

/* Bundled country flag inside a byline chip (og_country_chip()). Fixed box, so a
   missing or odd-ratio flag can never change the pill's height; the hairline ring
   keeps white-heavy flags (Indonesia, Singapore) off a light chip background. */
.og-flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}
/* Topics card chips sit on the dark image, where a dark ring vanishes. */
.listing__label-15 .og-flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Share row: divider + utility group (Print / Send by Email / Copy Link).
   Shared across every detail page so the utilities look and behave the same
   everywhere; the social buttons keep their per-template colours. Size defaults
   to 40px (News / Topics / PM Guide); Industrial Park overrides to 44px. */
.og-share-sep {
  align-self: center;
  flex: 0 0 auto;
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: rgba(12, 45, 94, 0.14);
}

.og-share-util {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 6px;
  background: rgb(255, 255, 255);
  color: rgb(75, 85, 99);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.og-share-util:hover {
  border-color: rgb(12, 45, 94);
  color: rgb(12, 45, 94);
}

.og-share-util.is-copied {
  border-color: rgb(6, 199, 85);
  color: rgb(6, 199, 85);
}

/* Brief confirmation bubble after a successful Copy Link. */
.og-share-util.is-copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgb(12, 45, 94);
  color: rgb(255, 255, 255);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

/* End-of-article share block (Topics / News / PM Guide), placed after the Tags.
   Mirrors the Industrial Park detail page's share block so the four detail pages
   read the same: a hairline top border, an uppercase label, then the button row. */
.og-share-end {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgb(227, 231, 238);
}

.og-share-end__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.og-share-end__row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Tag chips on related-article cards (Topics & PM Guide singles), matching the
   Industrial Park related card's tag style. Spans, not links - the whole card is
   already one <a>. */
.og-rel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.og-rel-tag {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 3px;
  padding: 3px 9px;
}

/* Tag row under an article body. The four article types each name the chip
   differently (.ind-tag insight/park, .nwd-tag news, .egd-tag guide) but render
   the same row, so they are styled once here. It used to be a 100px pill - the
   only fully-rounded chip on the site - beside cards, listings and the tag
   archive, which all use the same 3px squared chip; this brings it into line at
   a size that still reads as the page's own row, and moves the hash out of the
   markup so it can be a red accent rather than typed text. */
a.ind-tag,
a.nwd-tag,
a.egd-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(12, 45, 94);
  background: rgba(12, 45, 94, 0.05);
  border: 1px solid rgba(12, 45, 94, 0.12);
  border-radius: 3px;
  padding: 6px 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
a.ind-tag::before,
a.nwd-tag::before,
a.egd-tag::before {
  content: "#";
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 700;
  color: rgb(200, 16, 46);
}
a.ind-tag:hover,
a.nwd-tag:hover,
a.egd-tag:hover {
  color: rgb(200, 16, 46);
  background: rgba(200, 16, 46, 0.06);
  border-color: rgba(200, 16, 46, 0.35);
}
a.ind-tag:hover::before,
a.nwd-tag:hover::before,
a.egd-tag:hover::before {
  color: rgb(200, 16, 46);
}

/* Narrow screens: the filters stop being a row of steps and stack full-width,
   sort included - a 248px field does not fit beside another one. */
@media (max-width: 900px) {
  .og-archive-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
  }
  .og-archive-bar__sort {
    margin-left: 0;
  }
  .og-filter__field {
    min-width: 0;
    flex: 1 1 auto;
  }
  .og-listing-head__title {
    font-size: 22px;
  }
}

/* Phones: same card and same three fields, tightened - stacked at full size the
   bar fills most of the screen before a single result shows. */
@media (max-width: 768px) {
  .og-archive-bar {
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
  }

  /* Decorative, and stacked they cost ~40px per field while lining nothing up -
     Sort has no numeral, so its button sat left of the two above it. */
  .og-filter__step { display: none; }

  .og-filter { gap: 0; }

  .og-filter__cap { margin-bottom: 6px; }

  .og-filter__btn {
    height: 42px;
    font-size: 14px;
    padding: 0 12px;
  }

  /* No Ken Burns: an 18s scale keeps a full-width layer repainting for as long
     as the page is open, which a phone pays for in battery and scroll. */
  .lead__img {
    animation: none;
    transform: none;
  }
}

/* =====================================================================
   ARCHIVE EMPTY STATE - template-parts/archive-empty.php
   Shown in place of the card list when a listing returns nothing. Lives in
   main.css because all four archives use it and each loads its own page
   stylesheet.
   ===================================================================== */
.og-empty {
  /* Parks, insights and news drop this into a 3-column card grid; span the row so
     it centres across the full width, as on the single-column guides listing. */
  grid-column: 1 / -1;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(227, 231, 238);
  border-radius: 8px;
  padding: 52px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.og-empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(12, 45, 94, 0.05);
  color: rgb(12, 45, 94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.og-empty__title {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  color: rgb(26, 26, 26);
  margin: 0;
  max-width: 40ch;
}

/* The filters that returned nothing, picked out of the sentence. */
.og-empty__q {
  color: rgb(200, 16, 46);
}

.og-empty__text {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  color: rgb(107, 114, 128);
  line-height: 1.8;
  margin: 10px 0 0;
}

.og-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.og-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 3px;
  background: rgb(255, 255, 255);
  color: rgb(26, 26, 26);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.og-empty__btn:hover {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
  box-shadow: 0 10px 22px -16px rgba(6, 22, 41, 0.55);
}

/* Clearing the filter is the one thing to do on a filtered dead end. */
.og-empty__btn--primary {
  background: rgb(12, 45, 94);
  border-color: rgb(12, 45, 94);
  color: rgb(255, 255, 255);
}

.og-empty__btn--primary:hover {
  background: rgb(6, 22, 41);
  border-color: rgb(6, 22, 41);
  color: rgb(255, 255, 255);
}

.og-empty__btn svg { transition: transform 0.15s ease; }
.og-empty__btn:hover svg { transform: translateX(2px); }

@media (max-width: 768px) {
  .og-empty { padding: 36px 18px 40px; }
  .og-empty__title { font-size: 16.5px; }
  .og-empty__actions { width: 100%; }
  .og-empty__btn { width: 100%; justify-content: center; }
}

/* Archive pagination (template-parts/pagination.php). */
.og-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 8px;
}
.og-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgb(227, 231, 238);
  border-radius: 4px;
  background: #fff;
  color: rgb(26, 26, 26);
  font-family: Barlow, "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.og-pagination a.page-numbers:hover {
  border-color: rgb(200, 16, 46);
  color: rgb(200, 16, 46);
}
.og-pagination .page-numbers.current {
  background: rgb(200, 16, 46);
  border-color: rgb(200, 16, 46);
  color: #fff;
}
.og-pagination .page-numbers.dots {
  border: 0;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}

/* Editor-content heading scale - applies to h1-h6 inside article bodies
   (the post editor / raw-HTML content). Scoped to the body wrappers so it
   never touches the design's class-based headings (.article__title etc.). */
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) :is(h1, h2, h3, h4, h5, h6) {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: rgb(6, 22, 41);
  line-height: 1.5;
  margin: 1.5em 0 0.5em;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h1 {
  font-size: 34px;
  font-weight: 800;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h2 {
  font-size: 26px;
  font-weight: 800;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h3 {
  font-size: 21px;
  font-weight: 700;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h4 {
  font-size: 18px;
  font-weight: 700;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h5 {
  font-size: 15px;
  font-weight: 700;
}
:where(.nwd-body, .ind-body, .egd-body, .ipd-body) h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(107, 114, 128);
}

/* =====================================================================
   MOBILE / RESPONSIVE - shared shell (header, nav, footer, search)
   ===================================================================== */

/* ---------------------------------------------------------------------
   Premium mobile drawer - hamburger -> full-height slide-in panel
   --------------------------------------------------------------------- */

/* Hamburger button - hidden on desktop, shown at <= 900px. */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
/* Brand navy, and heavy enough to read as it: at 2px on white the bars looked
   grey next to the logo. */
.header__burger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: rgb(12, 45, 94);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.header__burger[aria-expanded="true"] .header__burger-bar { background: rgb(12, 45, 94); }
.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer head (brand + close) and backdrop are mobile-only. */
.header__drawer-head { display: none; }
.og-nav-backdrop { display: none; }

@media (max-width: 991px) {
  /* --- Top bar: logo left, hamburger right, vertically centered --- */
  /* Hamburger takes over at <= 991px. Between 992-1360px the horizontal nav is
     kept but tightened (see the min-width band below) so the labels stay on one
     line. */
  .header__box {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-right: 16px;
  }
  .header__link {
    grid-column: 1;
    grid-row: 1;
    padding: 14px 18px;
    transition: padding 0.25s ease;
  }
  .header__box-2 { gap: 5px; }
  .header__img { height: 38px; transition: height 0.25s ease; }
  .header__label {
    white-space: normal;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: rgb(74, 85, 101);
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  /* --- Sticky header that condenses on scroll --- */
  .header__bar { position: sticky; top: 0; }
  body.og-header-condensed .header__link { padding-top: 8px; padding-bottom: 8px; }
  body.og-header-condensed .header__img { height: 30px; }
  body.og-header-condensed .header__label {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }

  /* Premium hamburger - bordered rounded button matching the drawer close.
     The border is the site's standard rule colour, the same solid line the
     drawer close and every card carry. It was a 22%-alpha navy, which is the
     one soft edge among all those crisp ones and read as washed out. */
  .header__burger {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    padding: 14px;
    margin-right: 0;
    gap: 5px;
    border: 1px solid rgb(227, 231, 238);
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease,
      width 0.2s ease, height 0.2s ease, padding 0.2s ease, gap 0.2s ease;
  }
  .header__burger:hover,
  .header__burger[aria-expanded="true"] {
    border-color: rgb(12, 45, 94);
    box-shadow: 0 6px 16px -10px rgba(6, 22, 41, 0.5);
  }

  /* The button condenses with the logo. They sit either end of the same bar, so
     one shrinking while the other holds its size leaves the burger looking
     oversized - which is exactly what it did. */
  body.og-header-condensed .header__burger {
    width: 38px;
    height: 38px;
    padding: 11px;
    gap: 4px;
    border-radius: 8px;
  }

  /* --- The drawer itself --- */
  .header__box-4 {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110;
    width: min(90vw, 400px);
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -30px 0 60px -30px rgba(6, 22, 41, 0.5);
    border: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.36s;
  }
  .header__box-4.is-open {
    transform: none;
    visibility: visible;
  }

  /* Backdrop - only rendered when JS un-hides it (drawer open). */
  .og-nav-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 22, 41, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .og-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.og-nav-open { overflow: hidden; }
  /* Lift the header (which contains the drawer) above the backdrop so the
     drawer is not blurred/dimmed by the backdrop's filter. */
  body.og-nav-open .header__bar {
    z-index: 130;
    /* The header's `will-change: transform` (for the scroll-reveal) makes it a
       containing block for position:fixed children, so the drawer was pinned to
       the header instead of the viewport and slid away on scroll. Release it
       while the drawer is open - the drawer then stays fixed to the screen. */
    will-change: auto;
    transform: none;
  }

  /* Drawer head: eyebrow + close */
  .header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px 14px;
    border-bottom: 1px solid rgb(227, 231, 238);
  }
  .header__drawer-eyebrow {
    font-family: Barlow, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgb(200, 16, 46);
  }
  .header__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(227, 231, 238);
    border-radius: 50%;
    background: #fff;
    color: rgb(12, 45, 94);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
  }
  .header__drawer-close:hover { border-color: rgb(200, 16, 46); color: rgb(200, 16, 46); }

  /* --- Primary nav: large numbered rows --- */
  .header__nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    padding: 8px 0 4px;
    counter-reset: ognav;
    order: 1;
  }
  .header__link-5,
  .header__link-6 {
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 13px 22px; /* tighter rows so the menu fits without scrolling */
    border-bottom: 1px solid rgb(238, 241, 246);
    font-size: 15.5px;
    font-weight: 700;
    color: rgb(12, 45, 94);
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .header__link-5::before,
  .header__link-6::before {
    counter-increment: ognav;
    content: counter(ognav, decimal-leading-zero);
    font-family: Barlow, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgb(200, 16, 46);
    letter-spacing: 0.05em;
    min-width: 22px;
  }
  .header__link-5:hover,
  .header__link-6:hover,
  .header__link-5.is-active,
  .header__nav .header__link-5[aria-expanded="true"] {
    background: rgb(247, 249, 251);
    color: rgb(12, 45, 94);
  }
  /* Trailing chevron points into the row (right) instead of down. */
  .header__nav .header__icon { margin-left: auto; transform: rotate(-90deg); }

  /* --- Utility actions block --- */
  .header__box-5 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 14px 22px 20px;
    gap: 10px;
    order: 2;
    margin-top: auto;
    border-top: 1px solid rgb(227, 231, 238);
    background: rgb(250, 251, 253);
  }
  .header__link-3 {
    order: 1;
    justify-content: center;
    height: 50px;
    font-size: 15px;
    border-radius: 6px;
  }
  .header__btn {
    order: 2;
    justify-content: center;
    gap: 10px;
    height: 48px;
    border: 1px solid rgb(227, 231, 238);
    border-radius: 6px;
    background: #fff;
    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgb(12, 45, 94);
  }
  .header__btn::after { content: "検索"; }
  .header__link-2 {
    order: 3;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    border: 1px solid rgb(227, 231, 238);
    border-radius: 6px;
  }
  .header__label-3 { display: none; }
  .header__link-4 {
    order: 4;
    align-self: center;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  /* --- Mega panels become tap-accordions inside the drawer --- */
  .header__nav .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid rgb(238, 241, 246);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgb(250, 251, 253);
  }
  .header__nav .mega.is-open { max-height: 2600px; }
  .header__nav .mega__inner { max-width: none; padding: 6px 20px 18px; }
  .header__nav .mega__head { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; padding-bottom: 12px; }
  .header__nav .mega__grid { grid-template-columns: 1fr; gap: 10px; }

  /* The panel's subtitle is a sell line for a wide dropdown; in the drawer it
     wraps to two lines directly under the menu item it paraphrases. Its divider
     goes with it, or the rule dangles after the eyebrow. */
  .header__nav .mega__sub,
  .header__nav .mega__bar { display: none; }

  /* The drawer is one column, so a card that runs out of room on the CTA row
     drops its chips to a line of their own without knocking a neighbour out of
     alignment. */
  .header__nav .mega__foot { row-gap: 8px; }
  .header__nav .mega__regions { justify-content: flex-start; }

  .header__nav .mega__card { padding: 14px; gap: 10px; }
  .header__nav .mega__card-top { gap: 10px; }
  .header__nav .mega__cta { padding-top: 10px; }
  .header__nav .mega__foot { padding-top: 10px; }
  .header__nav .mega__foot .mega__cta { padding-top: 0; }
  /* Chevron: points right when collapsed, down when the panel is open. */
  .header__nav .header__link-5[aria-expanded="true"] .header__icon { transform: rotate(0deg); }

  /* Only one X: hide the hamburger while the drawer (with its own close) is open. */
  body.og-nav-open .header__burger { opacity: 0; visibility: hidden; }

  /* --- Staggered entrance for drawer contents --- */
  .header__box-4.is-open .header__link-5,
  .header__box-4.is-open .header__link-6,
  .header__box-4.is-open .header__box-5 {
    animation: ogNavIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .header__box-4.is-open .header__link-5:nth-child(1) { animation-delay: 0.06s; }
  .header__box-4.is-open .header__link-5:nth-child(2) { animation-delay: 0.11s; }
  .header__box-4.is-open .header__link-5:nth-child(3) { animation-delay: 0.16s; }
  .header__box-4.is-open .header__link-5:nth-child(4) { animation-delay: 0.21s; }
  .header__box-4.is-open .header__link-5:nth-child(5) { animation-delay: 0.26s; }
  .header__box-4.is-open .header__box-5 { animation-delay: 0.3s; }
}

@keyframes ogNavIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Smallest phones: drop the tagline so the logo stands alone. */
@media (max-width: 420px) {
  .header__label { display: none; }
  .header__link { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .header__bar,
  .header__box-4,
  .header__box-4.is-open .header__link-5,
  .header__box-4.is-open .header__link-6,
  .header__box-4.is-open .header__box-5 { transition: none; animation: none; }
}

/* Footer goes to its stacked layout at the same 991px the header hands over to
   the hamburger. It used to stack at 900px, which left 901-991px on the desktop
   4-column grid - too narrow for it: the headings and the auto-filled news
   titles wrapped mid-word. */
@media (max-width: 991px) {
  /* --- Footer: stack the columns --- */
  .footer__label { white-space: normal; font-size: 22px; }
  .footer__box-3 { gap: 28px; }
  .footer__box-6 { align-items: flex-start; text-align: left; max-width: none; }
  /* The blurb sets its own right-alignment for the desktop layout, which beats
     the column's text-align above - so it has to be turned round here too. */
  .footer__text { text-align: left; }
  .footer__box-8 { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__box-11 { flex-wrap: wrap; gap: 14px; }
  .footer__box-13 {
    border-left: 0;
    padding-left: 0;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 640px) {
  .footer__box-2 { padding: 44px 16px 36px; }

  /* One column of link lists. At 14px between links and 22px between groups the
     whole footer read as one ladder - tighten inside a group, widen between. */
  .footer__box-8 { grid-template-columns: 1fr; gap: 30px; }
  .footer__box-9 { gap: 9px; }
  .footer__link-2 { margin-bottom: 2px; }
  .footer__link-3 { line-height: 1.5; }

  /* The rule above the columns carries its label in the margin above it. */
  .footer__box-7 { margin: 24px 0 30px; }

  /* Legal bar: the links sat right-aligned against a left-aligned copyright,
     which on one column reads as two unrelated blocks. */
  .footer__box-11 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .footer__box-13 { gap: 10px 18px; }

  /* --- Search overlay ---
     The form becomes two rows: the field, then 検索 across the full width.

     Both children need a real height here. The desktop rule sizes them with
     height:100% of the form's fixed 72px; wrapping needs the form at
     height:auto, and a percentage height against an auto parent resolves to
     auto - so the field collapsed to a 28px sliver and the button to 24px,
     stranded at the left of its own row. Basis 100% puts the button on its own
     row explicitly, instead of relying on the input's intrinsic width to push
     it there. */
  /* 120px of tail was clearance for a wide layout's shadow; the panel scrolls on
     a phone, so it was just empty screen at the end. */
  .search__panel { padding: 40px 16px 72px; }
  .search__form { flex-wrap: wrap; height: auto; }
  .search__icon { padding: 0 12px 0 16px; }
  /* min-width:0 lets the field shrink past its intrinsic size, so the icon and
     the field share the first row at any width. */
  .search__input { min-width: 0; height: 56px; font-size: 16px; }
  .search__submit { flex: 1 0 100%; height: 50px; padding: 0 22px; }
  .search__cats { grid-template-columns: 1fr; }

  /* The panel is one column of full-width blocks here, and desktop's spacing
     between them turns that column into a long scroll: the category cards
     start below the fold on a phone, so the third of three sections is the one
     nobody sees. Everything below is spacing only. */
  .search__head { margin-bottom: 22px; }
  .search__label { margin: 24px 0 12px; }

  /* Tighter chips fit four to a row instead of three, which is a whole row off
     the block. */
  .search__kw { gap: 8px; }
  .search__kw-item { padding: 8px 15px; font-size: 13.5px; }

  .search__cats { gap: 10px; }
  .search__cat { padding: 15px 18px; }
  .search__cat-jp { font-size: 16px; }
}

/* =====================================================================
   BUTTONS - shared hover
   ---------------------------------------------------------------------
   One rule for every button on the site (carousel arrows, pagination,
   filters, form and CTA buttons - anything with a __btn / __cta class),
   instead of a bespoke hover per page.

   The tint is currentColor at 10%, laid over the button's own background
   with a large inset shadow. currentColor is the button's label colour, so
   the tint always contrasts its fill: a white arrow on a dark carousel
   lightens, a dark arrow on a white pill darkens. No page-level polarity
   setting needed.

   Shading only, no lift or glow. The plain rgba() line before it is the
   fallback for browsers without color-mix().
   ===================================================================== */
[class*="__btn"],
[class*="__cta"] {
  transition: box-shadow 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
}

[class*="__btn"]:not(.hero__btn):not(.og-filter__btn):not(.steps__btn):not(:disabled):not([disabled]):hover,
[class*="__cta"]:not(.mega__cta):not(.og-ad__cta):not(:disabled):not([disabled]):hover {
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 0 0 999px color-mix(in srgb, currentColor 10%, transparent);
}

/* The mega-menu CTA and the sponsored-ad CTA are red text links inside a card,
   not buttons - the tint above would paint a pink block behind them. The card's
   own hover (its title turns red) is the cue instead.

   .steps__btn is excluded for a different reason: the contact form's progress
   indicator carries the __btn naming from the mockup but is not a control at
   all, so the tint offered a click that leads nowhere. */

[class*="__btn"]:focus-visible,
[class*="__cta"]:focus-visible {
  outline: 2px solid rgb(200, 16, 46);
  outline-offset: 2px;
}

/* A disabled control (a pagination arrow at the first page, say) must not
   look clickable. */
[class*="__btn"]:disabled,
[class*="__btn"][disabled] {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  [class*="__btn"],
  [class*="__cta"] { transition: none; }
}

/* ------------------------------------------------------------------
 * Placeholder hero emblem.
 *
 * When a single-post hero has no uploaded image, the templates render
 * this (og_hero_emblem()) instead of cover-cropping the type's default
 * graphic - whose icon+circle gets sliced in the wide, short hero
 * frame. A centred type icon in a thin ring on the flat brand navy
 * field, filling the frame edge to edge (no seam, no crop).
 * ------------------------------------------------------------------ */
.hero-emblem {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06162a;
  border-radius: inherit;
}

.hero-emblem__frame {
  width: 132px;
  height: 132px;
}
