.public-obituary-grid-item {
    display: flex;
}

.public-obituary-card {
    width: 100%;
}

/*
 * The theme turns the hidden portrait into a background image and uses
 * `background-size: cover` by default. That fills the card by cropping the
 * photo. Keep the complete portrait visible on obituary cards instead.
 */
.public-obituary-card .item-media.cover-image {
    background-color: #f4f2ed;
    background-position: center;
    background-size: contain;
}

.public-obituary-location {
    align-items: center;
    color: #787878;
    cursor: default;
    display: inline-flex;
    gap: .4rem;
    transition: color .18s ease;
}

.public-obituary-location:hover {
    color: #baad7b;
}

@media (min-width: 768px) {
    .public-obituary-card,
    .public-obituary-card-layout {
        min-height: 440px;
    }

    .public-obituary-card-layout > [class*="col-"] {
        display: flex;
    }

    .public-obituary-card .item-media {
        min-height: 440px;
        width: 100%;
    }

    .public-obituary-card .item-content {
        min-height: 440px;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .public-obituary-card .item-media {
        min-height: 280px;
    }
}
