.nhd-search-row {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: .4rem .65rem !important;
}
.nhd-search-row .nhd-wide-search {
  width: min(100%, 36rem);
  min-width: 0;
  margin-inline: auto;
  background: color-mix(in srgb, Canvas 78%, transparent);
  color: CanvasText;
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid color-mix(in srgb, CanvasText 15%, transparent);
  border-radius: 1rem;
  box-shadow: 0 5px 18px #0001;
}
.nhd-search-row .nhd-wide-search:focus-within {
  border-color: color-mix(in srgb, Highlight 56%, transparent);
}
.nhd-search-row .nhd-wide-search input { min-width: 0; }

.nh-editorial .nhk-masthead__top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.nh-editorial .nhk-masthead__top h1 {
  font-size: clamp(2rem, 6vw, 4.15rem);
  line-height: 1.14;
}
.nh-editorial .nhk-masthead__top p { max-inline-size: 44ch; }
.nh-editorial .nhk-masthead__top .nhk-search-trigger {
  margin: 0;
  min-height: 44px;
}
.nh-editorial .nhk-edition, .nh-editorial .nhk-signal-strip,
.nh-editorial .nhk-masthead .nhk-kicker, .nh-editorial .nhk-visual-index,
.nh-editorial .nhk-topicbar[hidden], .nh-editorial .nh-ed-tree-list[hidden] { display: none; }

.nh-editorial .nh-ed-en {
  display: block;
  font: 500 .7rem/1.4 system-ui, sans-serif;
  opacity: .76;
}
.nh-editorial h1 > .nh-ed-en { margin-block-start: .55rem; font-size: .95rem; }

.nh-editorial .nh-ed-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.9rem, 2.5vw, 2rem);
}
.nh-editorial .nh-ed-stream > .nhk-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.nh-editorial .nh-ed-tree {
  padding: .9rem;
  border-radius: 1rem;
  min-width: 0;
}
.nh-editorial .nh-ed-tree-title {
  margin: 0 0 .75rem;
  font-size: .95rem;
}
.nh-editorial .nh-ed-tree-list { list-style: none; margin: 0; padding: 0; }
.nh-editorial .nh-ed-tree-list .nh-ed-tree-list {
  margin-inline-start: .75rem;
  padding-inline-start: .45rem;
  border-inline-start: 1px solid currentColor;
}
.nh-editorial .nh-ed-tree-row { display: flex; align-items: center; gap: .15rem; }
.nh-editorial .nh-ed-tree-link {
  color: inherit;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1;
  border-radius: .55rem;
  padding: .42rem;
  text-decoration: none;
  font-size: .83rem;
  transition: background-color .18s ease;
}
.nh-editorial .nh-ed-tree-link:hover, .nh-editorial .nh-ed-tree-link.is-active {
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.nh-editorial .nh-ed-doc {
  flex: 0 0 15px;
  height: 18px;
  border: 1px solid currentColor;
  border-block-start: 3px solid #36a0ed;
  border-radius: 3px;
  background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 3px) center / 7px 7px no-repeat;
}
.nh-editorial .nh-ed-tree-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  width: 32px;
  min-height: 36px;
  font-size: 1.15rem;
}
.nh-editorial .nh-ed-tree-toggle[aria-expanded="true"] { transform: rotate(90deg); }
@media (max-width: 860px) {
  .nh-editorial .nh-ed-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .nh-editorial .nh-ed-tree-link, .nh-editorial .nhk-feature__visual img, .nh-editorial .nhk-mag-card__media img { transition: none; }
}


