.wolf-news { color: #0b223d; line-height: 1.7; margin-block: 2rem; }
.wolf-news *, .wolf-news *::before, .wolf-news *::after { box-sizing: border-box; }
.wolf-news a { color: #0b223d; text-underline-offset: .25em; }
.wolf-news a:hover { color: #234363; }
.wolf-news a:focus-visible { outline: 3px solid #0b223d; outline-offset: 4px; }
.wolf-news .news-list-view { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 2rem; }
.wolf-news .news-list-view > .article { display: flex; flex-direction: column; min-width: 0; background: #f1f3f5; border-bottom: 4px solid #9cc31b; padding: 1.5rem; }
.wolf-news .news-list-view .news-img-wrap { order: -2; margin: -1.5rem -1.5rem 1.5rem; overflow: hidden; background: #e3e7ec; }
.wolf-news .news-list-view .news-img-wrap img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.wolf-news .news-list-view .footer { order: -1; color: #4c596a; font-size: .85rem; }
.wolf-news .footer p { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.wolf-news .news-list-category { color: #0b223d; font-weight: 600; }
.wolf-news .header h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; margin: 0 0 1rem; }
.wolf-news .header h3 a { text-decoration: none; }
.wolf-news .teaser-text { display: flex; flex-direction: column; flex: 1; }
.wolf-news .teaser-text .more { align-self: flex-start; margin-top: auto; padding-top: 1rem; font-weight: 600; }
.wolf-news .more::after { content: ' ↗'; margin-left: .5rem; }
.wolf-news .topnews { border-top: 4px solid #0b223d; }
.wolf-news .page-navigation { grid-column: 1 / -1; }
.wolf-news .pagination { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.wolf-news .pagination :is(a, .current) { display: block; min-width: 2.75rem; padding: .5rem 1rem; border: 1px solid #8994a3; }
.wolf-news.news-single {
  max-width: 65rem;
  margin: clamp(2rem, 4vw, 4rem) auto;
  overflow-wrap: anywhere;
}
.wolf-news.news-single h1 {
  margin: 0 0 1rem;
  color: inherit;
  font-size: clamp(1.9rem, 1.1rem + 2vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.wolf-news.news-single .extra {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(11 34 61 / 15%);
  font-size: .875rem;
}
.wolf-news.news-single .footer { border-block: 1px solid #d1d8e0; padding-block: .75rem; margin-bottom: 2rem; font-size: .9rem; }
.wolf-news.news-single .teaser-text { font-size: 1.2rem; color: #0b223d; margin-bottom: 2rem; }
.wolf-news.news-single img { max-width: 100%; height: auto; }
.wolf-news.news-single .news-img-wrap { margin-block: 2rem; }
.wolf-news.news-single .news-img-wrap .outer { margin-bottom: 1.5rem; }
.wolf-news .news-backlink-wrap { padding-block: 2rem; border-top: 3px solid #9cc31b; margin-top: 2rem; }
.wolf-news .news-related-wrap { margin-top: 2rem; }
.wolf-news .no-news-found { padding: 2rem; background: #f1f3f5; border-left: 4px solid #9cc31b; }

/* The topic selector replaces the linked category-plugin heading. */
.frame-type-news_categorylist:has(.wolf-news-topics) > header,
.wolf-page-content:has(.news-single) > .frame-type-header:has(+ .frame-type-news_categorylist),
.wolf-page-content:has(.news-single) > .frame-type-news_categorylist { display: none; }
.wolf-page-content > .frame-type-header:has(+ .frame-type-news_categorylist) h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.07; letter-spacing: -.035em; color: #0b223d;
}
.wolf-news-topics ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0 0 1.5rem; border-bottom: 1px solid #d5dadf; list-style: none; }
.wolf-news-topics a { display: block; padding: .55rem 1.05rem; border: 1px solid #bac5ce; border-radius: 2rem; color: #0b223d; text-decoration: none; font-weight: 600; }
.wolf-news-topics a[aria-current="page"] { color: #fff; background: #0b223d; border-color: #0b223d; }
.wolf-news-topics a:hover { color: #0b223d; border-color: #9cc31b; background: #eff5dd; }
.wolf-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-block: 1.5rem 3rem; }
.wolf-news-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #f5f5f5; color: #0b223d; }
.wolf-news-card__body { display: flex; flex-direction: column; gap: .85rem; flex: 1; padding: clamp(1.15rem, 2.5vw, 1.8rem); overflow-wrap: anywhere; }
.wolf-news-card__body::after { content: ''; width: 2.5rem; height: 3px; background: #9cc31b; margin-top: auto; transition: width .2s ease; }
.wolf-news-card:is(:hover, :focus-within) .wolf-news-card__body::after { width: 4.5rem; }
.wolf-news-card__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .8rem; font-size: .88rem; line-height: 1.5; }
.wolf-news-card__meta span { font-weight: 650; }
.wolf-news-card__meta time { color: #4c596a; }
.wolf-news-card h2 { font-size: clamp(1.3rem, 1.1rem + .55vw, 1.65rem); font-weight: 650; line-height: 1.25; margin: 0; }
.wolf-news-card h2 a { color: inherit; text-decoration: none; }
.wolf-news-card h2 a::after { content: ''; position: absolute; inset: 0; }
.wolf-news-card:focus-within { outline: 3px solid #0b223d; outline-offset: 3px; }
.wolf-news-card__body p { margin: 0 0 .55rem; }
@media (prefers-reduced-motion: reduce) { .wolf-news-card__body::after { transition: none; } }
.wolf-news.news-single .lead {
  max-width: 60ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
}
.wolf-news.news-single .lead > :last-child { margin-bottom: 0; }
.wolf-news.news-single .news-text-wrap { max-width: 72ch; }
.wolf-news.news-single .news-text-wrap p { margin: 0 0 1.1rem; }
.wolf-news.news-single .news-text-wrap p:empty { display: none; }
.wolf-news.news-single .news-text-wrap :is(h2, h3) {
  margin: 1.8rem 0 .8rem;
  color: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-wrap: balance;
}
.wolf-news.news-single .news-text-wrap h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); }
.wolf-news.news-single .news-text-wrap h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); }
.wolf-news.news-single .thumbnail { margin-bottom: 1.5rem; }
.wolf-news.news-single .thumbnail img { display: block; }
.wolf-news.news-single .caption {
  max-width: 48ch;
  margin-top: .65rem;
  font-size: .875rem;
  line-height: 1.5;
}
.wolf-news .wolf-news-back { display: inline-block; margin-block: 1.25rem; font-weight: 600; }
.wolf-news.news-single :is(.news-text-wrap a, .wolf-news-back) {
  color: inherit;
  text-decoration: underline .5px rgb(11 34 61 / 40%);
  text-underline-offset: .3em;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.wolf-news.news-single :is(.news-text-wrap a, .wolf-news-back):is(:hover, :focus-visible) {
  color: #234363;
  text-decoration-color: #9cc31b;
}
@media (min-width: 48rem) {
  .wolf-news.news-single .row > .col-md-4 { padding-inline-start: clamp(1rem, 2.5vw, 2.5rem); }
}
@media (max-width: 47.999rem) {
  /* Bring the photos between the introduction and article on narrow screens. */
  .wolf-news.news-single .row { display: flex; flex-direction: column; margin-inline: 0; }
  .wolf-news.news-single .row > .col-md-8 { display: contents; }
  .wolf-news.news-single .row > .col-md-4 { order: -1; padding-inline: 0; }
  .wolf-news.news-single .row .lead { order: -2; }
  .wolf-news.news-single .row .wolf-news-back { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .wolf-news.news-single :is(.news-text-wrap a, .wolf-news-back) { transition: none; }
}
