/** ***************************
	Haeder Sticky
******************************/
.sci-header-top-button a {
    min-height: 25px;
}
.sci-header-top-button a:hover {
    color: var(--wp--preset--color--palette-color-2, #0b5f33) !important;
    background-color: #fff !important;
}
.sci-header-logo img {
    background: #fff;
    border-radius: 999px;
    /*margin: 0 0 -30px !important;*/
    transform: translateY(50px);
}

.sci-logo-text-hero {
    margin: 0;
    transform: translateY(12%);
}
.sci-logo-haeder {
    background: #fff;
    border-radius: 999px;
    /*margin: 0 0 -30px !important;*/
    transform: translateY(30px);
}
[data-sticky="shrink"] .sci-logo-haeder .site-logo-container {
    height: 100px;
}

[data-sticky*="yes"] .sci-logo-haeder {
    transform: none;
}

#header [data-row="top"] [data-items] {
    justify-content: flex-end !important;
}
#header [data-row="top"] .ct-button {
    min-height: 25px;
}

#header #modal-2 {
  padding: 2rem;
}

.sci-niko-haeder .wp-block-navigation__responsive-container-open svg {
    height: 40px;
    width: 40px;
}



/** ***************************
	Footer
******************************/

footer#footer {
  background-color: var(--wp--preset--color--palette-color-2);
}
footer .wp-block-social-links {
    gap: 20px;
    justify-content: flex-end;
}
@media screen and (max-width: 782px) {
    footer .wp-block-social-links {
        gap: 20px;
        justify-content: flex-start;
    }

    footer .wp-container-core-columns-is-layout-b0bab6eb,
    footer .wp-elements-5de054b933053841a44a96ad12ae6c71 {
        text-align: left !important;
    }

    :root :where(footer p.has-background,footer .wp-block-group.has-background) {
        padding: 0;
    }
}

