#obituary-list {
    justify-content: center;
    gap: 24px;
}

/* Card styling */
.obituary-section .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
}

/* Hover effect for interactivity */
.obituary-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.obituary-section .card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Card body */
.obituary-section .card-body {
    padding: 20px;
}
/* Title */
.obituary-section .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Text & meta */
.obituary-section .card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}

.obituary-section .card-text small {
    color: #777;
}
.obituary-section img {
    height: 200px;
    object-fit: cover;
}

.photo {
    width: 70%;
    height: 140px;
    object-fit: fill;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, #000000 0%, #1c1d20 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo img {
    border-radius: 10px;
}

