/* P122: home media region and two exact Contact37 links only. */
html body #codex-media-paths-p122 {
  box-sizing: border-box;
  margin: 30px 0 6px;
  padding: 26px;
  border: 1px solid #d5e1ee;
  border-radius: 18px;
  background: #f3f7fb;
  color: #172b45;
}
html body #codex-media-paths-p122 * { box-sizing: border-box; }
html body #codex-media-paths-p122 > h2.p122-media-heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #132f50 !important;
  font-size: clamp(21px, 2.3vw, 28px) !important;
  font-weight: 800;
  line-height: 1.5 !important;
}
html body #codex-media-paths-p122 h2::before,
html body #codex-media-paths-p122 h2::after,
html body #codex-media-paths-p122 h3::before,
html body #codex-media-paths-p122 h3::after { content: none !important; }
html body #codex-media-paths-p122 > .p122-media-intro {
  margin: 0 0 22px !important;
  color: #42566e;
  font-size: 15px;
  line-height: 1.8;
}
html body #codex-media-paths-p122 > .p122-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body #codex-media-paths-p122 .p122-media-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 !important;
  padding: 20px;
  border: 1px solid #d5e1ee;
  border-top: 3px solid #2d5987;
  border-radius: 12px;
  background: #fff;
  color: #34475e;
  box-shadow: 0 4px 12px rgba(19, 47, 80, 0.04);
  overflow-wrap: anywhere;
}
html body #codex-media-paths-p122 .p122-media-card::before,
html body #codex-media-paths-p122 .p122-media-card::after { content: none !important; }
html body #codex-media-paths-p122 .p122-media-eyebrow {
  margin: 0 0 12px !important;
  color: #2d5987;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.035em;
}
html body #codex-media-paths-p122 h3.p122-media-title {
  margin: 0 0 13px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #132f50 !important;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.65 !important;
}
html body #codex-media-paths-p122 .p122-media-description {
  margin: 0 0 12px !important;
  color: #34475e;
  font-size: 14px;
  line-height: 1.85;
}
html body #codex-media-paths-p122 .p122-media-note {
  margin: 0 0 18px !important;
  color: #53647a;
  font-size: 12px;
  line-height: 1.8;
}
html body #codex-media-paths-p122 a.p122-media-link,
html body #codex-media-paths-p122 a.p122-media-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid #183b60;
  border-radius: 9px;
  background: #183b60;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
  transition: background-color .15s ease, border-color .15s ease;
}
html body #codex-media-paths-p122 a.p122-media-link:hover {
  border-color: #245581;
  background: #245581;
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
html body #codex-media-paths-p122 > .p122-media-external-note {
  margin: 16px 0 0 !important;
  color: #53647a;
  font-size: 12px;
  line-height: 1.7;
}
html body.page-id-37 .entry-content > p > a[data-p121-medium="line"][href="https://utage-system.com/line/open/l5mBTzAe47in?mtid=wYECwBfSzJqQ"],
html body.page-id-37 .entry-content > p > a[data-p121-medium="zoom"][href="https://utage-system.com/p/cTmhn3uojDws?ftid=vU92fECNV4V0"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid #183b60;
  border-radius: 9px;
  background: #183b60;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
html body.page-id-37 .entry-content > p > a[data-p121-medium="line"][href="https://utage-system.com/line/open/l5mBTzAe47in?mtid=wYECwBfSzJqQ"]:hover,
html body.page-id-37 .entry-content > p > a[data-p121-medium="zoom"][href="https://utage-system.com/p/cTmhn3uojDws?ftid=vU92fECNV4V0"]:hover {
  background: #245581;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
html body #codex-media-paths-p122 a.p122-media-link:focus-visible,
html body.page-id-37 .entry-content > p > a[data-p121-medium="line"][href="https://utage-system.com/line/open/l5mBTzAe47in?mtid=wYECwBfSzJqQ"]:focus-visible,
html body.page-id-37 .entry-content > p > a[data-p121-medium="zoom"][href="https://utage-system.com/p/cTmhn3uojDws?ftid=vU92fECNV4V0"]:focus-visible {
  outline: 3px solid #1260ad !important;
  outline-offset: 4px;
}
@media (max-width: 1099px) {
  html body #codex-media-paths-p122 > .p122-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  html body #codex-media-paths-p122 { padding: 19px 16px; border-radius: 14px; }
  html body #codex-media-paths-p122 > .p122-media-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  html body #codex-media-paths-p122 .p122-media-card { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #codex-media-paths-p122 a.p122-media-link { transition: none; animation: none; }
}
