
/* --------------- HEADER LOGO NON QUADRATO --------------- */
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: unset !important;
}


/* STILE GENDJUS CON ICONA SCURA A SINISTRA */
.text-formatted h2.dark-pretitle,
.gendjus-title.dark-pretitle {
    background-image: url(../images/pre_title_dark.svg);
}




/* --------------- STILE GENDJUS PER HERO BANNER --------------- */
/* .gendjus-title-wrapper.it-hero-wrapper.it-overlay.it-primary .img-responsive-wrapper::after {
    background: linear-gradient(to right, rgb(var(--bs-primary-rgb), .9) 50%, rgba(var(--bs-secondary-rgb), .7) 120%);
} */

.gendjus-title-wrapper.it-hero-wrapper.it-overlay.it-primary .img-responsive-wrapper img {
    object-position: center 60%;
}

.gendjus-title-wrapper.it-hero-wrapper {
    min-height: unset;
    height: 100px;
}

.gendjus-title-wrapper.it-hero-wrapper .it-hero-text-wrapper {
    padding: 0 !important;
}

.gendjus-title-wrapper.it-hero-wrapper .it-hero-text-wrapper h1 {
    font-size: calc(var(--bs-body-font-size) * 2);
    font-family: 'Cinzel';
}

@media (min-width: 768px) {
    .gendjus-title-wrapper.it-hero-wrapper .it-hero-text-wrapper h1 {
        font-size: calc(var(--bs-body-font-size) * 3);
    }
    .gendjus-title-wrapper.it-hero-wrapper {
        height: 160px;
    }
}

@media (min-width: 992px) {
    .gendjus-title-wrapper.it-hero-wrapper .it-hero-text-wrapper h1 {
        font-size: calc(var(--bs-body-font-size) * 4);
    }
    .gendjus-title-wrapper.it-hero-wrapper {
        height: 200px;
    }
}


/* --------------- FOOTER LINKS --------------- */
.it-footer-main h4 a {
    text-transform: unset !important;
}


/* --------------- TWEAK PER GENDJUS --------------- */
.views-element-container header.mt-4 pt-4 pb-4 {
    padding-bottom: 1rem;
    padding-top: 4rem;
}

.gendjus-news {
    max-height: 350px;
}

.gendjus-border {
    border-width: 2px;
    border-color: var(--bs-gray-300);
}

.text-gendjus-transparent {
    opacity: .7;
}

.chip:hover:not(.chip-disabled),
.chip.bg-primary:hover:not(.chip-disabled) {
    background-color: rgb(var(--bs-secondary-rgb)) !important;
}

.text-decoration-none.gendjus-underline:hover {
    text-decoration: underline !important;
}

.exposed-form-gendjus .form-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: end;
    align-items: center;
    gap: 1rem;
}

.exposed-form-gendjus .form-actions input:hover {
    background-color: rgba(var(--bs-primary-rgb), .3);
}

.exposed-form-gendjus .form-actions input[name="reset"] {
    background-color: transparent;
    box-shadow: inset 0px 0px 0px 2px white;
}

.exposed-form-gendjus .form-actions input[name="reset"]:hover {
    background-color: rgba(255,255,255,.3);
}

.exposed-form-gendjus .form-item {
    height: 2.5rem;
}

@media (max-width: 768px) {
    .border-end.responsive-border-persons {
        border-right: none !important;
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    }
}


@media (min-width: 768px) {
    .grouped-persons-border {
        border-bottom: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grouped-persons-border:nth-of-type(2n) {
        border-right: none !important;
    }
}

@media (min-width: 992px) {
    .investigator-avatar {
        width: 50% !important;
        height: unset !important;
    }

    .grouped-persons-border:nth-of-type(3n) {
        border: none !important;
    }
    
    .investigator-persons-border:nth-child(2n) {
        border: none !important;
    }
}

.width-unset {
    width: unset !important;
}

.person-avatar.avatar {
    aspect-ratio: 0.75;
    height: unset !important;
}
.person-avatar.avatar img {
    object-position: center top !important;
}

.person-avatar + .card-title {
    font-size: 1.25rem;
}

.person-card.card::after {
    display: none;
}

.language-switch .language-link {
    color: rgb(var(--bs-primary-rgb)) !important;
    font-weight: 500;
}




#corpus {
    aspect-ratio: 16/9;
}

.text-formatted iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 1rem 0;
}


.field-gallery figure {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 100% !important;
}

@media(min-width: 992px) {
    .field-gallery .splide__pagination {
        translate: -50% 0;
        justify-content: center !important;
        margin-left: 0 !important;
    }
}

.field-gallery .splide__slide img {
    max-height: 65svh;
    object-fit: contain;
    height: fit-content;
}

