/* ------------------------------------------------------------------
   Insights index (3.1): what goes with home.php beyond its inline styles.
   Hover and focus states from the mockup, plus the rules for hiding
   cards and for the page links. Written by tools/build_insights.py.
   ------------------------------------------------------------------ */
.oc31-insights a{color:#2E5E97}.oc31-insights a:hover{color:#005670}
.oc-btn-d:hover{background:#253450 !important}
.oc-stop:hover{color:#F4F7FC !important}
.oc-post:hover .oc-post-title{color:#8FB9E8}
.oc-post:hover .oc-more{color:#005670 !important}
.oc-link:hover{color:#005670 !important}
.oc-stop:focus-visible{outline:3px solid #8FB9E8;outline-offset:3px}
.oc-post:focus-visible{outline:3px solid #2E5E97;outline-offset:3px}
.oc-btn-d:focus-visible{outline:3px solid #1B2740;outline-offset:3px}
.oc31-insights button{-webkit-appearance:none;appearance:none}
/* a card with a featured image carries its title on white */
.oc-post:hover .oc-post-name{color:#2E5E97}
/* featured block with an image: the excerpt is cut so the text stays within the image's height */
.oc-feat-lead{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media (max-width:1199px){.oc-feat-lead{-webkit-line-clamp:2}}
@media (max-width:988px){.oc-feat-lead{display:block;overflow:visible}.oc-feat-text{padding:32px 28px 34px !important}}
/* five filters: on a phone they make two rows that fill the bar (the break is printed by home.php) */
.oc-filter-break{display:none}
@media (max-width:499px){
  .oc31-insights [role="group"]{display:flex !important}
  .oc-filter-break{display:block;flex-basis:100%;height:0}
  .oc31-insights .oc-stop{flex:1 1 auto}
}
/* a card keeps display:flex inline, so "hidden" needs help */
.oc31-insights [data-oc-card][hidden]{display:none !important}
.oc-link:focus-visible{outline:3px solid #2E5E97;outline-offset:3px}
/* page links, when there are more articles than fit on one page */
.oc31-insights .navigation.pagination{margin:44px 0 0;text-align:center}
.oc31-insights .navigation.pagination .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.oc31-insights .nav-links{display:inline-flex;flex-wrap:wrap;gap:8px}
.oc31-insights .page-numbers{display:inline-block;min-width:44px;padding:12px 14px;box-sizing:border-box;border:1px solid #C3C9D6;border-radius:999px;color:#1B2740;font-size:13px;line-height:18px;font-weight:700;text-decoration:none}
.oc31-insights .page-numbers.current{border-color:#253450;background:#253450;color:#F4F7FC}
.oc31-insights a.page-numbers:hover{border-color:#2E5E97;color:#2E5E97}
