
/****************************************
termIJn-wp-events

css/style.css

main style sheet

v 0.8.8
2026-02-07 SKruĲ

Copyright (C) 2025-2026 SKruĲ / skruij@kruijer.io
see LICENSE.txt
****************************************/

.programmlink {
	font-size: 1.3em;
	font-weight: normal;
	padding-top: 20px;
	padding-bottom: 20px;
}

.programmlink a {
	text-decoration: none;
}

.programmtitle {
	font-size: 32px;
	font-weight: 700;
	line-height; 1.5;
	padding-bottom: 20px;
	color: #0d8ed9;
}

@media screen and (max-width: 719px) {
  .programmtitle {
    text-align: center;
 }
}

/* Der Hauptcontainer für das Programm-Grid */
.meg-grid-container {
    display: grid;
    gap: 20px; /* Abstand zwischen den Boxen */
    width: 100%;
    max-width: 1366px; /* Maximale Breite des gesamten Grids */
    margin: 0 auto; /* Zentrierung */
    padding: 20px 0;
}

/* Standardeinstellung für große Bildschirme (Desktop): 3 Spalten */
.meg-grid-container {
    grid-template-columns: repeat(3, 1fr);
}

/* Die einzelne Box */
.info-box {
    width: 400px;
    max-width: 90%;
    height: 200px;
    border: 2px solid white;
    border-radius: 10px;
    

    background-color: transparent; /* Keine Füllfarbe */
    position: relative; /* Wichtig für die Positionierung der inneren Elemente */
    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */
    
    /* Definition des 3-spaltigen Rasters */
    display: grid;
    grid-template-columns: 50px 100px 250px; /* Spaltenbreiten */
    grid-template-rows: 150px; /* Definiert die Höhe des oberen Bereichs */

}


/* Container für das Logo in der linken Spalte */
.logo-container {
    grid-column: 1 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
 
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
}

/* Container für den Text in der mittleren Spalte */
.text-container {
    grid-column: 2 / 3;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    line-height: 1.4;
}

.text-container p {
    margin: 0;
}

.text-container a {
   text-decoration: none;
}

.textwochentag {
	font-size: 1.2em;
	font-weight: bold;
        text-decoration: none;
}


.textdatum {
	font-size: 1.3em;
	font-weight: bold;
	text-decoration: none;
}

.textzeit {
	font-size: 0.9em;
	font-weight: normal;
	text-decoration: none;
}

.textwochentag-postponed {
	font-size: 1.2em;
	font-weight: bold;
        text-decoration: none;
   color: red;
}


.textdatum-postponed {
	font-size: 1.3em;
	font-weight: bold;
	text-decoration: none;
	color: red;
}

.textzeit-postponed {
	font-size: 0.9em;
	font-weight: normal;
	text-decoration: none;
	color: red;
}



/* Container für das Bild in der rechten Spalte */
.image-container {
    grid-column: 3 / 4;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Stellt sicher, dass das Bild den Container füllt, ohne das Seitenverhältnis zu verzerren */

}


.badge {
  position: absolute; /* Löst das Label aus dem Textfluss */
  padding: 5px 10px;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  border-radius: 4px;
}

/* Positionierung der einzelnen Labels */
.badge-postponed {
  top: 10px;
  right: 10px;
  background-color: rgba(255, 0, 0, 0.8); /* Rot mit 80% Deckkraft */
}



/* Grauer Bereich am unteren Rand */
.artist-info {
    position: absolute; /* Positioniert den Bereich absolut innerhalb der info-box */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 46px;
    background-color: rgba(128, 128, 128, 0.5); /* Grau mit 50% Transparenz */
    
    /* Text-Styling */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.artist-info a {
   text-docoration: none;
}

/* --- Responsive Anpassungen --- */

/* Tablet-Ansicht: 2 Spalten */
/* Gilt für Bildschirmbreiten bis 1300px */
@media (max-width: 1300px) {
    .meg-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphone-Ansicht: 1 Spalte */
/* Gilt für Bildschirmbreiten bis 850px */
@media (max-width: 850px) {
    .meg-grid-container {
        grid-template-columns: 1fr;
    }
}



/*Darstellung einzelnes Event*/
.event-grid-container {
    display: grid;
    gap: 0px; /* Abstand zwischen den Boxen */
    width: 100%;
    max-width: 1366px; /* Maximale Breite des gesamten Grids */
    margin: 0 auto; /* Zentrierung */
    padding: 0px;
    margin-top: 20px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */


}

/* Standardeinstellung für große Bildschirme (Desktop): 2 Spalten */
.event-grid-container {
    /*grid-template-columns: repeat(2, 1fr);*/
    grid-template-columns: 400px auto;
    grid-template-rows: auto; /* Definiert die Höhe des oberen Bereichs */

}


/* Die einzelne Event-Box */
.event-box-1 {
    width: 400px;
    background-color: transparent; /* Keine Füllfarbe */
    position: relative; /* Wichtig für die Positionierung der inneren Elemente */
    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */
    
    /* Definition des 3-spaltigen Rasters */
    display: grid;
    grid-template-columns: 50px 100px 250px; /* Spaltenbreiten */
    grid-template-rows: 150px; /* Definiert die Höhe des oberen Bereichs */

}

/* Die einzelne Event-Box */
.event-box-2 {
    width: 100%;
 	 min-height: 150px;

    /*background-color: transparent;*/ /* Keine Füllfarbe */
    background-color: rgba(128, 128, 128, 0.5); /* Grau mit 50% Transparenz */
    
    position: relative; /* Wichtig für die Positionierung der inneren Elemente */
    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */
    
    padding: 20px;
    color: white;
    font-size: 1.0em;
    font-weight: normal;
    text-decoration: none;

	
}

.event-box-coop {
    font-size: 1.0em;
	 font-weight: normal;
	 font-style: italic;
}

.event-box-festival {
    font-size: 1.0em;
	 font-weight: normal;
}

.event-box-artist {
    font-size: 1.4em;
	 font-weight: bold;
}

.event-box-sub1 {
    font-size: 1.0em;
	 font-weight: normal;
}

.event-box-sub2 {
    font-size: 1.0em;
	 font-weight: normal;
}

.event-info {
    width: 100%;
    max-width: 1366px; /* Maximale Breite des gesamten Grids */
    margin: 0 auto; /* Zentrierung */
    padding: 20px;
    margin-top: 20px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */
    
    color: white;
    font-size: 1.0em;
    font-weight: normal;
}

.event-text {
    width: 100%;
    max-width: 1366px; /* Maximale Breite des gesamten Grids */
    margin: 0 auto; /* Zentrierung */
    padding: 20px;
    margin-top: 20px;

    overflow: hidden; /* Stellt sicher, dass alles innerhalb der abgerundeten Ecken bleibt */
    
    color: white;
    font-size: 1.0em;
    font-weight: normal;
    background-color: rgba(128, 128, 128, 0.5); /* Grau mit 50% Transparenz */
    border: 2px solid white;
    border-radius: 10px;

}


/* --- Responsive Anpassungen --- */

/* Smartphone-Ansicht: 1 Spalte */
/* Gilt für Bildschirmbreiten bis 1200px */
@media (max-width: 1200px) {
    .event-grid-container {
        grid-template-columns: 1fr;
    }
}

.moreinfo {

}

.moreinfodetails {
	font-size: 1.4em;
}
