@charset "UTF-8";
/* ============================================================
   Ukrainavi — Design System
   出典: Ukrainavi_Brand_Editorial_ja_v1.0 / 04章・05章
   規定値（変更はガイドライン改訂を伴う）:
     本文18px・最小16px / 行間 和1.85 欧1.65
     H1 PC40px・SP30px / H2 PC28px・SP24px
     サイト最大1200px / 記事本文最大760px
     余白8px刻み / 角丸8px以下 / 影は原則なし
   ============================================================ */

:root {
  /* --- Color（ガイドライン指定値。追加・改変不可） --- */
  --navy:      #073B53;
  --blue:      #007EA8;
  --link-blue: #006D93;
  --cyan:      #22C6DC;
  --yellow:    #FFDF00;
  --muted:     #526570;
  --fog:       #F3F7F9;
  --white:     #FFFFFF;

  /* --- 派生（原色の透過のみ。新しい色相を作らない） --- */
  --rule:        rgba(7, 59, 83, 0.14);
  --rule-strong: rgba(7, 59, 83, 0.28);
  --fog-deep:    #E7EFF3;

  /* --- Type --- */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-latin: "Noto Sans", sans-serif;

  /* --- Space（8px刻み） --- */
  --s1: 8px;   --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 40px;  --s6: 56px;  --s7: 72px;  --s8: 96px;  --s9: 128px;

  /* --- Layout --- */
  --max-site: 1200px;
  --max-read: 760px;
  --gutter: 20px;          /* スマホ左右余白の規定値 */

  /* --- Radius: 8px以下の規定。4pxを採用 --- */
  --radius: 4px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--navy);
  background: var(--white);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link-blue); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

/* 見えるフォーカス（ガイドライン05章 受入条件） */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ラテン文字は行間1.65（ガイドライン規定） */
[lang="en"], [lang="uk"], .is-latin {
  font-family: var(--font-latin);
  line-height: 1.65;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-site);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.read { max-width: var(--max-read); }

.section { padding-block: var(--s8); }
.section--fog { background: var(--fog); }
.section--tight { padding-block: var(--s6); }

/* セクション見出し ── 折り面の罫を頭に置く */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s2);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--rule-strong);
}
.section-head h2 {
  font-size: 28px;
  letter-spacing: .02em;
}
.section-head .more {
  flex: none;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--link-blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.section-head .more:hover { color: var(--navy); }

/* ============================================================
   Utility bar ── タグライン + 言語切替
   言語は国旗で選ばせない（ガイドライン05章）
   ============================================================ */
.utility {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  line-height: 1.6;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 44px;
}
.utility__tagline {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: .04em;
}
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}
.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: var(--radius);
  letter-spacing: .02em;
}
.lang a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.lang a[aria-current="true"] {
  color: var(--navy);
  background: var(--yellow);   /* Navy/Yellow = 8.98:1 */
  font-weight: 700;
}

/* ============================================================
   Masthead
   ロゴは白地に原画のまま。透過・反転・単色化はしない（03章）
   ============================================================ */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}
.brand__mark {
  /* 原画は正方形。可視マーク幅48px以上を満たすため枠は64px */
  width: 64px; height: 64px;
  flex: none;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-latin);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1;
}

.nav {
  margin-left: auto;
  min-width: 0;                  /* flexアイテムの既定 min-width:auto を解除 */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;              /* タップ領域44px（05章） */
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { background: var(--fog); }

/* 編集とビジネスの区分を視覚化する（11章 独立性） */
.nav .nav__divide {
  width: 1px;
  height: 24px;
  background: var(--rule-strong);
  margin-inline: 10px;
}
.nav a.is-business { color: var(--muted); }
.nav a.is-business:hover { color: var(--navy); }

/* ============================================================
   折り面プレースホルダ
   写真が未調達の記事に使う暫定アイキャッチ。
   ロゴの折り紙の面構成（鋭角の面が斜めに重なり、白い隙間で分かれる）を
   CSSの多角形に翻訳したもの。生成画像ではない（15章 AI方針に抵触しない）
   面と面の間は座標を離すことで下地の色が覗き、折りの「隙間」になる
   ============================================================ */
.facet {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--fog);
  overflow: hidden;
  border-radius: var(--radius);
}
.facet::before,
.facet::after,
.facet__edge {
  content: "";
  position: absolute;
  inset: 0;
}

