/* SCF Search — component styles. Foundation: /siscon/assets/css/scf.css */

.scf-search {
    container-type: inline-size;
    position: relative;
    z-index: 0;
    isolation: isolate;
    padding: clamp(20px, 3vw, 48px) 0;
}

/* ==========================================================================
   SCF Search 3.0 — Foundation 2.0 host boundary
   O componente não depende do font-size do html/body do portal.
   ========================================================================== */
.scf.scf-search {
    color: var(--scf-color-text, #1d222b);
    font-family: var(--scf-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: initial;
}

.scf.scf-search :where(div, span, form, label, h1, h2, p, a, time, strong) {
    font-family: inherit;
}

.scf.scf-search :where(form) {
    margin: 0;
}

.scf.scf-search :where(input, button) {
    margin: 0;
    font-family: inherit;
    line-height: inherit;
}

.scf.scf-search .scf-search__input {
    height: 58px;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid var(--scf-color-border);
    border-radius: 12px;
    background: var(--scf-color-surface);
    color: var(--scf-color-text);
    font-size: 16px;
    line-height: 20px;
    box-shadow: var(--scf-shadow-sm);
    -webkit-appearance: none;
    appearance: none;
}

.scf.scf-search .scf-search__submit {
    min-height: 58px;
    font-size: 16px;
    line-height: 16px;
}


/* ==========================================================================
   SCF Search 2.4.2 — Host CSS Isolation
   --------------------------------------------------------------------------
   O Search é um componente público reutilizável e não pode depender da
   tipografia/cores globais do portal hospedeiro. Este boundary neutraliza
   regras legadas genéricas como h1/h2/h3, p, a, form e font shorthands,
   mantendo toda a estilização restrita a .scf-search.
   ========================================================================== */

.scf.scf-search {
    color: var(--scf-color-text, #1d222b);
    font-family: var(
        --scf-font-sans,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif
    );
    font-size: 16px;
    line-height: 1.5;
    text-align: initial;
}

/* Neutraliza somente propriedades tipográficas globais do host.
   Regras específicas do componente, declaradas abaixo, continuam vencendo. */
.scf.scf-search :where(
    h1, h2, h3, h4, h5, h6,
    p, label, input, button, a, span, strong, time
) {
    font-family: inherit;
    font-style: normal;
    font-variant: normal;
}

/* Evita que regras genéricas de links do portal alterem a identidade do SCF. */
.scf.scf-search a {
    text-decoration: none;
}

/* Controles devem manter a tipografia do componente mesmo em temas antigos. */
.scf.scf-search input,
.scf.scf-search button {
    font-family: inherit;
    box-sizing: border-box;
}

/* Headings do Search: proteção explícita contra `h1/h2/h3 { font: ... }`
   e `color` globais presentes em temas legados. */
.scf.scf-search .scf-search__title {
    color: var(--scf-color-text, #1d222b);
    font-family: inherit;
    font-style: normal;
    font-variant: normal;
    font-weight: 800;
}

.scf.scf-search .scf-search__state h2 {
    color: var(--scf-color-text, #1d222b);
    font-family: inherit;
    font-size: clamp(21.6px, 2.4vw, 27.2px);
    line-height: 1.3;
    font-style: normal;
    font-variant: normal;
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none;
}

.scf.scf-search .scf-search__card-title {
    color: var(--scf-color-text, #1d222b);
    font-family: inherit;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
}

.scf.scf-search .scf-search__card-title a {
    color: inherit;
    font: inherit;
}

.scf.scf-search .scf-search__eyebrow {
    color: var(--scf-color-primary, #334155);
    font-family: inherit;
}

.scf.scf-search .scf-search__label {
    color: var(--scf-color-text, #1d222b);
    font-family: inherit;
}

.scf.scf-search .scf-search__summary,
.scf.scf-search .scf-search__range,
.scf.scf-search .scf-search__date,
.scf.scf-search .scf-search__excerpt,
.scf.scf-search .scf-search__state p,
.scf.scf-search .scf-search__ellipsis {
    font-family: inherit;
}

.scf.scf-search .scf-search__summary strong {
    color: var(--scf-color-text, #1d222b);
    font-family: inherit;
}



/* ==========================================================================
   SCF Search 2.4.3 — Host CSS Isolation refinement
   Neutraliza alinhamento e espaçamento tipográfico herdados de temas legados.
   ========================================================================== */

.scf.scf-search .scf-search__hero {
    text-align: center;
}

.scf.scf-search .scf-search__form,
.scf.scf-search .scf-search__toolbar,
.scf.scf-search .scf-search__content,
.scf.scf-search .scf-search__state {
    font-family: inherit;
}

.scf.scf-search .scf-search__form,
.scf.scf-search .scf-search__toolbar,
.scf.scf-search .scf-search__content {
    text-align: left;
}

.scf.scf-search .scf-search__title,
.scf.scf-search .scf-search__eyebrow,
.scf.scf-search .scf-search__label,
.scf.scf-search .scf-search__summary,
.scf.scf-search .scf-search__range,
.scf.scf-search .scf-search__date,
.scf.scf-search .scf-search__card-title,
.scf.scf-search .scf-search__excerpt,
.scf.scf-search .scf-search__state h2,
.scf.scf-search .scf-search__state p {
    text-indent: 0;
    word-spacing: normal;
}

.scf.scf-search .scf-search__card-title,
.scf.scf-search .scf-search__excerpt,
.scf.scf-search .scf-search__date {
    text-align: left;
}

.scf.scf-search .scf-search__excerpt {
    white-space: normal;
}

.scf.scf-search .scf-search__state {
    text-align: center;
}

.scf-search__shell {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.scf-search__hero {
    max-width: 760px;
    margin: 0 auto clamp(22.4px, 3vw, 38.4px);
    text-align: center;
}

.scf-search__eyebrow {
    margin: 0 0 7.2px;
    color: var(--scf-color-primary);
    font-size: var(--scf-font-size-xs);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.scf-search__title {
    color: var(--scf-color-text, #1d222b);
    max-width: 16ch;
    margin: 0 auto;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.scf-search__title span {
    background: linear-gradient(transparent 62%, var(--scf-color-highlight) 62%);
}

.scf-search__form {
    max-width: 720px;
    margin: var(--scf-space-5) auto 0;
    text-align: left;
}

.scf-search__label {
    display: block;
    margin-bottom: 7.2px;
    font-size: var(--scf-font-size-sm);
    font-weight: 700;
}

.scf-search__form-row {
    display: flex;
    gap: var(--scf-space-3);
}

.scf-search__input {
    flex: 1;
}

.scf-search__submit {
    flex: 0 0 auto;
    min-height: 60px;
}

.scf-search__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--scf-space-4);
    margin-bottom: 22.4px;
    padding: var(--scf-space-4) 0 20px;
    border-bottom: 1px solid var(--scf-color-border);
}

.scf-search__summary,
.scf-search__range {
    margin: 0;
    color: var(--scf-color-muted);
}

.scf-search__summary strong {
    color: var(--scf-color-text, #1d222b);
}

.scf-search__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: clamp(18.4px, 2.2vw, 26.4px);
}

.scf-search__card:only-child {
    width: min(100%, 380px);
    justify-self: start;
}

.scf-search__card{
    border-color:#edf1f4;
}

.scf-search__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f2f5f4;
}

.scf-search__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.scf-search__content {
    padding: 20px 20.8px 22.4px;
}

.scf-search__date {
    display: block;
    margin-bottom: 10.4px;
    color: var(--scf-color-muted);
    font-size: 12.8px;
    line-height: 1.4;
    letter-spacing: .01em;
}

.scf-search__card-title {
    margin: 0;
    color: var(--scf-color-text, #1d222b);
    font-size: clamp(17.6px, 1.8vw, 20px);
    line-height: 1.34;
    letter-spacing: -.018em;
    font-weight: 750;
}

.scf-search__card-title a {
    color: inherit;
    text-decoration: none;
}

.scf-search__card-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.scf-search__card:hover .scf-search__card-title a,
.scf-search__card:focus-within .scf-search__card-title a {
    color: var(--scf-color-primary);
}

.scf-search__excerpt {
    display: -webkit-box;
    margin: 12.8px 0 0;
    overflow: hidden;
    color: var(--scf-color-muted);
    line-height: 1.68;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.scf-search__read {
    display: none;
}

.scf-search__state {
    max-width: 650px;
    margin: var(--scf-space-6) auto;
    padding: clamp(32px, 6vw, 64px);
    border: 1px dashed var(--scf-color-border);
    border-radius: var(--scf-radius-lg);
    background: var(--scf-color-surface-soft);
    text-align: center;
}

.scf-search__state-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto var(--scf-space-4);
    border-radius: 50%;
    background: var(--scf-color-surface);
    color: var(--scf-color-primary);
}

.scf-search__state-icon .scf-icon {
    width: 28px;
    height: 28px;
}

.scf-search__state h2 {
    margin: 0 0 8.8px;
    color: var(--scf-color-text);
}

.scf-search__state p {
    margin: 0;
    color: var(--scf-color-muted);
    line-height: 1.6;
}

.scf-search__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10.4px;
    margin-top: clamp(32px, 5vw, 64px);
    flex-wrap: wrap;
}

.scf-search__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6.4px;
    flex-wrap: wrap;
}

.scf-search__page {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11.2px;
    border: 1px solid var(--scf-color-border);
    border-radius: var(--scf-radius-md);
    background: var(--scf-color-surface);
    color: var(--scf-color-text);
    font-weight: 700;
    text-decoration: none;
    transition: border-color var(--scf-motion-normal) var(--scf-ease), background-color var(--scf-motion-normal) var(--scf-ease), color var(--scf-motion-normal) var(--scf-ease);
}

.scf-search__page:hover {
    border-color: var(--scf-color-primary);
    color: var(--scf-color-primary);
}

.scf-search__page.is-current {
    border-color: var(--scf-color-primary);
    background: var(--scf-color-primary);
    color: #fff;
}

.scf-search__page.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.scf-search__page--nav {
    min-width: auto;
}

.scf-search__ellipsis {
    padding: 0 3.2px;
    color: var(--scf-color-muted);
}

.scf-search__highlight {
    display: inline;
    padding: .06em .22em;
    border-radius: .32em;
    background: rgba(51, 65, 85, .11);
    color: var(--scf-color-primary-hover);
    font: inherit;
    font-weight: 800;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.scf-search__card-title .scf-search__highlight {
    background: rgba(51, 65, 85, .13);
}

.scf-search__excerpt .scf-search__highlight {
    font-weight: 750;
}

@container (max-width: 620px) {
    .scf-search__form-row {
        flex-direction: column;
    }

    .scf-search__submit {
        width: 100%;
    }

    .scf-search__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .scf-search__pagination {
        flex-direction: column;
    }

    .scf-search__page--nav {
        width: min(100%, 260px);
    }
}

@media (prefers-contrast: more) {
    .scf-search__highlight {
        outline: 1px solid currentColor;
        outline-offset: 1px;
    }
}
