/* Unified solutions and content library, only loaded on /solucoes/gestao. */
.gestao-library {
    background: #ffffff;
    color: #032d60;
    font-family: Poppins, Arial, sans-serif;
}

.gestao-library [hidden] {
    display: none !important;
}

.gestao-library__inner {
    box-sizing: border-box;
    max-width: 1248px;
    margin-inline: auto;
    padding: 56px 32px 64px;
}

.gestao-library__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    align-items: end;
    gap: 32px 64px;
}

.gestao-library .gestao-library__title {
    margin: 0;
    color: #032d60;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
}

.gestao-library .gestao-library__description {
    max-width: 660px;
    margin: 16px 0 0;
    padding: 0;
    color: #526476;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.gestao-library .gestao-library__search-label {
    display: block;
    margin: 0 0 8px;
    color: #032d60;
    font-size: 14px;
    font-weight: 500;
}

.gestao-library__search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 16px;
    min-height: 52px;
    border: 1px solid #acbec9;
    border-radius: 8px;
    background: #ffffff;
    color: #526476;
}

.gestao-library__search-box > svg {
    flex: 0 0 20px;
}

.gestao-library__search-box:focus-within {
    outline: 2px solid #032d60;
    outline-offset: 2px;
}

.gestao-library input[type="search"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    color: #032d60;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    appearance: none;
}

.gestao-library input[type="search"]::placeholder {
    color: #637587;
    opacity: 1;
}

.gestao-library input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.gestao-library .gestao-library__clear {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #032d60;
    cursor: pointer;
}

.gestao-library__controls-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-top: 32px;
}

.gestao-library .gestao-library__control-label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #032d60;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.gestao-library__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.gestao-library__filters-wrap {
    min-width: 0;
}

.gestao-library__topic {
    width: 280px;
    max-width: 100%;
}

.gestao-library .gestao-library__topic select {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #acbec9;
    border-radius: 8px;
    background: #ffffff;
    color: #032d60;
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    appearance: auto;
}

.gestao-library .gestao-library__topic select:focus-visible {
    outline: 2px solid #032d60;
    outline-offset: 2px;
}

.gestao-library .gestao-library__filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 15px;
    border: 1px solid #d2e0e5;
    border-radius: 24px;
    background: #ffffff;
    color: #032d60;
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

.gestao-library__filter span {
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.gestao-library .gestao-library__filter[aria-pressed="true"] {
    border-color: #032d60;
    background: #032d60;
    color: #ffffff;
}

.gestao-library .gestao-library__filter:hover:not([aria-pressed="true"]),
.gestao-library .gestao-library__clear:hover {
    background: #eaf7f7;
    border-color: #00acac;
}

.gestao-library__results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 28px 0 12px;
}

.gestao-library .gestao-library__results-title {
    margin: 0;
    padding: 0;
    color: #032d60;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.gestao-library .gestao-library__status {
    margin: 0;
    padding: 0;
    color: #526476;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.gestao-library .gestao-library__results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gestao-library .gestao-library__item {
    min-width: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid #d9e5e8;
}

.gestao-library .gestao-library__article-link {
    display: block;
    position: relative;
    height: 100%;
    padding: 24px 34px 26px 0;
    color: #032d60;
    text-decoration: none;
}

.gestao-library__meta {
    display: block;
    margin-bottom: 10px;
    color: #526476;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .2px;
}

.gestao-library .gestao-library__article-title {
    margin: 0;
    color: #032d60;
    /* Keep the global institutional H3 !important rules outside this component. */
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.gestao-library .gestao-library__summary {
    margin: 12px 0 0;
    padding: 0;
    color: #526476;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

.gestao-library__arrow {
    position: absolute;
    right: 0;
    top: 54px;
    color: #007a7a;
}

.gestao-library__article-link:hover .gestao-library__article-title {
    text-decoration: underline;
    text-decoration-color: #00acac;
    text-underline-offset: 5px;
}

.gestao-library__footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gestao-library .gestao-library__more,
.gestao-library .gestao-library__reset {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #032d60;
    border-radius: 8px;
    background: #ffffff;
    color: #032d60;
    font-family: Poppins, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

.gestao-library .gestao-library__more:hover,
.gestao-library .gestao-library__reset:hover {
    background: #eaf7f7;
}

.gestao-library__empty {
    padding: 28px 0;
    border-top: 1px solid #d9e5e8;
}

.gestao-library .gestao-library__empty p {
    margin: 0 0 18px;
    color: #526476;
    font-size: 16px;
}

.gestao-library button:focus-visible,
.gestao-library a:focus-visible {
    outline: 3px solid #032d60 !important;
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .gestao-library__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .gestao-library__search {
        max-width: 540px;
    }
}

@media (max-width: 767px) {
    .gestao-library__inner {
        padding: 36px 24px 40px;
    }

    .gestao-library .gestao-library__title {
        font-size: 30px;
        text-wrap: pretty;
    }

    .gestao-library .gestao-library__description {
        font-size: 16px;
    }

    .gestao-library__controls-row {
        margin-top: 24px;
    }

    .gestao-library__topic {
        width: 100%;
    }

    .gestao-library .gestao-library__topic select {
        font-size: 16px;
    }

    .gestao-library .gestao-library__results {
        grid-template-columns: minmax(0, 1fr);
    }

    .gestao-library .gestao-library__article-title {
        font-size: 21px !important;
    }

    .gestao-library .gestao-library__filter {
        padding-inline: 12px;
    }

    .gestao-library .gestao-library__more {
        width: 100%;
    }
}