/* 面1 ── 左下から右上へ流れる主面（翼） */
.facet::before {
  background: var(--navy);
  clip-path: polygon(0 100%, 44% 0, 68% 40%, 24% 100%);
}
/* 面2 ── 右へ折り返す面 */
.facet::after {
  background: var(--blue);
  clip-path: polygon(30% 100%, 73% 44%, 100% 16%, 100% 100%);
}
/* 面3 ── 手前の小面 */
.facet__edge {
  background: var(--cyan);
  clip-path: polygon(0 100%, 15% 58%, 27% 100%);
}

/* カテゴリごとに折りの角度と面の色を変える */
.facet--culture::before { background: var(--navy); clip-path: polygon(0 100%, 38% 6%, 64% 36%, 20% 100%); }
.facet--culture::after  { background: var(--blue); clip-path: polygon(26% 100%, 69% 40%, 100% 22%, 100% 100%); }
.facet--culture .facet__edge { background: var(--yellow); clip-path: polygon(0 100%, 13% 52%, 24% 100%); }

.facet--people::before  { background: var(--blue); clip-path: polygon(0 100%, 48% 4%, 72% 46%, 28% 100%); }
.facet--people::after   { background: var(--navy); clip-path: polygon(34% 100%, 77% 50%, 100% 24%, 100% 100%); }
.facet--people .facet__edge { background: var(--cyan); clip-path: polygon(0 100%, 17% 62%, 30% 100%); }

.facet--society::before { background: var(--navy); clip-path: polygon(0 100%, 52% 2%, 74% 32%, 30% 100%); }
.facet--society::after  { background: var(--link-blue); clip-path: polygon(36% 100%, 79% 38%, 100% 10%, 100% 100%); }
.facet--society .facet__edge { background: var(--blue); clip-path: polygon(0 100%, 19% 54%, 32% 100%); }

.facet--business::before { background: var(--link-blue); clip-path: polygon(0 100%, 40% 8%, 66% 50%, 22% 100%); }
.facet--business::after  { background: var(--blue); clip-path: polygon(28% 100%, 71% 54%, 100% 28%, 100% 100%); }
.facet--business .facet__edge { background: var(--cyan); clip-path: polygon(0 100%, 14% 66%, 26% 100%); }

.facet--japan::before   { background: var(--blue); clip-path: polygon(0 100%, 42% 0, 70% 42%, 26% 100%); }
.facet--japan::after    { background: var(--navy); clip-path: polygon(32% 100%, 75% 46%, 100% 18%, 100% 100%); }
.facet--japan .facet__edge { background: var(--yellow); clip-path: polygon(0 100%, 16% 56%, 28% 100%); }

/* ============================================================
   記事カード
   16:9写真・カテゴリ・記事種別・見出し・公開日（05章 記事カード要件）
   さらに最終確認日を出す（13章 verified_at）
   ============================================================ */
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__media { position: relative; }
.card__media img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .01em;
}
.card:hover .card__title { color: var(--link-blue); }
.card__excerpt {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* メタ行 ── カテゴリ・記事種別 */
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--muted);
}
.meta__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 700;
}
/* カテゴリの識別は文字で行い、色は極小面積の印にとどめる */
.meta__cat::before {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  background: var(--navy);
}
.meta__cat--culture::before  { background: var(--yellow); }
.meta__cat--people::before   { background: var(--cyan); }
.meta__cat--society::before  { background: var(--navy); }
.meta__cat--business::before { background: var(--blue); }
.meta__cat--japan::before    { background: var(--link-blue); }

.meta__sep { color: var(--rule-strong); }
.meta__type {
  font-weight: 500;
  color: var(--muted);
}

/* 日付行 ── 公開日と最終確認日 */
.dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--muted);
}
.dates time { font-family: var(--font-latin); }
.dates .verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dates .verified::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
}

/* ============================================================
   リード（トップの主記事）
   ============================================================ */
.lead {
  padding-block: var(--s7) var(--s8);
}
.lead__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.lead__main .card__title {
  font-size: 40px;                /* H1規定 PC40px */
  line-height: 1.4;
  letter-spacing: .005em;
  margin-top: 4px;
}
.lead__main .card__excerpt {
  font-size: 16px;
  -webkit-line-clamp: 3;
  max-width: 62ch;
}
.lead__main .card { gap: 24px; }
.lead__main .card__body { gap: 14px; }
.lead__main .dates { margin-top: 2px; }

