/*
 Theme Name:	Verdandi Child
 Template:	verdandi
 Author:	Rolf Strathewerd
 Version:	1.1
*/

body.home .entry-header {
  display: none !important;
}

header.page-header {
  padding-bottom: 30px;
}

.aktuelles_start {
  margin: 0px;
}

.entry-header {
  padding-bottom: 30px;
}

.page-title {
  padding: 10px 0 10px 0;
}

.header-aktuelles {
  padding-bottom: 0px;
}

.header-aktuelles h1.entry-title {
  font-size: 20px;
  font-weight: 600;
}

.page-content, .entry-content, .entry-summary {
  line-height: 1.4;
  font-size: 20px;
}

.title-pe {
margin-top: 40px;
}

/* Start Projekt-Galerie-Slider */
figure.wp-block-gallery.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block !important; /* verhindert Grid/Flex vom Theme */
}

figure.wp-block-gallery.slider > figure.wp-block-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease-in-out;
}

figure.wp-block-gallery.slider > figure.wp-block-image.active {
  opacity: 1;
  z-index: 2;
}

figure.wp-block-gallery.slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.65);
}

/* End Projekt-Galerie-Slider */

.pe-info-table {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Abstand zwischen den Zeilen */
}

.pe-row {
    display: flex;
    flex-wrap: wrap;
}

.pe-label {
    width: 150px; /* feste Breite für Labels */
    font-weight: bold;
}

.pe-value {
    flex: 1; /* Wert nimmt den restlichen Platz ein */
}

/* Start Projekt-Grid */

.child-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.child-card {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.child-thumb {
  width: 100%;
  height: 250px; /* feste Höhe, z.B. 250px oder 30vh */
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.child-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt Container, ohne Verzerrung */
  transition: opacity 0.3s ease;
}

.child-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0,0,0,0.4);
}

.child-title-overlay h3 {
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  padding: 10px;
}

.child-card:hover img {
  opacity: 0.3;
}

.child-card:hover .child-title-overlay {
  opacity: 1;
}

/* End Projekt-Grid */

h3.pc-title {
  margin: 0 0 10px 0;
}

div.unterseite {
margin-bottom: 30px;
}

.footer-aktuelles {
  padding-top: 35px;
}

figure.vita table tr, figure.vita table tr td {
  border: 0px;
}

.wpcf7-form input[type="text"],.wpcf7-form input[type="email"] {
  background-color: #fff;
}

.wpcf7-form textarea {
  background-color: #fff;
}

.wpcf7-form span.wpcf7-list-item {
  margin: 0 0 20px 0;	
}

div.site-content .content-area {
  border-bottom: solid 1px var(--theme-gray-normal);
}

footer.site-footer {
  margin-top: 10px;	
}

.legal-info {
  padding-bottom: 40px;
}

.site-info, .site-info a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}