/* what's-new list and notice post pages. Loaded after common.css. */

/* ===== list: the rows of the TOP news block plus the category and the shop of each post ===== */
.nl-list .shop{font-size:12px;font-weight:700;line-height:1.9;text-align:center;color:var(--navy);border:1px solid var(--navy)}
/* category of the post: plain text next to the label of its kind (empty for a campaign) */
.nl-list .kind{font-size:12px;font-weight:700;line-height:1.6;color:var(--navy)}
.nl-list .lab.line{color:var(--navy);background:#fff;box-shadow:inset 0 0 0 1px var(--navy)}
.rl-fields .rl-shop[hidden]{display:none}
.nl-list li[hidden],.rl-filter[hidden],.rl-count[hidden]{display:none}
@media (min-width:901px){
  .nl-list a{grid-template-columns:86px 96px 84px 72px 1fr 16px;gap:14px}
}

/* ===== post: previous / next notice ===== */
.post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:36px}
.post-nav a{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:72px;padding:12px 18px;background:#fff;border:1px solid var(--navy);color:var(--navy);font-size:14px;font-weight:700;line-height:1.6;transition:background-color .2s,color .2s}
.post-nav a:hover{background:var(--navy);color:#fff}
.post-nav small{font-size:11.5px;letter-spacing:.08em;opacity:.7}
.post-nav .next{grid-column:2;text-align:right}

@media (max-width:1100px){
  /* one column: the post title and the list heading come before the market-rate block of the sidebar (order 2 in common.css) */
  #list,#article{order:1}
}
@media (max-width:900px){
  .nl-list .shop{justify-self:start;padding:0 10px}
  /* date, kind, category and shop in one line, the title under them */
  .nl-list a{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
  .nl-list .ttl{flex-basis:100%}
  .nl-list .kind:empty{display:none}
  #nlFields .rl-shop span{width:7.2em}
  /* five tabs in the width of the screen, no sideways scroll */
  #nlTabs button{padding:0 4px;font-size:12px}
  .post-nav{grid-template-columns:1fr;gap:8px;margin-top:28px}
  .post-nav a{min-height:60px;padding:10px 14px;font-size:13.5px}
  .post-nav .next{grid-column:auto;text-align:left}
}