.nh-editorial .nhk-masthead { padding-block-start: clamp(1.25rem, 3vw, 2.5rem); }
.nh-editorial .nhk-masthead__top { padding-block-end: 1rem; }
.nh-editorial .nh-ed-hero {
  display: grid;
  isolation: isolate;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .8fr);
  align-items: center;
  column-gap: clamp(1.5rem, 5vw, 5rem);
  row-gap: 1rem;
  padding: clamp(1.25rem, 4vw, 3.75rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #7ab6ed 35%, transparent);
  border-radius: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(ellipse at 22% 42%, #174d75, transparent 60%), #081525;
  color: #f5f9ff;
}
.nh-editorial .nh-ed-hero h1 { margin-block: 0 .75rem; color: inherit; }
.nh-editorial .nh-ed-hero p { color: #c6d9eb; margin: 0; }
.nh-editorial .nh-ed-hero .nhk-search-trigger {
  grid-column: 1;
  justify-self: start;
  color: #f5f9ff;
  background: #ffffff14;
  border: 1px solid #9fd4ff60;
}
.nh-editorial .nh-ed-hero .nhk-search-trigger:hover { background: #ffffff28; }
.nh-ed-hero-visual {
  position: relative;
  grid-area: 1 / 2 / span 2;
  display: grid;
  place-items: center;
  width: 100%;
  max-inline-size: 25rem;
  aspect-ratio: 16 / 9;
  justify-self: center;
  background:
    radial-gradient(ellipse, #32acfe42, transparent 63%),
    repeating-linear-gradient(90deg, transparent 0 23px, #80c4ff14 23px 24px),
    repeating-linear-gradient(0deg, transparent 0 23px, #80c4ff14 23px 24px);
  mask-image: radial-gradient(ellipse, #000 55%, transparent 76%);
}
.nh-ed-hero-chip {
  position: relative;
  z-index: 1;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 18%;
  transform: rotate(-14deg);
  background: linear-gradient(145deg, #7abdee, #173451 42%, #102b44 70%, #407d9d);
  border: 1px solid #a7dcff;
  box-shadow: 0 1rem 2.2rem #03111eaa, 0 0 2rem #3999ec70, inset 0 0 0 .4rem #081c3190;
}
.nh-ed-hero-chip::before {
  content: '';
  position: absolute;
  inset: 23%;
  border: 1px solid #a7dcff8c;
  border-radius: 18%;
  background: repeating-linear-gradient(0deg, #75b9eb25 0 1px, transparent 1px 5px);
}
.nh-ed-hero-orbit {
  position: absolute;
  inset: 19% 10%;
  border: 1px solid #a7dcff75;
  border-radius: 50%;
  transform: rotate(-21deg);
  box-shadow: 0 0 1rem #65b5fa35, inset 0 0 1rem #65b5fa35;
}
.nh-ed-hero-orbit::after {
  content: '';
  position: absolute;
  inset: 10%;
  border: 1px dashed #a7dcff66;
  border-radius: inherit;
}

.nh-editorial .nhk-filterbar { margin-block: 1.15rem 0; }
.nh-editorial .nh-ed-layout { margin-block-start: clamp(1.15rem, 3vw, 2rem); }
.nh-editorial .nh-ed-tree { padding: clamp(.8rem, 2vw, 1.15rem); }
.nh-editorial .nh-ed-tree-row { margin-block: .15rem; }
.nh-editorial .nh-ed-tree-list .nh-ed-tree-list { border-color: var(--nhk-line, #8194a955); }
.nh-editorial .nh-ed-stream > .nhk-feature {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(.9rem, 2vw, 1.65rem);
  padding-block: 0 clamp(1.4rem, 4vw, 2.5rem);
}
.nh-editorial .nh-ed-stream > .nhk-magazine-stream { padding-block: clamp(1.4rem, 4vw, 2.5rem); }
.nh-editorial .nhk-section-head { margin-block-end: clamp(.8rem, 2.5vw, 1.5rem); }
.nh-editorial .nhk-magazine-grid { gap: clamp(.7rem, 2vw, 1.25rem); }
.nh-editorial .nhk-mag-card h3 { text-wrap: pretty; }

.nh-editorial :is(.nhk-feature__visual, .nhk-mag-card__media, .nhk-article-visual, .nhk-related-card__media) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transform: none;
}
.nh-editorial :is(.nhk-feature__visual, .nhk-mag-card__media, .nhk-article-visual, .nhk-related-card__media) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: none;
}
.nh-editorial .nhk-image-shade { display: none; }
@media (max-width: 1050px) {
  .nh-editorial .nh-ed-stream > .nhk-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .nh-editorial .nh-ed-hero { grid-template-columns: minmax(0, 1fr); }
  .nh-ed-hero-visual { grid-area: auto; max-inline-size: 16rem; }
  .nh-editorial .nh-ed-hero .nhk-search-trigger { grid-column: auto; }
}
