.ffo-bg{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:transparent !important
}
.ffo-bg::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-color:var(--ff-bg-color,
transparent);
  background-image:var(--ff-bg-image,
none);
  background-size:var(--ff-bg-size,
cover);
  background-position:var(--ff-bg-position,
center center);
  background-repeat:var(--ff-bg-repeat,
no-repeat)
}
.ffo-bg::before{
  z-index:1
}
.ffo-bg>.container{
  position:relative;
  z-index:2
}
.ffo-slant{
  overflow:visible
}
.ffo-slant::after,
.ffo-slant::before{
  top:calc(-1 * var(--ff-slant-overflow,
0px));
  bottom:calc(-1 * var(--ff-slant-overflow,
0px));
  inset-inline:0
}
.ffo-slant::after{
  clip-path:polygon(0 var(--ff-slant-top-left,
0px),
100% var(--ff-slant-top-right,
0px),
100% calc(100% - var(--ff-slant-bottom-right,
0px)),
0 calc(100% - var(--ff-slant-bottom-left,
0px)))
}
.ffo-slant::before{
  clip-path:polygon(0 var(--ff-slant-top-left,
0px),
100% var(--ff-slant-top-right,
0px),
100% calc(100% - var(--ff-slant-bottom-right,
0px)),
0 calc(100% - var(--ff-slant-bottom-left,
0px)))
}
.ffo-entry-hero__media img,
.entry-box .wp-post-image,
.entry-content img,
.ffo-archive-card__thumb img{
  cursor:zoom-in
}
.ffo-entry-hero.ffo-slant,
.page-shell.ffo-slant{
  position:relative;
  isolation:isolate;
  overflow:visible
}
.ffo-entry-hero.ffo-slant::after,
.page-shell.ffo-slant::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--ff-page-bg,
#f6f7f7);
  clip-path:polygon(0 var(--ff-slant-top-left,
0px),
100% var(--ff-slant-top-right,
0px),
100% calc(100% - var(--ff-slant-bottom-right,
0px)),
0 calc(100% - var(--ff-slant-bottom-left,
0px)))
}
.ffo-entry-hero.ffo-slant>*,
.page-shell.ffo-slant>*{
  position:relative;
  z-index:1
}
.ffo-entry-hero.ffo-slant::after{
  background:transparent
}
.page-shell.ffo-slant{
  padding-top:calc(var(--ff-slant-top-left,
0px) * .15 + var(--ff-slant-top-right,
0px) * .15);
  padding-bottom:calc(var(--ff-slant-bottom-left,
0px) * .15 + var(--ff-slant-bottom-right,
0px) * .15)
}
.ffo-entry-hero__media img{
  width:100%;
  height:auto;
  max-height:var(--ff-single-hero-height,
420px);
  object-fit:contain;
  object-position:center center;
  background:#111
}
@media (max-width:860px){
  .ffo-entry-hero__media{
  padding:0 10px
}
.ffo-entry-hero__media img{
  max-height:var(--ff-single-hero-height-mobile,
260px);
  object-fit:contain
}
}
.ffo-slant::before,
.ffo-slant::after{
  clip-path:none
}
.ffo-bg.ffo-slant::after{
  clip-path:polygon(0 var(--ff-slant-top-left,
0px),
100% var(--ff-slant-top-right,
0px),
100% calc(100% - var(--ff-slant-bottom-right,
0px)),
0 calc(100% - var(--ff-slant-bottom-left,
0px)))
}
.home .ffo-entry-hero.ffo-slant::after,
.home .page-shell.ffo-slant::after,
.home .ffo-entry-hero.ffo-slant::before,
.home .page-shell.ffo-slant::before{
  clip-path:none !important;
  background:transparent !important
}
.home .ffo-bg.ffo-slant::before{
  clip-path:none !important;
  background:transparent !important
}
.home .hero,
.home .ffo-entry-hero,
.home .section-hero,
.home .front-hero{
  background-color:transparent
}
.site-content,
.page-shell>.container,
.content-layout,
.content-wide{
  max-width:var(--ff-page-max-width) !important
}
.ffo-query-loop-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  gap:.5rem;
  width:max-content;
  max-width:100%;
  margin:-4.4rem 0 1.1rem auto;
  position:relative;
  z-index:3
}
.ffo-query-loop-toolbar__spacer{
  display:none
}
.ffo-query-years{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.35rem;
  flex-wrap:wrap;
  padding:0;
  margin-left:auto
}
.ffo-query-years__label{
  display:none
}
.ffo-query-year-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:.32rem .76rem;
  border-radius:999px;
  border:1px solid rgba(17,
24,
39,
.08);
  background:rgba(255,
255,
255,
.82);
  box-shadow:none;
  color:#4b5563;
  text-decoration:none;
  font-size:.78rem;
  font-weight:600;
  line-height:1;
  transition:background-color .18s ease,
