.home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.latest-post {
    margin-bottom: 40px;
}

.latest-post-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.latest-post-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.latest-post-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.latest-post-content p {
    font-size: 1rem;
    color: #555;
}

.post-gallery {
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%; /* Höhe auf 100% setzen, um die Containerhöhe zu füllen */
    object-fit: cover; /* Cover sorgt dafür, dass das Bild den Container ausfüllt */
    display: block;
    border-radius: 8px;
}

.gallery-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.divider {
    border: 0;
    border-top: 2px solid #ddd;
    margin: 40px 0;
}

.categories-section {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.category-column {
 padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
}

.category-column h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.category-post {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-thumbnail img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.category-post h4 {
    font-size: 1rem;
    margin: 0;
}

.category-post h4 a {
    display: block; /* Macht den Link zu einem Blockelement, damit er die gesamte Breite einnimmt */
    word-wrap: break-word; /* Bricht lange Wörter, wenn nötig */
    overflow-wrap: break-word; /* Alternative für neuere Browser */
    word-break: break-word; /* Erzwingt das Umbrechen von langen Wörtern */
    hyphens: auto; /* Automatische Silbentrennung, wenn der Browser sie unterstützt */
}

.category-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.category-button:hover {
    background: #111;
	color: #fff; 
	text-decoration: none;
}
