/*
	Zusätzlich vertstreut auf globale style.css und blog.css
*/


/* Kategorien Box */
.categories-box {
    background-color: #5a0038; /* OVGU Beere */
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.categories-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.2rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.category-link {
    background-color: white;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #5a0038; /* OVGU Beere */
    font-family: 'Barlow', sans-serif; /* Gleiche Schrift wie andere Seiten */
    font-weight: 700; /* Gleiche Schriftstärke wie andere Seiten */
    font-size: 1rem; /* Gleiche Schriftgröße wie andere Seiten */
    transition: all 0.3s ease;
    text-align: center;
    height: 70px; /* Feste Höhe für gleichförmige Boxen */
    box-sizing: border-box; /* Verhindert Größenänderungen */
    border: 1px solid transparent; /* Für Hover-Effekt */
}

.category-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(90, 0, 56, 0.3); /* Beere-farbener Schatten */
    border-color: rgba(90, 0, 56, 0.2);
}


/* Verwandte Artikel in Sidebar */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateX(5px);
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(95%) brightness(1.15) contrast(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.related-post-image:hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.05);
}

.related-post-content {
    display: flex;
    flex-direction: column;
}

.related-post-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.3rem;
    color: var(--top-article-title-color);
}

.related-post-date {
    font-size: 0.8rem;
    color: #888;
}

.sidebar-title {
	color: var(--sidebar-section-title-color);
}
