.section_cover:has(.hide-title) .page-header{
    display: none;
}

.section-cover .file:has(.file-link) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-cover .file-link {
    background-color: var(--c-primary);
    border-top: 0;
    border-bottom: 0;
    width: fit-content;
}

.section-cover .file-link a {
    color: var(--c-white) !important;
    font-weight: 700;
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
}

.section-cover .file-link a::after {
    content: url("../../images/download.svg");
}

.section-cover .file-link:hover {
    background-color: var(--c-primary-700);
    text-decoration: underline;
}

/* Webform inside section cover */
.section_cover .webform-submission-newsletter-form {
    margin: 2.5rem auto 4rem;
    width: 95%;
    max-width: var(--w-xlarge);
}
@media (max-width: 47.9375rem) {
    .section_cover .webform-submission-newsletter-form {
        width: calc(100% - 1rem);
    }
}
@media (min-width: 48rem) {
    .section_cover .webform-submission-newsletter-form {
        width: var(--w-small);
    }
}
@media (min-width: 62rem) {
    .section_cover .webform-submission-newsletter-form {
        width: var(--w-medium);
    }
}
@media (min-width: 75rem) {
    .section_cover .webform-submission-newsletter-form {
        width: var(--w-large);
    }
}
@media (min-width: 92rem) {
    .section_cover .webform-submission-newsletter-form {
        width: var(--w-xlarge);
    }
}

/* Paragraph adjustments */
.section_cover .paragraph--type--presentation-highlighted.no-background{
    padding-bottom: 1.5rem;
    background: initial;
}

.section_cover .paragraph--type--key-sector-container {
    margin: 3rem 0;
}

.section_cover .paragraph--type--key-sector-container .paragraph--type--key-sector .sector_color{
    background: rgb(161 54 54 / 90%);
}

.section_cover .paragraph--type--key-sector-container .paragraph--type--key-sector .sector_color:hover{
    background: rgb(161 54 54 / 100%);
}
.section_cover .paragraph--type--key-sector-container .paragraph--type--key-sector .sector_color h3,
.section_cover .paragraph--type--key-sector-container .paragraph--type--key-sector .sector_color p{
    text-shadow: none;
}
@media (min-width: 62rem) {
    .section_cover .paragraph--type--key-sector-container .paragraph--type--key-sector .sector_color {
        padding: 12rem 3rem 3rem;
    }
}

.section_cover .region-content .menu-horizontal:not(#block-navegacioprincipal-3){
    margin-bottom: 1.5rem;
}

