/* NEWS */
.news-list { display: flex; flex-direction: column; gap: 5rem; }
.news-list .news-item:nth-child(even) {flex-direction: row-reverse;}
.news-list .news-item:nth-child(even) .news-text {text-align: right;}
.news-list .news-item:nth-child(even) .news-text h3 {text-align: right; margin-left:30%;}

.news-list h3 {margin:0 0 1rem 0; font-size:1.8em; max-width:70%; }
.news-list h3 a {color: #ffee00; text-decoration: 0; }
.news-item { display: flex; gap: 3rem; border-bottom: 1px dotted #eee; padding-bottom: 5rem; position: relative;}
.news-text { flex: 2; position: relative; padding-bottom:4rem;}
.news-img { flex: 1; transition: all 1s ease;}
.news-img:hover {transform: scale(1.1) rotate(5deg);}
.news-thumb { width: 100%; height: auto; border-radius: 6px; object-fit: cover; }
.news-meta { margin-top: .5rem; font-size: .85rem; color: #666; position: absolute; width:100%; bottom:5px; display: flex; justify-content: space-between; color:white;}
.news-list .news-item:nth-child(even) .news-meta {justify-content: flex-end !important;}
.news-meta a { background: #ffee00;
  color: #000;
  padding: .4rem .8rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s ease; }



.gradient-border {
  position: relative;
}

.gradient-border::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px; /* „Border“-Höhe */
  background: linear-gradient(
    to right,
    transparent,
    #ffee00,
    transparent
  );
}


.news-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffee00, transparent);
}

.news-item:last-child::after {display: none;}


/* ERGEBNISSE */
.blink_me { animation: blinker 2s linear infinite; }
        .blink_me_slow { animation: blinker 3s linear infinite; }
        @keyframes blinker { 50% { opacity:0; } }
        .lost { background:linear-gradient(135deg,rgba(255,98,25,1)0%,rgba(255,150,5,1)100%);border:1px solid red; }
        .even { background:linear-gradient(to bottom,rgba(252,245,186,1)0%,rgba(241,218,54,1)100%);border:1px solid yellow; }
        .win { background:linear-gradient(135deg,rgba(169,219,128,1)0%,rgba(150,197,111,1)100%);border:1px solid green; }
        .neutral { background:linear-gradient(to bottom,rgba(252,245,186,1)0%,rgba(241,218,54,1)100%);border:1px solid yellow; }


      .result_box {color:black;}


/* TABELLEN */
.nuliga-table-wrap { 
  border: 1px solid #ffee00; 
  border-radius: 6px; 
  overflow: hidden; 
  margin-bottom: 3rem; 
  
}


#tab3 h4 {margin:1rem 0;}
.table-header, 
.table-row { 
  display: grid; 
  grid-template-columns: 5% 10% 75% 10%; 
  align-items: top; 
  padding: .4rem .6rem; background-color: #2c2c2c;
}

.table-header { 
  background: #ffee00; 
  font-weight: bold; 
  color:black;
}

.table-row:nth-child(even) { 
  background: #000; 
}




.table-row.highlight { 
  background: rgba(255,255,255,0.8); 
  color:black;
}

/* Aufklapp-Inhalt */
.col_content {
  grid-column: span 4; /* über alle Spalten */
  padding: .4rem .6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease-out;
  
box-sizing: border-box;
padding:0;
display:flex;
justify-content: space-between;
}

.table-row:nth-child(odd) .col_content { background-color: unset !important;}

.col_content.active {padding:1em;}


/* SPIELPLAN */
.schedule-list { display: flex; flex-direction: column; gap: .5rem; }
.schedule-item { padding: .5rem .75rem; border: 1px solid #ddd; border-radius: 6px; }
.schedule-date { font-weight: bold; margin-bottom: .3rem; }
.schedule-teams { font-size: 1rem; }




.news-img {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.news-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  opacity: 0.9;
}

.news-overlay .match-teams {
  font-size: 1em;
  margin-bottom: 0.5em;
}

.news-overlay .match-score {
  font-size: 3em;
}

.news-overlay.win { background: rgba(0, 128, 0, 0.3); }   /* grün */
.news-overlay.lost { background: rgba(200, 0, 0, 0.3); }  /* rot */
.news-overlay.even { background: rgba(200, 200, 0, 0.3);} /* gelb */