border-color .18s ease,
color .18s ease,
transform .18s ease
}
.ffo-query-year-link:hover{
  border-color:rgba(17,
24,
39,
.14);
  background:rgba(255,
255,
255,
.96);
  color:#111827;
  transform:translateY(-1px)
}
.ffo-query-year-link.is-active{
  background:rgba(196,
0,
0,
.06);
  border-color:rgba(196,
0,
0,
.12);
  color:var(--ff-primary,
#c40000)
}
@media (max-width:860px){
  .ffo-query-loop-toolbar{
  display:block;
  width:auto;
  margin:.35rem 0 1rem
}
.ffo-query-years{
  justify-content:flex-start
}
}


/* Historienkarten: Bild immer an Akzentkante, Text immer daneben */
.ff-history-card .ff-history-content.ff-wrap-image{
  display:grid;
  align-items:start;
  gap:18px 24px;
}
.ff-history-card .ff-history-content.ff-wrap-image > .ff-history-title{
  grid-column:1 / -1;
  margin-bottom:0;
}
.ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure,
.ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure-large{
  float:none;
  width:100%;
  max-width:none;
  margin:0;
  align-self:start;
}
.ff-history-card .ff-history-content.ff-wrap-image > p{
  margin:0 0 12px;
}
.ff-history-card.ff-image-right .ff-history-content.ff-wrap-image{
  grid-template-columns:minmax(0,1.7fr) minmax(240px,30%);
}
.ff-history-card.ff-image-right .ff-history-content.ff-wrap-image > .ff-inline-figure,
.ff-history-card.ff-image-right .ff-history-content.ff-wrap-image > .ff-inline-figure-large{
  grid-column:2;
  grid-row:2;
}
.ff-history-card.ff-image-right .ff-history-content.ff-wrap-image > p{
  grid-column:1;
}
.ff-history-card.ff-image-left .ff-history-content.ff-wrap-image{
  grid-template-columns:minmax(240px,30%) minmax(0,1.7fr);
}
.ff-history-card.ff-image-left .ff-history-content.ff-wrap-image > .ff-inline-figure,
.ff-history-card.ff-image-left .ff-history-content.ff-wrap-image > .ff-inline-figure-large{
  grid-column:1;
  grid-row:2;
}
.ff-history-card.ff-image-left .ff-history-content.ff-wrap-image > p{
  grid-column:2;
}
@media (max-width:900px){
  .ff-history-card .ff-history-content.ff-wrap-image,
  .ff-history-card.ff-image-left .ff-history-content.ff-wrap-image,
  .ff-history-card.ff-image-right .ff-history-content.ff-wrap-image{
    grid-template-columns:1fr;
    gap:16px;
  }
  .ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure,
  .ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure-large,
  .ff-history-card.ff-image-left .ff-history-content.ff-wrap-image > p,
  .ff-history-card.ff-image-right .ff-history-content.ff-wrap-image > p{
    grid-column:1;
  }
  .ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure,
  .ff-history-card .ff-history-content.ff-wrap-image > .ff-inline-figure-large{
    grid-row:auto;
    max-width:100%;
  }
}
