/* ==========================
   Global Styles für Sermons
========================== */
.sermon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #f5f7fa;
}

.sermon-content {
    max-width: 1100px;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* ==========================
   Filter-Bereich
========================== */
.sermon-filter {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sermon-filter label {
    font-weight: bold;
    font-size: 14px;
}

.sermon-filter input,
.sermon-filter select,
.sermon-filter button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.sermon-filter button {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    padding: 12px;
    transition: background 0.3s ease-in-out;
}

.sermon-filter button:hover {
    background-color: #0056b3;
}

/* ==========================
   Sermon-Grid (Predigt-Karten)
========================== */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    justify-content: center;
}

.sermon-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sermon-card:hover {
    transform: translateY(-5px);
}

.sermon-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #007bff;
}

.sermon-info {
    padding: 15px;
}

.sermon-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.sermon-info p {
    font-size: 14px;
    margin: 5px 0;
}

/* ==========================
   Prediger Darstellung
========================== */
.prediger-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
}

.prediger-item img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

/* ==========================
   Responsive Optimierung
========================== */
@media (max-width: 768px) {
    .sermon-filter {
        flex-direction: column;
    }

    .sermon-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
