.custom-defunti-section {
	position: relative;
    display: flex;
    align-items: center;
    background: transparent;
	width: 80%;
    margin: auto;
}

.custom-bg-section {
    background: transparent;
    margin: 0 50px;
    padding: 30px;
}

.defunti .custom-defunti-section .image-defunto img {
    width: 100%;
    border-radius: 50%;
	margin-top: -60%;
}

.custom-defunti-section .image-defunto {
	position: absolute;
    flex: 3;
    width: 300px;
    border-radius: 50%;
}


.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.post-gallery>div {
    overflow: hidden;
}

.post-gallery img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
}

.post-gallery figure.post-media {
    transition: transform 0.3s ease-in-out;
}

.post-gallery figure.post-media:hover {
    transform: scale(1.3);
}

.death-info h2 {
    font-size: 21px;
}

.death-info h1.entry-title {
    color: #C9961A;
    font-size: 32px;
    font-weight: 600;
}

.death-info {
    flex: 9;
    padding: 50px 0 0;
	width: 100%;
	text-align: center;
}

.death-info>* {
    width: 100%;
}

/* tabs */

.navtabs {
	position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 20px;
	border-bottom: solid #C9961A;
    
}

.navtab {
    margin: 0 10px;
    /*  padding: 10px 20px; */
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

/* .navtab:hover {
    color: #007bff;
} */

.navtab.active {
    color: #000;
}

.underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: #C9961A;
    transition: left 0.3s ease, width 0.3s ease;
}

.content {
    display: none;
    padding: 20px;
    text-align: center;
}

.content.active {
    display: block;
}

/* end tabs */


/* lightBox */
.pswp--custom-bg {
    --pswp-bg: #7079bf;
}