/*
 Theme Name:   Vantage Child
 Description:  Vantage Child Theme
 Author:       Frank Weber
 Author URI:   httpw://www.media-c-gmbh.de
 Template:     vantage
 Version:      1.0
 Text Domain:  vantage-child
*/

/* CSS für single-kategorie
/* SOll das Grid entsprechend ausgeben!
/************************************************/
/* === KACHEL CONTAINER - */
/* Old-School Kacheln mit Float */
.kachel {
    float:left!important;
    border:1px solid #0094a6; 
	width: 32%;               /* etwas Abstand für 3 Spalten */
    margin-right: 1.25%;        /* Abstand rechts */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-bottom: 25px;
    box-sizing: border-box;
	position: relative;           /* wichtig für Button unten */
    padding-bottom: 70px;         /* Platz für Button */
}

.kachel:nth-child(3n) {
    margin-right: 0;            /* kein Abstand bei der letzten Spalte */
}

/* Bild oben */
.kachel img {
    width: 100%;
	height: 240px;
    object-fit:cover;
}

/* Inhalt */
.kachel-inhalt {
	padding: 20px 20px 10px;
	min-height: 260px;          /* hilft bei gleicher Höhe */
}

.kachel-inhalt h3 {
    margin: 0 0 12px 0;
	font-weight:bold!important;
	font-size:1.5em;
	text-decoration: none!important;
	color:black!important;
}
.kachel-inhalt li {				/*   ,li   */
	font-size:125%!important;
	padding: 0;
}

.kachel-inhalt p {				/*   ,li   */
	margin: 0 0 20px 0;
	font-size:125%!important;
}

/* Button */
.kachel-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: block;
    padding: 12px 20px;
    background: #de006e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}
.kachel-button:hover {
    background: #0094a6;
    color: #ffffff;
}
/* Hover */
.kachel:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

/* Responsiv */
@media (max-width: 1100px) {
    .kachel {
        width: 48%;
        margin-right: 4%;
    }
    .kachel:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 700px) {
    .kachel {
        width: 100%;
        margin-right: 0;
    }
}

.hinweisbox {	border:1px solid silver;
				padding:15px;
				margin-top:30px;
				margin-bottom:50px;
				font-size:125%;
				box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.18);
				background:#efefef;
}