:root{
  --tsv-news-green:#269b38;
  --tsv-news-green-dark:#176d27;
  --tsv-news-black:#070b09;
  --tsv-news-light:#f5f7f5;
  --tsv-news-border:#dfe5df;
}

.tsv-news-active .entry-title,
.tsv-news-active .page-title,
.tsv-news-active .page-header,
.tsv-news-active .entry-header,
.tsv-news-active #fancy-header,
.tsv-news-active .fancy-header,
.tsv-news-active .page-title-wrapper,
.tsv-news-active .breadcrumbs,
.tsv-news-active .dt-breadcrumb-for-mobile{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

.tsv-news-active #main,
.tsv-news-active .site-content,
.tsv-news-active .content,
.tsv-news-active .content-area,
.tsv-news-active .entry-content,
.tsv-news-active .wf-wrap,
.tsv-news-active .wf-container-main,
.tsv-news-active .wf-container,
.tsv-news-active .page-content,
.tsv-news-active .page-wrapper{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

.tsv-news-active .entry-content{
  margin:0!important;
  padding:0!important;
}

.tsv-news-page{
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
  background:#fff;
  color:#111;
  font-family:Arial,Helvetica,sans-serif;
}

.tsv-news-page *{box-sizing:border-box}
.tsv-news-page img{display:block;max-width:100%}
.tsv-news-container{width:min(1040px,calc(100% - 40px));margin-inline:auto}

/* Header bewusst flacher als in der alten Version */
.tsv-news-hero{
  position:relative;
  min-height:330px;
  background-image:var(--tsv-news-hero);
  background-size:cover;
  background-position:center 48%;
  display:flex;
  align-items:flex-end;
}

.tsv-news-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,9,6,.91),rgba(3,9,6,.64) 48%,rgba(3,9,6,.25)),
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.36));
}

.tsv-news-hero__content{
  position:relative;
  z-index:1;
  padding-bottom:42px;
  color:#fff;
}

.tsv-news-kicker{
  display:inline-block;
  margin-bottom:11px;
  color:#65dd78;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.tsv-news-hero h1{
  margin:0 0 13px;
  color:#fff!important;
  font-size:clamp(42px,5vw,64px);
  line-height:1;
  letter-spacing:-.035em;
}

.tsv-news-hero p{
  max-width:720px;
  margin:0;
  color:#f0f4f1;
  font-size:18px;
  line-height:1.5;
}

.tsv-news-main{padding:34px 0 54px;background:#fff}

.tsv-news-filter{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:18px;
}

.tsv-news-filter a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 15px;
  border:1px solid #ccd5cd;
  border-radius:6px;
  color:#262b27!important;
  background:#fff;
  text-decoration:none!important;
  font-size:14px;
  font-weight:700;
}

.tsv-news-filter a:hover,
.tsv-news-filter a.is-active{
  border-color:var(--tsv-news-green);
  background:var(--tsv-news-green);
  color:#fff!important;
}

/* Aufmacher: kompakter, damit das Bild nicht die ganze Seite erschlägt */
.tsv-news-featured{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  overflow:hidden;
  margin-bottom:22px;
  border:1px solid var(--tsv-news-border);
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.tsv-news-featured__image{
  position:relative;
  height:205px;
  overflow:hidden;
}

.tsv-news-featured__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .35s ease;
}

.tsv-news-featured:hover .tsv-news-featured__image img{transform:scale(1.02)}

.tsv-news-featured__content{
  min-width:0;
  padding:22px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.tsv-news-featured time,
.tsv-news-card time{
  color:#677068;
  font-size:13px;
}

.tsv-news-featured h2{
  margin:10px 0 12px;
  font-size:clamp(23px,2.2vw,30px);
  line-height:1.13;
}

.tsv-news-featured h2 a,
.tsv-news-card h3 a{
  color:#121512!important;
  text-decoration:none!important;
}

.tsv-news-featured p{
  margin:0 0 18px;
  color:#4a514b;
  font-size:14px;
  line-height:1.5;
}

.tsv-news-button{
  align-self:flex-start;
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:11px 16px;
  border-radius:6px;
  background:var(--tsv-news-green);
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:800;
}

.tsv-news-button:hover{background:var(--tsv-news-green-dark)}

.tsv-news-category{
  position:absolute;
  left:12px;
  top:12px;
  z-index:2;
  padding:6px 9px;
  border-radius:4px;
  background:var(--tsv-news-green);
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* Drei kompakte Karten pro Reihe – Bild oben, Text darunter */
.tsv-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.tsv-news-card{
  overflow:hidden;
  min-width:0;
  border:1px solid var(--tsv-news-border);
  border-radius:9px;
  background:#fff;
  box-shadow:0 7px 20px rgba(0,0,0,.055);
  transition:transform .2s ease,box-shadow .2s ease;
}

.tsv-news-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.09);
}

.tsv-news-card__image{
  position:relative;
  height:112px;
  overflow:hidden;
  background:#eef1ee;
}

.tsv-news-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}

.tsv-news-card__content{
  padding:13px 14px 15px;
}

.tsv-news-card h3{
  margin:8px 0 9px;
  font-size:17px;
  line-height:1.18;
}

.tsv-news-card p{
  margin:0 0 13px;
  color:#535a54;
  font-size:13px;
  line-height:1.45;
}

.tsv-news-read{
  color:var(--tsv-news-green-dark)!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:800;
}

.tsv-news-empty{
  padding:42px;
  border-radius:10px;
  background:var(--tsv-news-light);
  text-align:center;
  font-size:18px;
}

.tsv-news-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:30px;
  flex-wrap:wrap;
}

