/*
a.news-link {
    background:#f00; 
    color:#fff;
    padding: 10px 20px;
    border-radius: 12px;
    
}
*/
.newsList {
  container-name: news_content_container;
  container-type: inline-size;
}
a.news-link:hover  {
    color: red;
}

a.news-link:hover:after {
    transform: rotate(90deg);
    background-color: var(--semmel-red);
}


a.news-link {
    font-size: .8em;
    line-height: 1em;
    font-weight: 500;
    text-transform: uppercase;
    _padding: 5px;
    _border: solid 1px #000;
    _border-radius: 100em;
    position: relative;
    padding-right: calc(var(--button-size) * 1.0);
  }

a.news-link::after {
    content: '';
    width: calc(var(--button-size) * .5);
    height: calc(var(--button-size) * .5);
    background-repeat: no-repeat;
    background-position: left center;
    transition: all .3s ease;
    display: flex;
    background-color: black;
    mask-repeat: no-repeat;
    right: calc(var(--button-size) * 0.4);
    top: 0px;
    position: absolute;
    mask-image: url('data:image/svg+xml;charset=UTF-8,<svg id="pfeil-icon" class="pfeil" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><polygon display="inline" style="enable-background:accumulate; fill:white;" points="70.6,47.6 47.6,24.6 36.1,36.1 59.1,59.1 36.1,82.1 47.6,93.6 70.6,70.6 82.1,59.1"/></svg>');
}

.newsElement {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--lineColor);
    padding-bottom: 25px;
}

.newsElement.single {
    border-bottom: none;
}

.news-links {
    margin-top: 3vh;
    padding-top:3vh;
    border-top:1px solid var(--lineColor);
}

.newsTitel {
    _font-size: var(--titelSize);
    _font-size: var(--image_sub_text);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: var(--bottomGap);
  }

.newsContent {
    font-family: 'Work Sans', sans-serif;
    margin-top:3vh;
}

.news  {
    padding: 30px;
}

.newsImage img {
    width: 100%;
    max-width: 800px;
}
.blog_intro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap:2em;
}
.blog_intro h2 {
  font-size: var(--h2-headline-size);
  line-height:1.1em;
  margin:0;
}

@container news_content_container (min-width: 200px) {
  .blog_intro h2 {
    font-size: calc(var(--h2-headline-size)*.8);
  }
  .blog_intro {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@container news_content_container (min-width: 700px) {
  .blog_intro h2 {
      font-size: calc(var(--h2-headline-size));
    }  
  .blog_intro {
    grid-template-columns: 1fr 2fr;
  }
  
}


