/* Container */
.blog-page-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* oben starten */
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px; /* mehr Platz */
    margin: 0 auto;
}

.blog-page-container h1 {
    margin-bottom: 60px; /* Abstand Überschrift → Kacheln */
    color: var(--altrosa);
}

/* Grid */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* Kacheln */
.blog-tile {
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 0 1 45%;       /* Basis 45% der Containerbreite, wächst nicht */
    min-width: 350px;    /* Mindestbreite */
    max-width: 800px;    /* maximale Breite */
    padding: 20px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
    background-color: white;
    height: 600px;       /* feste Höhe für gleichmäßige Kacheln */
    display: flex;
    flex-direction: column;
}

.blog-tile:hover {
    transform: scale(1.03);
}

/* Bild */


.blog-tile {
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 0 1 45%;
    min-width: 350px;
    max-width: 800px;
    padding: 0; /* kein Padding, damit das Bild schön reinpasst */
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
    background-color: white;
    height: 500px;            /* feste Höhe */
    display: flex;
    flex-direction: column;   /* Bild oben, Text unten */
    overflow: hidden;         /* keine Überläufe */
}

.blog-tile:hover {
    transform: scale(1.03);
}

/* Bild nimmt 70% der Kachel ein */
.blog-tile img,
.blog-tile .no-image {
    flex: 0 0 70%;       /* fester Block mit 70% Höhe */
    width: 100%;
    object-fit: cover;
    border-radius: 0;    /* damit es bündig mit den Rändern abschließt */
    margin: 0;
}

/* Textbereich unten */
.blog-tile-content {
    flex: 1; /* restliche Höhe */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.blog-tile h3 {
    color: var(--altrosa);
    font-size: 1.2em;
    margin: 5px 0;
}

.blog-tile p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}






/* Mobile */
@media (max-width: 900px) {
    .blog-tile {
        flex: 0 1 80%;  /* fast volle Breite auf kleineren Bildschirmen */
       /*  height: auto;   /* automatische Höhe, Text bestimmt */
    }
}