.sci-overflow-hidden {
    overflow: hidden;
}
footer a {
  text-decoration: none;
  color: #fff;
}
footer a:hover {
  color: var(--theme-palette-color-1, #30955E);
}
footer .sci-niko-footer-link {
  color: #fff;
}
footer .sci-niko-footer-link a:hover {
  color: var(--theme-palette-color-5, #BF0426);
}

footer .sci-niko-footer-end { margin-top: -100px; pointer-events: none;}

@media screen and (max-width: 800px) {
  footer .sci-niko-footer-end { margin-top: -40px; }
}


/** ***************************
	Haeder Background
******************************/
#net-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    z-index: -1;
    overflow: hidden;
}
canvas#network-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.sci-akzent-color,
.sci-akzent-color a {
    color: #30955E !important;
}


/** ***************************
	Number bei Kilometer
******************************/

/* Layout */
.km-hero { display:inline-flex; align-items:baseline; gap:.35em;}
.km-number { font-size:150px; line-height:1; font-weight:bold; display:inline-block;}

/* Sichtfenster nur für die Zahl */
.km-number { height:1em; overflow:hidden; }

/* Stapel animieren */
.km-number .stack { display:inline-flex; flex-direction:column; padding: 10px 0;}
.km-number .item  { height:1em; display:flex; align-items:flex-end; justify-content: flex-end;}

.km-number .stack {
  animation: km-rotate 10s cubic-bezier(.22,.61,.36,1) infinite;
}

/* 3 Werte => 0% 33.333% 66.666% 100% */
@keyframes km-rotate {
  0%, 20%  { transform: translateY(-10px); }
  25%, 45% { transform: translateY(-160px); }
  50%, 70% { transform: translateY(-320px); }
  75%, 95% { transform: translateY(-160px); }
  100%     { transform: translateY(-10px); }
}

/* Optional: sanfter Schatten/Fade oben+unten */
.km-number { position:relative; }
.km-number::before, .km-number::after {
  content:""; position:absolute; left:0; right:0; height:.2em; pointer-events:none;
  /*background:linear-gradient(to bottom, rgba(0,0,0,.15), transparent);*/
}
.km-number::after { top:auto; bottom:0; transform:scaleY(-1); }

/* Reduce motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .km-number .stack { animation:none; }
}

@media (max-width: 768px){
  .km-number .item  { align-items:center; justify-content: center;}
}

.sci-sponsoren {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sci-sponsoren-image {
    aspect-ratio: 1 / 1;
    min-width: 11rem;
    max-width: 11rem !important;
    
}
.sci-sponsoren-image .kt-inside-inner-col {
  min-height: 100%;
  align-items: center !important;
  padding: 30px;
}

.sci-sponsoren-image-small {
    aspect-ratio: 1 / 1;
    min-width: 8rem;
    max-width: 8rem !important;
    border: 1px solid rgba(0,0,0,.2);
}
.sci-sponsoren-image-small .kt-inside-inner-col {
    min-height: 100%;
    align-items: center !important;
    padding: 20px;
}

.sci-sponsoren-text {
    aspect-ratio: 3 / 1;
    min-width: 24rem;
    max-width: 24rem !important;
}
.sci-sponsoren-text .kt-inside-inner-col {
    min-height: 100%;
    align-items: center !important;
    padding: 20px;
}

@media (max-width: 768px){
    .sci-sponsoren {
        flex-wrap: wrap;
    }

    .sci-sponsoren-image {
        min-width: 45% !important;
        max-width: 45% !important;
    }
}


/** ***************************
   Abteilungs Toggle
******************************/
/*
.sci-abteilungen-nav{
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 9999;
}
@media (max-width: 768px){
  .sci-abteilungen-nav{ right: 10px; gap: 8px; }
}

/* Item: nur Icon-breit, alles fährt nach LINKS überlappt aus *//*
.sci-abt-item{
  --icon: 38px;
  --pad: 10px;
  --gap: 10px;
  --expand: 200px;               
  --pill-radius: 9999px;
  
  --ch-unit: 0.63em;             
  --label-w: calc(var(--label-ch, 10) * var(--ch-unit));

  --icon-color: var(--wp--preset--color--palette-color-1);
  --icon-color-active: #000;

  position: relative;
  width: var(--icon);
  overflow: visible;
}

/* Unsichtbare Hover-Brücke LINKS vom Icon (ersetzt padding-left) */ /*
.sci-abt-item.has-children::after{
  content:"";
  position:absolute;
  right: 100%;                   
  top: 0;
  height: 100%;
  width: 12px;                   
}

/* Link */ /*
.sci-abt-link{
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
  width: var(--icon);            
  justify-content: flex-start;
}

/* Weißer KREIS hinter dem Icon (immer) */ /*
.sci-abt-link::before{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--icon);
  height: var(--icon);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  z-index: 0;
}

/* Ausfahrender PILL links – Breite passend zum Label */ /*
.sci-abt-link::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
  width: calc(var(--icon) + var(--gap) + var(--pad) + min(var(--label-w), var(--expand)));
  height: var(--icon);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .28s ease;
  will-change: transform;
  z-index: 0;
}

/* Icon immer oben */ /*
.sci-abt-icon{
  width: var(--icon);
  height: var(--icon);
  display: inline-grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  color: var(--icon-color);
}
.sci-abt-icon img,
.sci-abt-icon svg{
  width: calc(var(--icon) * 1);
  height: calc(var(--icon) * 1);
  display: block;
}

/* 3) Inline-SVG auf currentColor „ummappen“ */ /*
.sci-abt-icon svg { display:block; }
.sci-abt-icon svg [fill]:not([fill="none"]),
.sci-abt-icon svg path,
.sci-abt-icon svg rect,
.sci-abt-icon svg circle,
.sci-abt-icon svg polygon,
.sci-abt-icon svg ellipse {
  fill: currentColor !important;
}
.sci-abt-icon svg [stroke]:not([stroke="none"]),
.sci-abt-icon svg line,
.sci-abt-icon svg polyline {
  stroke: currentColor !important;
}

.sci-abt-item.is-active .sci-abt-icon { color: var(--icon-color-active); }

/* Label links vom Icon; ohne fixe Breite */ /*
.sci-abt-label{
  position: absolute;
  right: calc(var(--icon) + var(--gap));
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding-right: var(--pad);
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease, max-width .28s ease;
  font-weight: 700;
  font-size: .8em;
  z-index: 1;
}

/* Hover: nur dieses Item fährt aus */ /*
.sci-abt-item:hover > .sci-abt-link::after,
.sci-abt-item:focus-within > .sci-abt-link::after{
  transform: translateY(-50%) scaleX(1);
}
.sci-abt-item:hover > .sci-abt-link .sci-abt-label,
.sci-abt-item:focus-within > .sci-abt-link .sci-abt-label{
  max-width: min(var(--label-w), var(--expand));
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Submenü: links (Overlay), nur bei Hover/Focus */ /*
.sci-abt-sub{
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: inherit;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  display: none;
  min-width: 160px;
  z-index: 2;
  font-weight: 700;
  font-size: .8em;
}
.sci-abt-sub a{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.sci-abt-sub a:hover,
.sci-abt-sub a:focus-visible{ background: rgba(0,0,0,.06); }

.sci-abt-item.has-children:hover > .sci-abt-sub,
.sci-abt-item.has-children:focus-within > .sci-abt-sub{
  display: block;
}

/* Tastaturfokus */ /*
.sci-abt-link:focus-visible,
.sci-abt-sub a:focus-visible{
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Bewegungen reduzieren */ /*
@media (prefers-reduced-motion: reduce){
  .sci-abt-link::after, .sci-abt-label{ transition: none; }
}

/* Active: Kreis betonen, aber Hover darf den Pill zeigen (für Label-Hintergrund) */ /*
.sci-abt-item.is-active .sci-abt-link::after,
.sci-abt-item.is-active > .sci-abt-link::before{
  background: #EFEDEA;
  /*box-shadow: 0 0 0 2px #EFEDEA, 0 2px 10px rgba(0,0,0,.08);*/ /*
}

.sci-abt-item.is-active svg [fill="#EFEDEA"]{
  color: #EFEDEA;
  /*box-shadow: 0 0 0 2px #EFEDEA, 0 2px 10px rgba(0,0,0,.08);*/ /*
}

.sci-abt-item.is-active .sci-abt-icon{ filter: saturate(1.05) contrast(1.03); }

/* ===============================
   Fussball-Spezial
   =============================== */ /*

/* Label weg; nur Submenü bei Hover */ /*
.sci-abt--fussball .sci-abt-label{ display: none !important; }

/* Fussball-Submenü: wie Standard (Overlay) */ /*
.sci-abt--fussball.has-children:hover > .sci-abt-sub,
.sci-abt--fussball.has-children:focus-within > .sci-abt-sub{
  display: block;
}

/* Optional: Fussball etwas kürzer */ /*
.sci-abt--leichtathletik .sci-abt-link::after{ width: 160px; }
.sci-abt--tischtennis .sci-abt-link::after{ width: 150px; }
.sci-abt--reha .sci-abt-link::after{ width: 235px; }
/* Beispiel-Feintuning: stärkere Shadow für Leichtathletik */
/* .sci-abt--leichtathletik .sci-abt-link::after{ box-shadow: 0 2px 14px rgba(0,0,0,.18); } */ /*

*/




/** ***************************
   Abteilungs Toggle (clean)
******************************/

/*
.sci-abteilungen-nav{
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
@media (max-width: 768px){
  .sci-abteilungen-nav{ right: 10px; gap: 8px; }
}

.sci-abt-item{
    position: relative;
    width: calc(var(--icon) + var(--gap) + var(--pad) + var(--expand));
}

.sci-abt-link{
  --icon: 56px;
  --pad: 10px;
  --gap: 10px;
  --pill-radius: 9999px;
  --expand: 200px;
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
  width: 100%;
  justify-content: flex-start;
}

.sci-abt-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--icon);
  height: var(--icon);
  background: #fff;
  border-radius: var(--pill-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: width .28s ease, border-radius .28s ease;
  z-index: 0;
}

.sci-abt-icon {
  width: var(--icon);
  height: var(--icon);
  display: inline-grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
}
.sci-abt-icon img,
.sci-abt-icon svg{
  width: calc(var(--icon) * 0.6);
  height: calc(var(--icon) * 0.6);
  display: block;
}

.sci-abt-label{
  position: relative;
  z-index: 1;
  margin-left: var(--gap);
  padding-right: var(--pad);
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .18s ease, transform .18s ease, max-width .28s ease;
  font-weight: 600;
}

.sci-abt-item:hover > .sci-abt-link::before,
.sci-abt-item:focus-within > .sci-abt-link::before {
  width: 100%;
  border-radius: 28px;
}
.sci-abt-item:hover > .sci-abt-link .sci-abt-label,
.sci-abt-item:focus-within > .sci-abt-link .sci-abt-label{
  max-width: 220px;
  opacity: 1;
  transform: translateX(0);
}
.sci-abt-sub{
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: inherit;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  display: none;
  min-width: 220px;
  z-index: 1;
}
.sci-abt-sub a{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.sci-abt-sub a:hover,
.sci-abt-sub a:focus-visible{ background: rgba(0,0,0,.06); }

.sci-abt-item.has-children:hover > .sci-abt-sub,
.sci-abt-item.has-children:focus-within > .sci-abt-sub{
  display: block;
}
.sci-abt-item.has-children{ padding-right: 8px; }
.sci-abt-link:focus-visible,
.sci-abt-sub a:focus-visible{
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  .sci-abt-link::before,
  .sci-abt-label{ transition: none; }
}
.sci-abt-item.is-active > .sci-abt-link::before{
  width: var(--icon);
  border-radius: var(--pill-radius);
  background: #EFEDEA;
  box-shadow: 0 0 0 2px #EFEDEA, 0 2px 10px rgba(0,0,0,.08);
}

.sci-abt-item.is-active > .sci-abt-link .sci-abt-label{
}

.sci-abt-item.is-active .sci-abt-icon{ filter: saturate(1.05) contrast(1.03); }


.sci-abt-item.is-active:hover > .sci-abt-link::before,
.sci-abt-item.is-active:focus-within > .sci-abt-link::before{
  width: var(--icon);
  border-radius: var(--pill-radius);
}
  */





/** ***************************
	NEWS / INFOS
******************************/

/* Basisklasse – per CSS-Variablen steuerbar */
.sci-overlay{
  /* Defaults */
  --sci-img: none;                                 /* z.B. url('/bild.jpg') */
  --sci-angle: 180deg;
  --sci-from: rgba(8, 87, 45, .43);                /* Startfarbe (transparent möglich) */
  --sci-to:   rgba(0, 0, 0,  .53);                 /* Endfarbe  (transparent möglich) */
  --sci-mode: overlay;                             /* overlay | multiply | soft-light ... */

  background-image:
    linear-gradient(var(--sci-angle), var(--sci-from), var(--sci-to)),
    var(--sci-img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: var(--sci-mode);
  border-radius: inherit;                          /* übernimmt Radius vom Eltern-Element */
}

/* Beispiel-Modifier (optional) */
.sci-overlay--multiply{ --sci-mode: multiply; }
.sci-overlay--soft   { --sci-mode: soft-light; }


/* Auf Elementen, die bereits ein Background-Image haben */
.sci-has-overlay{ position: relative; overflow: hidden; }
.sci-has-overlay::before{
  content:"";
  position: absolute; inset: 0;
  pointer-events: none;
  /* Variablen wie oben */
  --sci-angle: 180deg;
  --sci-from: rgba(8,87,45,.43);
  --sci-to:   rgba(0,0,0,.53);
  background: linear-gradient(var(--sci-angle), var(--sci-from), var(--sci-to));
  /* Entweder klassisch (ohne Blending) */
  opacity: 1;
  /* oder Blend auf das darunterliegende Bild: */
  /* mix-blend-mode: overlay; opacity: 1; */
  border-radius: inherit;
  z-index: 1;
}
.sci-has-overlay-over{
  z-index: 2;
}

.sci-button:hover {
    transform: translateY(-3px);
}
.sci-button a {
    box-shadow: 5px 5px 0px var(--wp--preset--color--palette-color-1);
}
.sci-button:hover a {
    color: var(--wp--preset--color--palette-color-1) !important;
}

.sci-niko-button:hover {
    transform: translateY(-3px);
}
.sci-niko-button a {
    border-color: var(--wp--preset--color--palette-color-5);
    box-shadow: 5px 5px 0px var(--wp--preset--color--palette-color-5);
}
.sci-niko-button:hover a {
    border-color: var(--wp--preset--color--palette-color-5);
    color: var(--wp--preset--color--palette-color-5) !important;
    background-color: #fff;
}

/*
#header [data-row="middle"] [data-items] {
    justify-content: space-between !important;
}*/

/*
header#header {
    margin-top: 30px;
    background-color: #fff;
}*/




/* ===== Archiv/Posts-Grid ===== */
.sci-archive {
    max-width: 1290px;
    margin: 50px auto;
}
.posts-grid{
  --gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--gap);
}
@media (max-width: 1024px){
  .posts-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .posts-grid{ grid-template-columns: 1fr; }
}

.sci-archive  select {
    border-color: var(--wp--preset--color--palette-color-1);
}

/* ===== Karte ===== */
.post-card{
  --radius: 16px;
  --line: rgba(0,0,0,.08);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Thumbnail */
.post-card .post-thumb{
  display: block;
  aspect-ratio: 16 / 9;         /* schöner Standard */
  background: #f5f5f5;
  overflow: hidden;
}
.post-card .post-thumb img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.post-card:hover .post-thumb img{
  transform: scale(1.04);
}

/* Body (wir geben den Elementen Padding, da kein Wrapper existiert) */
.post-card .post-meta,
.post-card .post-title,
.post-card .post-excerpt{
  padding: 12px 16px 0;
}
.post-card .post-excerpt{ padding-bottom: 16px; }

/* Meta-Zeile */
.post-card .post-meta{
  font-size: .9rem;
  color: #555;
  display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap;
}
.post-card .post-meta time{ white-space: nowrap; }
.post-card .post-meta .dept{ font-weight: 700; letter-spacing: .02em; }

/* Titel */
.post-card .post-title{
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}
.post-card .post-title a{
  color: var(--wp--preset--color--palette-color-2, #0b5f33);
  text-decoration: none;
}
.post-card .post-title a:hover{
  text-decoration: underline;
}

/* Auszug (1–3 Zeilen, sauber gekappt) */
.post-card .post-excerpt{
  margin-top: 6px;
  color: #333;
}
.post-card .post-excerpt p{
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Archivkopf & Pagination (optional hübsch) ===== */
.archive-header{ margin-bottom: 1rem; }
.archive-title{
  margin: 0 0 .25rem;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
  color: var(--wp--preset--color--palette-color-2, #0b5f33);
}

.navigation.pagination{
  display: flex; justify-content: center; margin-top: 20px;
}
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; margin: 0 4px; padding: 0 10px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 8px; text-decoration: none;
}
.navigation.pagination .nav-links .current{
  background: var(--wp--preset--color--palette-color-1, #30955E);
  color: #fff; border-color: transparent;
}
.navigation.pagination .nav-links a:hover{
  background: #f6f6f6;
}

/* Tastaturfokus */
.post-card a:focus-visible{
  outline: 2px solid var(--wp--preset--color--palette-color-1, #30955E);
  outline-offset: 2px;
}



/* ===== Single Layout ===== */
.sci-single {
    max-width: 1290px;
    margin: 50px auto;
    padding-block: 12px 24px;
}

.sci-single__grid{
  display: grid;
  grid-template-columns: 1.1fr 1.6fr; /* Bild : Content */
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 1300px){
  .sci-single { max-width: 90%; }
}
@media (max-width: 980px){
  .sci-single__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 1300px) {
    .sci-archive {
        max-width: 90%;
    }
}

.sci-single__media .media{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f3f3;
}
.sci-single__media .media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;              /* konsistente Höhe */
  object-fit: cover;
  transition: transform .45s ease;
}
.sci-single__media .media:hover img{ transform: scale(1.02); }

/* Dept-Badge unter dem Bild */
.dept-badge{
  margin-top: 10px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: .5rem;
  background: var(--wp--preset--color--palette-color-1, #30955E);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .075em;
}

/* rechte Spalte */
.sci-single__content .meta{
  color:#666; font-size:.95rem; margin-bottom: 6px;
  display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; font-weight:600;
}
.sci-single__content .meta .dept{ font-weight:300; text-transform: uppercase; letter-spacing: .075em; opacity: .85;}
.sci-single__content .title{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  color: var(--wp--preset--color--palette-color-2, #0b5f33);
}
.sci-single__content .content{
  line-height: 1.7;
}
.sci-single__content .content img{
  height:auto; max-width:100%; border-radius:14px;
}

.sci-single__content table,
.sci-single__content th,
.sci-single__content td {
  word-break: break-word;
  border-color: #ebebeb;
}

/* Vor/Zurück */
.sci-post-nav{ display:flex; justify-content:space-between; gap:16px; margin-bottom: 28px; font-size: 12px; font-weight: 600;}
.sci-post-nav a{
  display: inline-block;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.1);
  border-radius:10px;
  padding:4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  vertical-align: bottom;
}
.sci-post-nav a:hover{ background:#f6f6f6; }

/* < 500px: sehr kurz */
@media (max-width: 499px) {
  .sci-post-nav .prev a,
  .sci-post-nav .next a {
    max-width: 140px;           /* anpassen nach Geschmack */
  }
}

/* 500–999px: mittel lang */
@media (min-width: 500px) and (max-width: 749px) {
  .sci-post-nav .prev a,
  .sci-post-nav .next a {
    max-width: 200px;
  }
}

/* 500–999px: mittel lang */
@media (min-width: 750px) and (max-width: 999px) {
  .sci-post-nav .prev a,
  .sci-post-nav .next a {
    max-width: 320px;
  }
}

/* >= 1000px: länger, aber weiterhin ellipsis */
@media (min-width: 1000px) {
  .sci-post-nav .prev a,
  .sci-post-nav .next a {
    max-width: 560px;
  }
}



.border-style-dot {
    display: flex;
    background: #fff;
    border-style: dotted;
    border-width: 2px;
    border-color: var(--wp--preset--color--palette-color-5);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 1.5rem;
}

.border-style-dot:hover { filter: brightness(0.98); }


#sci-niko-gallery-slide #splide01-list,
#sci-niko-gallery-slide #splide01-list ul,
#sci-niko-gallery-slide #splide01-list li,
#sci-niko-gallery-slide #splide01-list li img {
    overflow-y: visible;
}
#sci-niko-gallery-slide #splide01-track {
    overflow: visible;
}
#sci-niko-gallery-slide #splide01-list li {
    border: 3px solid var(--wp--preset--color--palette-color-5);
    background-color: #fff;
}
#sci-niko-gallery-slide #splide01-list li img {
    aspect-ratio: 4 / 5;
}
#sci-niko-gallery-slide #splide01-list li:hover img {
    transform: scale(1.2);
}
#sci-niko-gallery-slide #splide01-list li:nth-child(odd) {
    transform:translateY(0);
}
#sci-niko-gallery-slide #splide01-list li:nth-child(even) {
    transform:translateY(30px);
}

