.news-filterbar{
  display:flex;
  flex-wrap:wrap;
  gap: 0 1em;
  align-items:center;
  font-size:inherit;
}
   

.news-filtergroup {
  display:flex;
  align-items:center;
  gap:.0;
  flex-wrap:wrap;
  margin-block-start: 0;
}

.news-filterlabel{
  color:#fff;
  font-weight:600;
  margin-right:6px;
}

.news-filterbtn {
  appearance:none;
  border:0;
  background:transparent;
  cursor:pointer;
  color:rgba(255,255,255,.35);
  font-weight:500;
  padding:0 10px;
  line-height: 3em;
  font-size:inherit;
  font-family:inherit;
}

.news-filterbtn:hover{
  color:rgba(255,255,255,.7);
}

.news-filterbtn.is-active{
  color:#fff;
}

.news-reset{
  margin-left:8px;
  border:0;
  cursor:pointer;
  font-weight:400;
  padding:0;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size: 1.5em;
  font-family: inherit;
  line-height: 1.25em;
  width: 1.25em;
}

.news-reset:hover{
  background:rgba(255,255,255,.28);
}

.news-index.is-loading .news-results{
  opacity:.55;
  pointer-events:none;
}

.wp-block-post-template {
    box-sizing: border-box;
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
}

/* Grid */
.news-grid{
      grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--50);
     
}

@media (max-width: 1024px){
  .news-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .news-grid{ grid-template-columns: 100%; }
}

.news-results {
  padding-top: var(--wp--preset--spacing--50);
  padding-bottom: var(--wp--preset--spacing--50);
}

.news-card{
  border-radius:22px;
}

.news-cardlink{
  display:block;
  color:inherit;
  text-decoration:none;
}

.news-thumb{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  aspect-ratio: 16 / 9;
  background:#eee;
}

.news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.news-thumb--placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, #eee, #f6f6f6);
}

.news-badges{
  position:absolute;
  top:12px;
  right:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.news-badge{
  background:#c8f08a;
  color:#111;
  
  font-size:14px;
  /* padding:8px 12px;
  border-radius:999px;*/

  border:0 none;
    font-weight:600;
    text-decoration:none;
    padding:.35em .8em;
    border-radius:12px;

    min-width: 7em;
    display: inline-block;
    line-height: unset;
    text-align: center;
}

.news-meta{
  display:grid;
  grid-template-columns: 1fr;
  display:flex;
  flex-direction:column;
  gap:.5em;
  margin-top:16px;
  align-items:start;
}

.news-date{
  font-weight:500;
  font-size:0.75em;
}

.news-title{
  margin:0;
  font-size:24px;
  line-height:1.1;
  font-weight:500;
}

/* Pagination */
.news-pagination{
  display:flex;
  gap:10px;
  margin-top:26px;
  flex-wrap:wrap;
}

.news-pagebtn{
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  cursor:pointer;
  padding:8px 12px;
  border-radius:10px;
  font-weight:700;
}

.news-pagebtn.is-current{
  border-color: rgba(0,0,0,.55);
}

@media screen and (max-width: 480px){
  .news-filterbtn{
    line-height:2.4em;
  }
  .news-filterbar {
    font-size:12px;
    padding:10px 0;
    margin:0 -10px;
  }

  .news-filtergroup {
    margin:0 -10px
  }

  .news-filterlabel {padding: 0 0 0 10px;}
}