.tsv-news-pagination a,
.tsv-news-pagination span{
  display:grid;
  place-items:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border:1px solid var(--tsv-news-border);
  border-radius:6px;
  color:#202520!important;
  text-decoration:none!important;
  font-weight:800;
}

.tsv-news-pagination .current,
.tsv-news-pagination a:hover{
  background:var(--tsv-news-green);
  border-color:var(--tsv-news-green);
  color:#fff!important;
}

.tsv-news-service{
  padding:34px 0;
  background:var(--tsv-news-light);
  border-top:1px solid #e5e9e5;
}

.tsv-news-service__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.tsv-news-service article{
  display:flex;
  gap:15px;
  padding:22px;
  border:1px solid var(--tsv-news-border);
  border-radius:9px;
  background:#fff;
}

.tsv-news-service__icon{
  display:grid;
  place-items:center;
  flex:0 0 46px;
  width:46px;
  height:46px;
  border:2px solid var(--tsv-news-green);
  border-radius:50%;
  color:var(--tsv-news-green);
  font-size:22px;
}

.tsv-news-service strong{display:block;margin-bottom:6px;font-size:19px}
.tsv-news-service p{margin:0 0 8px;color:#59605a;font-size:14px;line-height:1.45}
.tsv-news-service a{color:var(--tsv-news-green-dark)!important;text-decoration:none!important;font-size:14px;font-weight:800}

.tsv-news-footer{padding:26px 0;background:linear-gradient(135deg,#050807,#111713);color:#fff}
.tsv-news-footer__inner{display:flex;align-items:center;gap:16px}
.tsv-news-footer img{width:50px;height:62px;object-fit:contain}
.tsv-news-footer strong,.tsv-news-footer span{display:block}
.tsv-news-footer strong{font-size:18px}
.tsv-news-footer span{margin-top:4px;color:#d5dcd6;font-size:14px}
.tsv-news-footer__links{margin-left:auto;display:flex;gap:20px}
.tsv-news-footer__links a{color:#fff!important;text-decoration:none!important}

@media(max-width:900px){
  .tsv-news-featured{grid-template-columns:1fr}
  .tsv-news-featured__image{height:210px}
  .tsv-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tsv-news-service__grid{grid-template-columns:1fr}
}

@media(max-width:640px){
  .tsv-news-container{width:min(100% - 24px,1040px)}
  .tsv-news-hero{min-height:310px}
  .tsv-news-hero__content{padding-bottom:32px}
  .tsv-news-hero h1{font-size:42px}
  .tsv-news-hero p{font-size:16px}
  .tsv-news-main{padding-top:24px}
  .tsv-news-filter{overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}
  .tsv-news-filter a{white-space:nowrap}
  .tsv-news-featured__image{height:190px}
  .tsv-news-featured__content{padding:23px 20px}
  .tsv-news-grid{grid-template-columns:1fr}
  .tsv-news-card__image{height:145px}
  .tsv-news-footer__inner{align-items:flex-start;flex-wrap:wrap}
  .tsv-news-footer__links{width:100%;margin-left:0}
}


/* v1.0.5: kompaktere Bilder wie im freigegebenen Referenzlayout */
.tsv-news-featured__image{height:205px!important}
.tsv-news-featured__image img{object-fit:cover!important;object-position:center top!important}
.tsv-news-card__image{height:112px!important}
.tsv-news-card__image img{object-fit:cover!important;object-position:center top!important}
.tsv-news-card__content{min-height:190px;display:flex;flex-direction:column}
.tsv-news-card__content .tsv-news-read{margin-top:auto;align-self:flex-start}
@media(max-width:900px){
  .tsv-news-featured__image{height:205px!important}
  .tsv-news-card__image{height:125px!important}
}
@media(max-width:640px){
  .tsv-news-featured__image{height:180px!important}
  .tsv-news-card__image{height:150px!important}
  .tsv-news-card__content{min-height:0}
}


/* v1.0.6: feste Filter und kompakte Seitennavigation */
.tsv-news-pagination .dots{
  border-color:transparent;
  background:transparent;
  color:#687068;
  padding-inline:4px;
  min-width:auto;
}
.tsv-news-pagination .current{
  display:grid;
  place-items:center;
  background:var(--tsv-news-green);
  border-color:var(--tsv-news-green);
  color:#fff!important;
  font-weight:800;
  border-radius:6px;
}
.tsv-news-pagination .prev,
.tsv-news-pagination .next{
  width:auto;
  white-space:nowrap;
}


/* v1.0.7: noch kleinere Archivbilder und klarer Textauszug unter jedem Bild */
.tsv-news-grid{gap:14px!important}
.tsv-news-card{display:flex!important;flex-direction:column!important;height:100%!important}
.tsv-news-card__image{height:92px!important;max-height:92px!important;overflow:hidden!important;background:#eef1ee!important}
.tsv-news-card__image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;display:block!important}
.tsv-news-card__content{padding:12px 13px 14px!important;min-height:168px!important;display:flex!important;flex-direction:column!important}
.tsv-news-card h3{font-size:16px!important;line-height:1.2!important;margin:7px 0 8px!important}
.tsv-news-card p{display:block!important;margin:0 0 12px!important;font-size:13px!important;line-height:1.45!important;color:#4f5650!important}
.tsv-news-card .tsv-news-read{margin-top:auto!important;align-self:flex-start!important}
@media(max-width:900px){.tsv-news-card__image{height:105px!important;max-height:105px!important}.tsv-news-card__content{min-height:0!important}}
@media(max-width:640px){.tsv-news-card__image{height:128px!important;max-height:128px!important}.tsv-news-card__content{padding:12px 12px 14px!important}}
