.ja063-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding:14px 18px;background:#122037;color:#fff}
.ja063-tools a,.ja063-btn{display:inline-block;padding:10px 14px;background:#e83b53;color:#fff;text-decoration:none;border-radius:5px;font:700 13px/1.5 sans-serif}
.ja063-tools a:hover,.ja063-btn:hover{filter:brightness(.9)}.ja063-btn.ja063-muted{background:#3c506c}
.ja063-actions{border:1px solid #dce2e9}.ja063-actions .ja063-btn{margin:8px 8px 0 0}
@media(max-width:600px){.ja063-tools{justify-content:stretch}.ja063-tools a{width:100%;text-align:center}}

/* Jr.Athlete 0.6.4: NEWS landscape cards */
/* Scope all changes to the team NEWS section. STAFF and the theme stay intact. */
#ja062-news .ja062-grid {grid-template-columns:minmax(0,1fr);gap:16px}
#ja062-news .ja062-card {padding:14px}
#ja062-news .ja062-news-link:has(> .ja062-news-image) {
  display:grid;
  grid-template-columns:minmax(0,34%) minmax(0,1fr);
  grid-template-rows:auto auto 1fr;
  column-gap:22px;
  align-items:start;
}
#ja062-news .ja062-news-image {
  grid-column:1;
  grid-row:1 / span 3;
  width:100%;
  aspect-ratio:16 / 10;
  height:100%;
  max-height:220px;
  object-fit:cover;
  border-radius:7px;
  margin:0;
}
#ja062-news .ja062-news-link:has(> .ja062-news-image) > :not(.ja062-news-image) {grid-column:2;min-width:0}
#ja062-news .ja062-meta {font-size:12px;margin:3px 0 8px}
#ja062-news .ja062-news-title {font-size:clamp(17px,2vw,21px);line-height:1.45;margin:0 0 9px}
#ja062-news .ja062-teaser {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  overflow-wrap:anywhere;
  font-size:13px;
  line-height:1.8;
  max-height:5.4em;
}
@media(max-width:640px) {
  #ja062-news .ja062-card {padding:12px}
  #ja062-news .ja062-news-link:has(> .ja062-news-image) {display:block}
  #ja062-news .ja062-news-image {height:auto;max-height:none;aspect-ratio:16 / 9;margin:0 0 13px}
  #ja062-news .ja062-teaser {-webkit-line-clamp:2;line-clamp:2;max-height:3.6em}
}