.lead__side {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  border-left: 1px solid var(--rule);
  padding-left: var(--s5);
}
.lead__side .card {
  flex-direction: row;
  gap: 18px;
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
}
.lead__side .card:last-child { border-bottom: 0; padding-bottom: 0; }
.lead__side .card__media { flex: none; width: 128px; }
.lead__side .card__title { font-size: 16px; line-height: 1.6; }
.lead__side .card__excerpt { display: none; }
.lead__side .card__body { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   信頼バー ── 媒体の約束を最初の画面で示す（19章）
   ============================================================ */
.pledge {
  border-block: 1px solid var(--rule-strong);
  background: var(--fog);
}
.pledge .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
}
.pledge p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--navy);
  max-width: 76ch;
}
.pledge strong { font-weight: 700; }
.pledge a {
  flex: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--link-blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ============================================================
   記事グリッド
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6) var(--s5);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ============================================================
   カテゴリ案内 ── 5本柱
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--white);
  padding: var(--s4) var(--s3) var(--s5);
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--navy);
}
.pillar--culture::before  { background: var(--yellow); }
.pillar--people::before   { background: var(--cyan); }
.pillar--society::before  { background: var(--navy); }
.pillar--business::before { background: var(--blue); }
.pillar--japan::before    { background: var(--link-blue); }
.pillar:hover { background: var(--fog); }
.pillar__name { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.pillar__desc { font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.pillar__count {
  margin-top: auto;
  font-family: var(--font-latin);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ============================================================
   Business ── 編集面と明確に区分する（11章）
   ============================================================ */
.business {
  background: var(--navy);
  color: var(--white);
}
.business .section-head { border-bottom-color: rgba(255,255,255,.24); }
.business .section-head h2 { color: var(--white); }
.business__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--navy);
  background: var(--yellow);      /* Navy/Yellow 8.98:1 */
  padding: 5px 10px;
  border-radius: var(--radius);
  margin-bottom: var(--s2);
}
.business__intro {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,.88);
  max-width: 68ch;
  margin-bottom: var(--s6);
}
.business__intro a { color: var(--cyan); }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--s6);
}
.service {
  background: var(--navy);
  padding: var(--s4) var(--s3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.service:hover { background: #0A4B69; }
.service__name { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.service__desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.78); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 var(--s5);
  background: var(--yellow);
  color: var(--navy);             /* 8.98:1 */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--radius);
}
.cta:hover { background: #FFE94D; }
.cta--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
}
.cta--ghost:hover { background: rgba(255,255,255,.1); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.cta-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin-top: var(--s3);
  max-width: 70ch;
}

/* ============================================================
   ニュースレター
   ============================================================ */
.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.news h2 { font-size: 28px; margin-bottom: var(--s2); }
.news p { font-size: 15.5px; line-height: 1.85; color: var(--muted); }
.form-row { display: flex; gap: var(--s1); flex-wrap: wrap; margin-top: var(--s3); }
.form-row input[type="email"] {
  flex: 1 1 260px;
  min-height: 56px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.form-row input::placeholder { color: var(--muted); }
.form-row button {
  min-height: 56px;
  padding: 0 var(--s4);
  background: var(--navy);
  color: var(--white);            /* 11.94:1 */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.form-row button:hover { background: #0A4B69; }
.lang-choice {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s2);
  font-size: 14px;
  color: var(--muted);
}
.lang-choice label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: 14.5px;
  line-height: 1.85;
  padding-block: var(--s8) var(--s6);
}
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s6) var(--s5);
  padding-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s2); }
