.necrologi-col {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Ombra sotto la card */
    min-height: 35rem !important; /* Altezza minima */
    max-width: 15rem !important; /* Larghezza massima */
    margin: 2rem !important; /* Spazio intorno, per evitare che le colonne si “incollino” */
    padding: 0 !important;
    border-radius: var(--button-border-radius-top-left, 0) var(--button-border-radius-top-right, 0) var(--button-border-radius-bottom-left, 0) var(--button-border-radius-bottom-right, 0) !important;
    /* Se vuoi forzarla al centro, puoi aggiungere:
       margin-left: auto;
       margin-right: auto;
    */
}

.necrologi-img {
    border-radius: var(--button-border-radius-top-left, 0) var(--button-border-radius-top-right, 0) 0 0 !important;
}

.necrologi-card {
    border-radius: var(--button-border-radius-top-left, 0) var(--button-border-radius-top-right, 0) var(--button-border-radius-bottom-left, 0) var(--button-border-radius-bottom-right, 0) !important;
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/plugins/porta-del-cielo-plugin/css/style.css?ver=6.3.2 ; media=all */
@media all {
    .row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/themes/blessing/style.css ; media=all */
@media all {
    div, h4, h5, p, small {
        font-family: inherit;
        font-size: 100%;
        font-style: inherit;
        font-weight: inherit;
        line-height: inherit;
        border: 0;
        outline: 0;
        -webkit-font-smoothing: antialiased;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
    }

    h4, h5 {
        line-height: 120%;
    }

    h4, h5, p {
        margin: 0;
    }

    p {
        margin-bottom: 1.5em;
    }

    :active, :focus {
        outline: 0;
    }

    small {
        font-size: 75%;
    }

    img {
        max-width: 100%;
        height: auto;
        vertical-align: top;
    }

    .row {
        margin-left: 0px;
        margin-right: -2em;
    }

    .row:before, .row:after {
        display: inline-block;
    }

    .row:after {
        clear: both;
        width: 100%;
        height: 0;
        display: block;
    }
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/themes/blessing/skins/blessing/skin.css ; media=all */
@media all {
    h4, h5 {
        font-family: Cinzel, serif;
        color: #493834;
    }

    h4 {
        font-size: 1.666em;
        line-height: 1.2em;
        margin-top: 1.92em;
        margin-bottom: 1.08em;
    }

    h5 {
        font-size: 1.333em;
        line-height: 0.85em;
        margin-top: 1.3em;
        margin-bottom: 1.25em;
    }

    p {
        padding: 0;
    }

    ::selection {
        color: #fff;
        background-color: #592131;
    }

    .post_content h4 {
        color: #592131;
        margin-top: 1.5em;
        margin-bottom: 0.3em;
    }
}

/*! CSS Used from: Embedded */
h4 {
    font-family: 'Signika', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}

h5 {
    font-family: 'Signika', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    color: #000000;
}

.post_content h4 {
    color: #0d3153;
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/themes/blessing/css/responsive.css ; media=all */
@media all {
    @media (min-width: 960px) and (max-width: 1135px) {
        .row {
            margin-right: -30px;
        }
    }
    @media (min-width: 800px) and (max-width: 959px) {
        .row {
            margin-right: -20px;
        }
    }
    @media (min-width: 480px) and (max-width: 799px) {
        .row {
            margin-right: -20px;
        }
    }
    @media (max-width: 479px) {
        .row {
            margin-right: -10px;
        }
    }
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/themes/blessing/skins/blessing/skin-responsive.css ; media=all */
@media all {
    @media (min-width: 960px) and (max-width: 1135px) {
        h4 {
            font-size: 1.3333em;
        }

        h5 {
            font-size: 1.2em;
        }
    }
    @media (min-width: 800px) and (max-width: 959px) {
        h4 {
            font-size: 1.3333em;
        }

        h5 {
            font-size: 1.2em;
        }
    }
    @media (min-width: 480px) and (max-width: 799px) {
        h4 {
            font-size: 1.3em;
        }

        h5 {
            font-size: 1.1667em;
        }
    }
    @media (max-width: 479px) {
        h4 {
            font-size: 1.3em;
        }

        h5 {
            font-size: 1.1667em;
        }
    }
}

/*! CSS Used from: https://portadelcielo.eu/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=7.1 ; media=all */
@media all {
    .wpb_text_column :last-child, .wpb_text_column p:last-child {
        margin-bottom: 0;
    }
}

/*! CSS Used from: https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css */
*, ::after, ::before {
    box-sizing: border-box;
}

h4, h5 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

h4 {
    font-size: calc(1.275rem + .3vw);
}

@media (min-width: 1200px) {
    h4 {
        font-size: 1.5rem;
    }
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

small {
    font-size: .875em;
}

img {
    vertical-align: middle;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.col {
    flex: 1 0 0%;
}

.row-cols-1 > * {
    flex: 0 0 auto;
    width: 100%;
}

.g-0 {
    --bs-gutter-x: 0;
}

.g-0 {
    --bs-gutter-y: 0;
}

.g-4 {
    --bs-gutter-x: 1.5rem;
}

.g-4 {
    --bs-gutter-y: 1.5rem;
}

@media (min-width: 768px) {
    .row-cols-md-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

@media (min-width: 992px) {
    .row-cols-lg-3 > * {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.card {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
}

.card-title {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: var(--bs-card-title-color);
}

.card-text:last-child {
    margin-bottom: 0;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.text-body-secondary {
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
}

.rounded-start {
    border-bottom-left-radius: var(--bs-border-radius) !important;
    border-top-left-radius: var(--bs-border-radius) !important;
}

/*! CSS Used fontfaces */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIJ7ww63mVu7gt7-GT7LEc.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/cinzel/v23/8vIJ7ww63mVu7gt79mT7.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bOjM7sfA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bPjM7sfA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bBjM4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bOjM7sfA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bPjM7sfA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bBjM4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bOjM7sfA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bPjM7sfA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/signika/v25/vEFO2_JTCgwQ5ejvMV0Ox_Kg1UwJ0tKfX6bBjM4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
