.node--type--unidad-municipal--full .unit-bundle__wrapper,
.node--type--unidad-municipal--full .unit-bundle__wrapper span {
    line-height: 1;
    font-weight: 600;
    --_fsize-max: 12;
    --_fsize-min: 12;
    text-transform: uppercase;
}

.node--type--unidad-municipal--full .unit-content__wrapper h1{
    --_fsize-max: 48;
    --_fsize-min: 24;
    --_fweight: 300;
    --_color: var(--neutral-900);
    margin-top: 8px;
}

.node--type--unidad-municipal--full .unit-related__wrapper {
    margin-block-start: 48px;
}

.node--type--unidad-municipal--full .unit-related__wrapper>div>h2 {
    --_fsize-max: 24;
    --_fsize-min: 24;
    font-weight: 600;
    position: relative;
    border-bottom: 1px solid var(--secondary-200);
    margin-block-end: 16px;
    margin-block-start: 48px;
}

.node--type--unidad-municipal--full .unit-related__wrapper>div>h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 1px;
    background: var(--primary);
    translate: 0 1px;
}

.node--type--unidad-municipal--full .related-news__wrapper .related-news__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.node--type--unidad-municipal--full .related-news__wrapper .related-news__link-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-block-start: 48px;
    position: relative;
}

.node--type--unidad-municipal--full .related-news__wrapper .related-news__link-wrapper a.related-news__link {
    padding-block: 6px;
    padding-inline: 12px;
    --_color: #282827;
    --_fsize-min: 14;
    --_fsize-max: 14;
    border: 1px solid var(--_color);
    border-radius: 5px;
}

.node--type--unidad-municipal--full .unit-related__wrapper .related-links__wrapper .field__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.node--type--unidad-municipal--full .field--name-field-contact {
    margin-block: 25px 25px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 16px;
    background: var(--secondary-50);
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-phone-paragraph::before {
    content: "Tel.: ";
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin-right: 8px;
    background-image: url(/themes/custom/concello/dewenir/resources/call.svg);
    background-position: center center;
    width: 55px;
    text-align: right;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position-x: 0;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-street-adress-paragraph::before {
    content: "";
    display: inline-block;
    vertical-align: text-top;
    margin-right: 8px;
    background-image: url(/themes/custom/concello/dewenir/resources/location_on.svg);
    width: 19px;
    height: 19px;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-web-paragraph {
    display: flex;
    gap: 8px;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-web-paragraph img {
    object-fit: contain;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-web-paragraph a {
    --_color: var(--neutral-700);
    --_color-hover: var(--primary);
    --_bgc-hover: transparent;
    text-decoration: underline;
}

.node--type--unidad-municipal--full .field--name-field-contact .paragraph .field--name-field-web-paragraph a:hover {
    text-decoration: unset;
}

.node--type--unidad-municipal--full .related-announcement__items .field__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.node--type--unidad-municipal--full .related-announcement__wrapper .related-announcement__link-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-block-start: 48px;
    position: relative;
}

.node--type--unidad-municipal--full .related-announcement__wrapper .related-announcement__link-wrapper a.related-announcement__link {
    padding-block: 6px;
    padding-inline: 12px;
    --_color: #282827;
    --_fsize-min: 14;
    --_fsize-max: 14;
    border: 1px solid var(--_color);
    border-radius: 5px;
}

.node--type--unidad-municipal--full .related-banner__wrapper {
    overflow: clip;
    position: relative;
}

.node--type--unidad-municipal--full .related-banner__wrapper + .related-banner__wrapper {
    margin-top: 16px;
}

.node--type--unidad-municipal--full .related-banner__wrapper .btn-wrapper {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 8px;
    position: absolute;
    top: 0;
    right: 0;
}

.node--type--unidad-municipal--full .related-banner__wrapper .btn-wrapper:has(.btn-prev) {
    right: 34px;
}

.node--type--unidad-municipal--full .related-banner__wrapper .btn-wrapper .btn {
    height: 25px;
    width: 25px;
}

.node--type--unidad-municipal--full .related-banner__wrapper .field__items {
    padding-block-start: 34px;
}

.node--type--unidad-municipal--full .related-banner__wrapper .btn-wrapper .btn::before {
    font-size: 16px !important;
}

.node--type--unidad-municipal--full :where(.field--name-field-related-banner, .field--name-field-related-banner-1, .field--name-field-related-banner-2) .slider-home-banner {
    display: flex;
}

.node--type--unidad-municipal--full :where(.field--name-field-related-banner, .field--name-field-related-banner-1, .field--name-field-related-banner-2) article.node--type--banner--relacionados .field--type-image {
    height: fit-content;
    margin: 0;
    float: unset;
    border-radius: 12px;
    overflow: hidden;
}

.node--type--unidad-municipal--full :where(.field--name-field-related-banner, .field--name-field-related-banner-1, .field--name-field-related-banner-2) article.node--type--banner--relacionados .field--type-image img {
    width: 100%;
    height: auto;
    margin: 0;
}

.node-services .sidebar_first .block {
    border: none;
}

@media (max-width: 991px) {
    .node-services .sidebar_first {
        display: none;
    }
}

.node-services .sidebar_first .block h2 {
    display: none;
}

.node-services .sidebar_first .block ul.nav {
    flex-direction: column;
    gap: 16px;
}

.node-services .sidebar_first .block .nav-item a {
    color: var(--neutral-600);
    padding: 0;
}

.node-services .sidebar_first .block .nav-item a:hover {
    --_bgc-hover: transparent;
    --_color-hover: var(--primary);
}

.node-services .sidebar_first .block .menu-item--active-trail > a {
    color: var(--primary);
}

.node-services .sidebar_first .block .menu-item--expanded.menu-item--active-trail > a {
    font-weight: 500;
}

.node-services .sidebar_first .block .menu-item--expanded.menu-item--active-trail li {
    list-style: none;
}

@media (max-width: 991px) {
    .node--type--unidad-municipal--full .related-news__wrapper .related-news__items {
        margin-block-start: 16px;
        grid-template-columns: repeat(3, 1fr);
        overflow: hidden;
        row-gap: 0;
    }

    .node--type--unidad-municipal--full .news-related__wrapper {
        margin-block-start: 16px;
    }

    .node-saludo_del_alcalde_sa .related-news__wrapper .related-news__link-wrapper {
        margin-block-start: 16px;
    }

    .node--type--unidad-municipal--full .unit-related__wrapper .related-links__wrapper .field__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .node--type--unidad-municipal--full .related-news__wrapper .related-news__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .node--type--unidad-municipal--full .unit-related__wrapper .related-links__wrapper .field__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 467px) {
    .node--type--unidad-municipal--full .related-news__wrapper .related-news__items {
        grid-template-columns: repeat(1, 1fr);
    }

    .node--type--unidad-municipal--full .unit-related__wrapper .related-links__wrapper .field__items {
        grid-template-columns: repeat(1, 1fr);
    }
}