.footer__brand img {
  width: 56px; height: 56px;
  background: var(--white);       /* 暗い画面では白い保護面に置く（03章） */
  border-radius: var(--radius);
  padding: 2px;
}
.footer__brand span {
  font-family: var(--font-latin);
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
}
.footer h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: var(--s2);
}
.footer li { margin-bottom: 6px; }
.footer__operator {
  margin-top: var(--s5);
  font-size: 13.5px;
  color: rgba(255,255,255,.66);
  max-width: 80ch;
}
.footer__operator strong { color: rgba(255,255,255,.9); font-weight: 500; }
.footer__bottom {
  padding-top: var(--s4);
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   Responsive
   受入条件: 200%拡大と320px幅で本文が横にはみ出さない（05章）
   ============================================================ */
@media (max-width: 1024px) {
  .lead__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .lead__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--s5); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .news__grid { grid-template-columns: 1fr; gap: var(--s4); }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  .section { padding-block: var(--s6); }
  .lead { padding-block: var(--s5) var(--s6); }

  /* H1 SP30px / H2 SP24px（ガイドライン規定） */
  .lead__main .card__title { font-size: 30px; line-height: 1.45; }
  .section-head h2, .news h2 { font-size: 24px; }

  .masthead .wrap { min-height: 64px; gap: var(--s2); }
  .brand__mark { width: 52px; height: 52px; }
  .brand__name { font-size: 22px; }

  /* ナビは横スクロール。固定高でテキストを切り落とさない */
  .nav { margin-left: 0; }

  .utility .wrap { gap: var(--s2); }
  .utility__tagline { display: none; }
  .lang { margin-left: auto; }

  .grid, .pillars, .services { grid-template-columns: 1fr; }
  .pledge .wrap { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s4); }
  .lead__side .card__media { width: 104px; }
}

@media (max-width: 400px) {
  .lead__side .card { flex-direction: column; }
  .lead__side .card__media { width: 100%; }
}

/* 動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* 印刷 */
@media print {
  .utility, .nav, .business, .news, .footer { display: none; }
}

/* スクリーンリーダー専用テキスト */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   タップ領域の確保
   ガイドライン05章「タップ領域は原則44×44px以上を媒体内の設計目標とする」
   テキストリンクは行の見た目を変えずに、当たり判定だけを広げる
   ============================================================ */
.lang a { min-height: 44px; }

.footer li { margin-bottom: 0; }
.footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* 見た目の行位置を保ったまま当たり判定を広げる */
.pledge a,
.section-head .more,
.footer__bottom a,
.business__intro a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* 下線位置が下がりすぎないよう、罫は擬似要素で引く */
.pledge a,
.section-head .more {
  border-bottom: 0;
  position: relative;
}
.pledge a::after,
.section-head .more::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 12px;
  border-bottom: 1px solid currentColor;
}

/* ============================================================
   記事ページ
   ガイドライン07章 標準テンプレートの①〜⑩を構造として実装する
   必須表示項目は「値が無ければDOMごと出力しない」
   （空欄の枠が並ぶ方が、無いより不誠実になるため）
   ============================================================ */
.article { padding-block: var(--s6) var(--s8); }
.article__inner { max-width: var(--max-read); margin-inline: auto; }

/* ── パンくず ── */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-hidden] { color: var(--rule-strong); }

/* ── ①記事種別・カテゴリー ── */
.article__kicker { margin-bottom: var(--s2); }

/* ── ②見出し ── */
.article__title {
  font-size: 40px;                 /* H1規定 PC40px */
  line-height: 1.4;
  letter-spacing: .005em;
  margin-bottom: var(--s3);
}

/* ── ③要旨 ── */
.article__standfirst {
  font-size: 18px;
  line-height: 1.9;
  color: var(--navy);
  padding-left: var(--s3);
  border-left: 3px solid var(--blue);
  margin-bottom: var(--s5);
}

/* ── ④執筆者・編集者・翻訳者・原文言語 ── */
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--s3);
  padding-block: var(--s2);
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.7;
}
.byline__item { display: inline-flex; gap: 7px; }
.byline__label { color: var(--muted); flex: none; }
.byline__value { font-weight: 500; }
.byline a { color: var(--link-blue); text-decoration: none; border-bottom: 1px solid var(--rule); }

/* ── ⑤初出日・更新日・確認日 ── */
.dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--s3);
  padding-block: var(--s2);
  border-block: 1px solid var(--rule);
  border-top: 0;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: var(--s5);
}
.dateline time { font-family: var(--font-latin); }
.dateline__verified { display: inline-flex; align-items: center; gap: 6px; }
.dateline__verified::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ── 主画像 ── */
.article__figure { margin-bottom: var(--s5); }
.article__figure .facet, .article__figure img { border-radius: var(--radius); }
.article__figure figcaption {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 10px;
}
.article__figure .credit { color: var(--muted); }

/* ── 目次 ── */
.toc {
  background: var(--fog);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s6);
}
.toc h2 {
  font-size: 14px;
  letter-spacing: .1em;
  margin-bottom: var(--s2);
}
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 4px; }
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.6;
}
.toc a::before {
  content: counter(toc) ".";
  font-family: var(--font-latin);
  color: var(--muted);
  margin-right: 10px;
  flex: none;
}
.toc a:hover { color: var(--link-blue); }

