/* Wrapper is positioning context */
.obituaries-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Remove any influence on layout */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    padding: 8px 12px;
    font-size: 32px;
    cursor: pointer;
    z-index: 20;
    border-radius: 8px;
    transition: background 0.2s;
}

.carousel-nav:hover {
    background: rgba(255,255,255,1);
}

/* Left & Right placement */
.btn-prev {
    left: 10px;
}
.btn-next {
    right: 10px;
}

/* Fix obituary image box */
.obituary-image {
    width: 100%;
    padding-top: 130%;
    margin-right:15px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

/* Title styling */
.obituary-title {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}