.sci-max-width-600 {max-width: 600px;}
@media (max-width: 600px){
  .sci-max-width-600 { max-width: 100%; }
}
.sci-max-width-650 {max-width: 650px;}
@media (max-width: 650px){
  .sci-max-width-650 { max-width: 100%; }
}
.sci-max-width-700 {max-width: 700px;}
@media (max-width: 700px){
  .sci-max-width-700 { max-width: 100%; }
}
.sci-max-width-750 {max-width: 750px;}
@media (max-width: 730px){
  .sci-max-width-750 { max-width: 100%; }
}

.sci-max-width-60 { max-width: 60px; }
@media (max-width: 767px){
  .sci-max-width-60 { max-width: 40px; }
}

.sci-niko-link a {
  color: var(--theme-palette-color-5, #BF0426);
}

.sci-niko-title-font {
  color: var(--theme-palette-color-5, #BF0426);
  text-align: left;
  font-size: 7vw;
  font-weight: 600;
  font-family: Teko;
  text-transform: uppercase;
  transform: skewX(-10deg) scaleY(1.3) translateY(.3em);
  transform-origin: left bottom;
  line-height: .7em;
  margin-block-start: 2vw !important;
  margin-block-end: 2vw !important;
  /*letter-spacing: -0.05em;*/
}
.sci-niko-title-font-center {
  color: var(--theme-palette-color-5, #BF0426);
  text-align: center;
  font-size: 7vw;
  font-weight: 600;
  font-family: Teko;
  text-transform: uppercase;
  transform: skewX(-10deg) scaleY(1.3) translateY(.3em);
  transform-origin: left bottom;
  line-height: .7em;
  margin-block-start: 2vw !important;
  margin-block-end: 2vw !important;
  /*letter-spacing: -0.05em;*/
}

@media (max-width: 782px) {
  .sci-niko-title-font {
    font-size: 21vw;
  }
  .sci-niko-title-font-center {
    font-size: 14vw;
    line-height: 1.2em;
  }
}


/** ***************************
	Alte content settings
******************************/
.polaroid {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid #dadada;
    padding: 5px;
    float: left;
    margin: 5px 5px;
    text-align: center;
    box-shadow: 1px 1px 20px #c0c0c0;
    font-size: 10px;
}
.content .polaroid img {
  border-radius: 0px;
  width: 1fr;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content .polaroid span {
  display: none;
}

article .content .polaroid + p {
  display: none;
}

article .content .match {
  background: white;
  margin: 0px 0 0px 0;
  padding: 0px;
}

article .content .match table {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

article .content .match tr {
  padding: 0;
  margin: 0;
  line-height: 35px;
}

article .content .match th,
article .content .match td {
    word-break: break-word;
    border: none;
    border-color: #ebebeb;
    padding: 0;
}

article .content .match th.home,
article .content .match th.guest,
article .content .match td.home,
article .content .match td.guest {
  border-right: 1px solid #ebebeb;
  text-align: left;
  width: 45%;
  background: #fafafa;
  white-space: nowrap;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

article .content .match th.home,
article .content .match th.guest,
article .content .match td.home,
article .content .match td.guest {
  border-right: 1px solid #ebebeb;
  text-align: left;
  width: 45%;
  background: #fafafa;
  white-space: nowrap;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

article .content .match td.home,
article .content .match td.guest,
article .content .match td.score {
  font-weight: 700;
  font-size: 18px;
  padding: 0px 15px 0px 5px;
  line-height: 1.2em;
}

article .content .match th {
  padding-top: 5px;
  border-top: 1px solid #ebebeb;
}
article .content .match th {
  margin: 0px;
  padding: 5px 15px 0px 5px;
  border: 0;
  background: transparent;
  font-size: 10px;
  line-height: 1em;
  font-weight: 400;
  color: #aaa;
  text-transform: uppercase;
}

article .content .match td.date {
  font-size: 11px;
  font-weight: normal;
  border-top: 1px solid #ebebeb;
  color: #bbb;
}

@media (max-width: 782px) {
  article .content .match th { display: none; }
  article .content .match tr { display: flex; flex-direction: column; width: 100%;}
  article .content .match tr td { width: 100%; justify-content: space-between; }
  
  article .content .match td.home,
  article .content .match td.guest,
  article .content .match td.score {
    width: 100%;
    text-align: right;
    align-items: center;
    padding: 5px;
    font-size: 15px;
  }

  article .content .match table { position: relative; }

  article .content .match td.home:before,
  article .content .match td.guest:before,
  article .content .match td.score:before {
    position: absolute;
    left: 0;
    font-weight: 400;
    font-size: 10px;
    padding: 0px 15px 0px 5px;
    line-height: 15px;
    text-align: left;
  }
  article .content .match td.home:before { content: 'Heimmannschaft'; }
  article .content .match td.guest:before { content: 'Gastmannschaft'; }
  article .content .match td.score:before { content: 'Ergebnis'; }
}


.page-id-3622 header { display: none; }
.page-id-3622 footer { display: none; }