/* ── ⑥本文 ── */
.prose { font-size: 18px; line-height: 1.95; }
.prose > * + * { margin-top: var(--s3); }
.prose h2 {
  font-size: 28px;                 /* H2規定 PC28px */
  line-height: 1.5;
  margin-top: var(--s7);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}
.prose h3 {
  font-size: 21px;
  line-height: 1.6;
  margin-top: var(--s5);
}
.prose ul { padding-left: 1.4em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--link-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

.prose blockquote {
  margin-inline: 0;
  padding: var(--s3) var(--s4);
  background: var(--fog);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
}
.prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.7;
}
.prose th, .prose td {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--fog); font-weight: 700; }
.prose caption {
  caption-side: bottom;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  padding-top: 10px;
}

/* ============================================================
   信頼のための注記ブロック
   ============================================================ */
.note {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  margin-top: var(--s5);
  font-size: 15.5px;
  line-height: 1.85;
}
.note h2, .note h3 {
  font-size: 14px;
  letter-spacing: .08em;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.note p + p { margin-top: 12px; }

/* 利害関係の開示 ── 記事冒頭に置く（11章 関連当事者の4条件③） */
.note--disclosure {
  background: #FFF9D6;             /* Yellow を薄めた面。文字はNavyで11.94:1相当 */
  border-color: var(--yellow);
  margin-top: 0;
  margin-bottom: var(--s5);
}
.note--disclosure h2::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--yellow);
  margin-right: 8px;
}

/* 安全・渡航に関する注記（P0対応） */
.note--safety {
  background: var(--fog);
  border-color: var(--rule-strong);
  border-left: 4px solid var(--navy);
}
.note--safety .checked {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* 何が未確認か／制約（07章 標準テンプレート⑦） */
.note--limits { background: var(--white); }

/* 運営体制の開示 ── 全記事の末尾（08章・11章） */
.note--operator {
  background: var(--fog);
  border-color: var(--rule-strong);
  font-size: 14.5px;
}
.note--operator .note__links {
  margin-top: 12px;
  font-size: 13.5px;
}

/* 出典（⑧） */
.sources { margin-top: var(--s6); }
.sources h2 {
  font-size: 14px;
  letter-spacing: .08em;
  padding-bottom: 12px;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--rule-strong);
}
.sources ol { counter-reset: src; font-size: 14.5px; line-height: 1.8; }
.sources li {
  counter-increment: src;
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
}
.sources li::before {
  content: counter(src);
  font-family: var(--font-latin);
  color: var(--muted);
  flex: none;
  min-width: 1.5em;
}
.sources a { color: var(--link-blue); }
.sources .publisher { color: var(--muted); }

/* 訂正履歴（⑨） */
.corrections { margin-top: var(--s5); }
.corrections h2 {
  font-size: 14px;
  letter-spacing: .08em;
  padding-bottom: 12px;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--rule-strong);
}
.corrections li {
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.8;
}
.corrections time { font-family: var(--font-latin); color: var(--muted); margin-right: 10px; }

/* 記事末の訂正窓口（⑩） */
.report-error {
  margin-top: var(--s6);
  padding: var(--s4);
  background: var(--fog);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.85;
}
.report-error a { color: var(--link-blue); }

/* 関連記事 */
.related { margin-top: var(--s8); }
.related .grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--s4); }
.related .card__title { font-size: 16.5px; }
.related .card__excerpt { display: none; }

@media (max-width: 767px) {
  .article { padding-block: var(--s4) var(--s6); }
  .article__title { font-size: 30px; }   /* H1 SP規定 */
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }         /* H2 SP規定 */
  .prose h3 { font-size: 19px; }
  .note, .toc, .report-error { padding: var(--s3); }
  .related .grid { grid-template-columns: 1fr; }
}

/* ============================================================
   固定ページ
   ============================================================ */
.page { padding-block: var(--s6) var(--s8); }
.page__head {
  max-width: var(--max-read);
  margin: 0 auto var(--s7);
}
.page__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: var(--s2);
}
.page__title {
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: var(--s3);
}
.page__lead {
  font-size: 19px;
  line-height: 1.95;
  color: var(--navy);
}

