
#body_wrap .hm-latest-tabs{min-width:0}
#body_wrap .hm-latest-tabs__hint{font-size:.88rem;color:#526577;margin:0 0 .75rem;line-height:1.6}
#body_wrap .hm-latest-tabs__rail{position:relative;min-width:0;border-bottom:1px solid #d7e0df;background:linear-gradient(to left,#fff,transparent 25px)}
#body_wrap .hm-latest-tabs__tablist{display:flex;gap:.4rem;overflow-x:auto;overscroll-behavior-x:contain;padding:.2rem .15rem .65rem;scrollbar-width:thin;scroll-padding-inline:.25rem}
#body_wrap .hm-latest-tabs__tab{flex:0 0 auto;min-height:44px;padding:.5rem .9rem;border:1px solid #cbd8d4;border-radius:999px;background:#f4f8f6;color:#264b43;font-size:.9rem;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}
#body_wrap .hm-latest-tabs__tab[aria-selected="true"]{background:#04384c;color:#fff;border-color:#04384c;box-shadow:inset 0 -3px 0 #72bd9b}
#body_wrap .hm-latest-tabs__tab:focus-visible,#body_wrap .hm-latest-tabs__more:focus-visible,#body_wrap .hm-latest-tabs__panel:focus-visible{outline:3px solid #9a4d20;outline-offset:3px}
#body_wrap .hm-latest-tabs__scroll-hint{font-size:.75rem;color:#526577;margin:.35rem 0 .65rem;line-height:1.5}
#body_wrap .hm-latest-tabs__panel[hidden]{display:none!important}
#body_wrap .hm-latest-tabs__panel .p-postList{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0!important;padding:0!important}
#body_wrap .hm-latest-tabs__panel .p-postList__body{min-width:0;width:100%!important}
#body_wrap .hm-latest-tabs__date{display:block;color:#526577;font-size:.75rem;line-height:1.4;margin-bottom:.25rem}
#body_wrap .hm-latest-tabs__panel .p-postList__title{display:block}
#body_wrap .hm-latest-tabs__more{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;margin-top:.8rem;padding:.65rem .8rem;border:1px solid #cbd8d4;border-radius:8px;color:#04384c;background:#f4f8f6;font-size:.9rem;font-weight:600;text-decoration:none}
#body_wrap .hm-latest-tabs__empty{padding:1.5rem 0;color:#526577}
/* hm-footer-latest-layout-v2: override the theme's flex widths inside this grid. */
@media(max-width:600px){
#body_wrap.codex-harimap-v4 .hm-footer-section[data-hm-footer-type="new"] .hm-latest-tabs__panel .p-postList__link{grid-template-columns:6rem minmax(0,1fr)}
#body_wrap.codex-harimap-v4 .hm-footer-section[data-hm-footer-type="new"] .hm-latest-tabs__panel .p-postList__thumb{width:6rem}
}


  /* Labels placed on saturated guide-card colors need a stable foreground. */
  #body_wrap .hm-guide-card.is-featured .hm-guide-label {
    color:#fff!important;
  }
  #body_wrap .hm-guide-card:not(.is-featured) .hm-guide-label {
    color:#7c2d12!important;
  }
  /* Muted supporting copy: retain hierarchy while meeting normal-text contrast. */
  #body_wrap .hm-traffic-alert em,
  #body_wrap .hm-fr-head small,
  #body_wrap .hm-fr-body small,
  #body_wrap.single .hm-v5-calendar-summary small,
  #body_wrap.single :where(.c-postTimes__modified,.c-postTimes__posted),
  #body_wrap.single .post_content :where(figcaption,.wp-element-caption) {
    color:#475569!important;
    opacity:1!important;
  }
  #body_wrap .p-breadcrumb__text {
    color:#475569!important;
    opacity:1!important;
  }
  /* Text links remain recognizable without relying on color alone. */
  #body_wrap .p-termHead__desc a,
  #body_wrap.single .post_content :where(figcaption,.wp-element-caption) a,
  #body_wrap .codex-preferred-source-widget p > a {
    color:#0b63b6!important;
    text-decoration:underline!important;
    text-decoration-thickness:1px!important;
    text-underline-offset:2px!important;
  }
  /* Desktop header icons were 26x22 with effectively smaller safe spacing. */
  /* Date metadata is softened again by the design layer, so start darker. */
  #body_wrap.single :where(.c-postTimes__modified,.c-postTimes__posted) {
    color:#334155!important;
  }
  /* Inactive pagination used white on #dedede (1.34:1). */
  #body_wrap :where(.pagination,.c-pagination) .page-numbers {
    background:#475569!important;
    color:#fff!important;
  }
  @media (min-width:960px) {
    #body_wrap .l-header__bar .c-iconList .c-iconList__link {
      box-sizing:border-box!important;
      display:inline-flex!important;
      align-items:center!important;
      justify-content:center!important;
      min-width:28px!important;
      min-height:28px!important;
      padding:4px 7px!important;
    }
  }