.page__body { max-width: var(--max-read); margin-inline: auto; }

/* 定義リスト（体制・用語など） */
.deflist {
  border-top: 1px solid var(--rule-strong);
  margin-top: var(--s5);
}
.deflist__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
}
.deflist__key { font-weight: 700; font-size: 15.5px; }
.deflist__val { font-size: 16px; line-height: 1.85; }
.deflist__val .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* 約束・原則のカード群 */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--s5);
}
.principle {
  background: var(--white);
  padding: var(--s4);
}
.principle h3 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}
.principle p { font-size: 15px; line-height: 1.85; color: var(--navy); }

/* サービス詳細 */
.svc {
  padding-block: var(--s6);
  border-bottom: 1px solid var(--rule);
}
.svc:last-of-type { border-bottom: 0; }
.svc__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s6);
  align-items: start;
}
.svc__num {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.svc__name { font-size: 26px; line-height: 1.5; margin-bottom: var(--s2); }
.svc__desc { font-size: 16px; line-height: 1.9; }
.svc__points { margin-top: var(--s3); }
.svc__points li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 10px;
}
.svc__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 8px; height: 8px;
  background: var(--blue);
}
.svc__note {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  background: var(--fog);
  border-left: 3px solid var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--navy);
}

/* 問い合わせ導線 */
.contact-band {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--s8);
  margin-top: var(--s8);
}
.contact-band h2 { font-size: 30px; color: var(--white); margin-bottom: var(--s2); }
.contact-band p { color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.9; max-width: 64ch; }
.contact-band .cta-row { margin-top: var(--s4); }

@media (max-width: 767px) {
  .page { padding-block: var(--s4) var(--s6); }
  .page__title { font-size: 30px; }
  .page__lead { font-size: 17px; }
  .deflist__row { grid-template-columns: 1fr; gap: 6px; }
  .principles { grid-template-columns: 1fr; }
  .svc__grid { grid-template-columns: 1fr; gap: var(--s3); }
  .svc__name { font-size: 22px; }
  .contact-band { padding-block: var(--s6); }
  .contact-band h2 { font-size: 24px; }
}

/* ページ末尾のCTA帯は、ページ下部の余白を相殺してフッターに接する */
.page > .contact-band:last-child { margin-bottom: calc(var(--s8) * -1); }
@media (max-width: 767px) {
  .page > .contact-band:last-child { margin-bottom: calc(var(--s6) * -1); }
}

/* 独立した操作要素は44pxを確保する。
   文の途中に置かれたリンクは、行間に縛られるため対象外
   （WCAG 2.5.8 の inline 例外。44pxにすると日本語の行送りが壊れる） */
.crumbs a,
.byline a,
.deflist__val > a,
.toc a,
.sources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* 高さを取る分、行の詰まりを調整する */
.crumbs { gap: 4px 8px; margin-bottom: var(--s2); }
.byline { padding-block: 6px; }
.dateline { padding-block: var(--s2); }
.deflist__val > a + a { margin-left: 4px; }

/* リンクに44pxの当たり判定を持たせた分、ラベルと値の縦位置を揃え直す */
.byline__item { align-items: center; }
.byline__label { line-height: 44px; }
.crumbs { align-items: center; }
.deflist__val { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2px; }
.deflist__val .sub { flex-basis: 100%; }

/* ============================================================
   WordPress テーマで追加される要素
   ============================================================ */

/* 広告・スポンサー・運営告知のラベル
   ガイドライン11章：見出し付近・一覧・SNSのすべてに表示する */
.ad-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: var(--radius);
  flex: none;
}
.ad-label--ad        { background: var(--yellow); color: var(--navy); }   /* 8.98:1 */
.ad-label--sponsored { background: var(--navy);   color: var(--white); }  /* 11.94:1 */
.ad-label--publisher { background: var(--fog-deep); color: var(--navy); border: 1px solid var(--rule-strong); }

/* カテゴリーをリンクにした場合、見た目は変えない */
.meta__link { text-decoration: none; color: inherit; }
.meta__link:hover .meta__cat { color: var(--link-blue); }

/* ページネーション */
.pagination {
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.pagination .page-numbers:hover { background: var(--fog); }
.pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.pagination .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }
.pagination .screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* 記事内のページ送り */
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: var(--s5);
  font-size: 15px;
}
.page-links a, .page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; min-height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
}

/* 検索フォーム */
.searchform { max-width: 520px; }
.searchform input[type="search"] {
  flex: 1 1 220px;
  min-height: 56px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.searchform button {
  min-height: 56px;
  padding: 0 var(--s4);
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.searchform button:hover { background: #0A4B69; }

/* WordPress 標準のブロック配置 */
.prose .alignleft  { float: left;  margin: 0 var(--s3) var(--s2) 0; }
.prose .alignright { float: right; margin: 0 0 var(--s2) var(--s3); }
.prose .aligncenter { margin-inline: auto; }
.prose .alignwide, .prose .alignfull { margin-inline: 0; }
.prose figure { margin-inline: 0; }
.prose figcaption {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 10px;
}
.prose .wp-block-image img { border-radius: var(--radius); }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-quote { margin-inline: 0; }
.prose .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--rule-strong);
  margin-block: var(--s6);
}

/* 記事一覧のカードでのフォーカス可視化 */
.card:focus-visible { outline-offset: 4px; }

@media (max-width: 767px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 0 0 var(--s2); }
}

/* ============================================================
   ウクライナ語辞典
   カナは「目安」と必ず添える。母語話者の確認状況を伏せない。
   ============================================================ */

/* --- 一覧の道具立て --- */
.lex-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s3);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--rule-strong);
}
.lex-search { display: flex; gap: 8px; }
.lex-search input[type="search"] {
  min-height: 44px;
  min-width: 260px;
  padding: 0 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: 15px;
  background: var(--white);
  color: var(--navy);
}
.lex-search button {
  min-height: 44px;
  min-width: 64px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 15px;
  cursor: pointer;
}
.lex-filter { display: flex; flex-wrap: wrap; gap: 4px; }
.lex-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: 14.5px;
  text-decoration: none;
  color: var(--navy);
}
.lex-filter a.is-current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* --- 一覧 --- */
.lex-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.lex-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s2);
  background: var(--white);
}
.lex-item__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}
.lex-item__term {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.lex-item__uk {
  font-family: var(--font-latin);
  font-size: 17px;
  color: var(--blue);
}
.lex-item__read {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}
.lex-item__ja {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.8;
}
.lex-item__badge { margin-top: 10px; }

/* --- 見出し（1語のページ） --- */
.lex-head {
  padding-bottom: var(--s3);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--rule-strong);
}
.lex-head__term {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.3;
  margin: 0;
  color: var(--navy);
}
.lex-head__uk {
  font-family: var(--font-latin);
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--blue);
  margin: 6px 0 0;
}
.lex-head__read {
  margin: 10px 0 0;
  font-size: 15.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.lex-translit { font-family: var(--font-latin); }
.lex-kana__note {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.lex-head__meta {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.lex-pos {
  font-size: 13.5px;
  color: var(--muted);
}

/* --- 母語話者の確認バッジ --- */
.lex-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.6;
  border: 1px solid var(--rule-strong);
}
.lex-badge--pending {
  background: #FFF9D6;             /* 利害開示と同じ注意の面。文字はNavy */
  border-color: var(--yellow);
  color: var(--navy);
}
.lex-badge--reviewed {
  background: var(--fog);
  color: var(--navy);
}
.lex-badge--recheck {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

/* --- 音声 --- */
.lex-audio { margin-top: var(--s2); }
.lex-audio audio { width: 100%; max-width: 420px; }
.lex-audio__note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* --- 本文ブロック --- */
.lex-block { margin-bottom: var(--s4); }
.lex-block h2 {
  font-size: 14px;
  letter-spacing: .08em;
  padding-bottom: 10px;
  margin: 0 0 var(--s2);
  border-bottom: 1px solid var(--rule);
}
.lex-block p { line-height: 1.9; }
.lex-example__uk {
  font-family: var(--font-latin);
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}
.lex-example__ja {
  margin: 8px 0 0;
  color: var(--muted);
}
.lex-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0; }
.lex-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 13.5px;
  text-decoration: none;
  color: var(--navy);
}

/* --- 記事本文からの参照 --- */
.lex-ref {
  border-bottom: 1px dotted var(--link-blue);
  text-decoration: none;
}

@media (max-width: 767px) {
  .lex-tools { flex-direction: column; align-items: stretch; }
  .lex-search input[type="search"] { min-width: 0; width: 100%; }
  .lex-list { grid-template-columns: 1fr; }
}
