.atlas-search-engine{
    position:relative;
    width:100%;
    z-index:30;
}

.atlas-search-engine__form{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    width:100%;
    overflow:hidden;
    border:1px solid #d7e2dc;
    background:#fff;
    box-shadow:0 8px 24px rgba(29,52,41,.05);
}

.atlas-search-engine__family{
    min-width:165px;
    padding:0 34px 0 14px;
    border:0;
    border-right:1px solid #e3eae6;
    background:#f7faf8;
    color:#31433a;
    font-size:13px;
    font-weight:700;
    outline:0;
}

.atlas-search-engine__input{
    min-width:0;
    width:100%;
    padding:0 18px;
    border:0!important;
    background:transparent;
    box-shadow:none!important;
    outline:0;
    font-size:15px;
}

.atlas-search-engine__submit{
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-left:1px solid #e3eae6;
    background:#fff;
    color:#174d3c;
    cursor:pointer;
}

.atlas-search-engine__submit:hover,
.atlas-search-engine__submit:focus{
    background:#edf7ef;
}

.atlas-search-engine__submit svg{
    width:22px;
    height:22px;
}

.atlas-search-engine__results{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    width:100%;
    max-height:560px;
    overflow:auto;
    border:1px solid #d7e2dc;
    background:#fff;
    box-shadow:0 18px 40px rgba(28,49,39,.14);
}

.atlas-search-engine__result{
    display:flex;
    align-items:flex-start;
    gap:13px;
    padding:14px 15px;
    border-bottom:1px solid #edf1ee;
    color:inherit;
    text-decoration:none!important;
}

.atlas-search-engine__result:hover,
.atlas-search-engine__result:focus{
    background:#f4f9f5;
}

.atlas-search-engine__image{
    flex:0 0 58px;
    width:58px;
    height:58px;
    border-radius:7px;
    object-fit:cover;
}

.atlas-search-engine__content,
.atlas-search-engine__type,
.atlas-search-engine__title,
.atlas-search-engine__excerpt{
    display:block;
}

.atlas-search-engine__content{
    min-width:0;
}

.atlas-search-engine__type{
    margin-bottom:2px;
    color:#267052;
    font-size:11px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.atlas-search-engine__title{
    margin-bottom:3px;
    color:#23323d;
    font-size:15px;
    font-weight:750;
    line-height:1.25;
}

.atlas-search-engine__excerpt{
    color:#647169;
    font-size:12px;
    line-height:1.4;
}

.atlas-search-engine__message{
    padding:22px;
    color:#657169;
    text-align:center;
}

.atlas-search-engine__all{
    display:block;
    padding:14px 15px;
    color:#174d3c;
    font-size:13px;
    font-weight:800;
    text-align:center;
    text-decoration:none!important;
}

.atlas-search-engine__all:hover,
.atlas-search-engine__all:focus{
    background:#edf7ef;
}

@media(max-width:760px){
    .atlas-search-engine__form{
        grid-template-columns:minmax(0,1fr) auto;
    }

    .atlas-search-engine__family{
        grid-column:1/-1;
        width:100%;
        min-width:0;
        border-right:0;
        border-bottom:1px solid #e3eae6;
    }
}

@media(max-width:600px){
    .atlas-search-engine__image{
        flex-basis:48px;
        width:48px;
        height:48px;
    }

    .atlas-search-engine__excerpt{
        display:none;
    }
}


.atlas-search-engine--header{
    width:100%;
    margin-left:auto;
}

.atlas-search-engine--header .atlas-search-engine__form{
    grid-template-columns:minmax(0,1fr) auto;
}

.atlas-search-engine--header .atlas-search-engine__results{
    right:0;
    left:auto;
    width:min(520px,92vw);
}

.atlas-search-engine--header .atlas-search-engine__input{
    font-size:14px;
}

@media(max-width:760px){
    .atlas-search-engine--header{
        max-width:100%!important;
    }

    .atlas-search-engine--header .atlas-search-engine__results{
        right:auto;
        left:0;
        width:min(520px,94vw);
    }
}


/* Página completa de resultados AtlasSaber (1.0.4) */
.atlas-search-full{
    padding:56px 24px 80px;
    background:#fff;
}

.atlas-search-full__inner{
    width:min(1120px,100%);
    margin:0 auto;
}

.atlas-search-full__header{
    margin-bottom:32px;
}

.atlas-search-full__eyebrow{
    margin:0 0 8px;
    color:#267052;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.atlas-search-full__header h1{
    margin:0 0 8px;
    color:#23323d;
    font-size:clamp(28px,4vw,42px);
    line-height:1.12;
}

.atlas-search-full__meta{
    margin:0;
    color:#69766f;
    font-size:14px;
}

.atlas-search-full__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.atlas-search-full__card{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #dbe4df;
    border-radius:10px;
    background:#fff;
    box-shadow:0 3px 12px rgba(35,50,61,.06);
    color:inherit;
    text-decoration:none!important;
    transition:transform .15s ease,box-shadow .15s ease;
}

.atlas-search-full__card:hover,
.atlas-search-full__card:focus{
    transform:translateY(-2px);
    box-shadow:0 7px 18px rgba(35,50,61,.1);
}

.atlas-search-full__media{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:180px;
    background:#f0f5ee;
}

.atlas-search-full__media img{
    display:block;
    width:100%;
    height:180px;
    object-fit:cover;
}

.atlas-search-full__media--empty{
    color:#175640;
    font-size:26px;
}

.atlas-search-full__body{
    padding:16px;
}

.atlas-search-full__type{
    display:block;
    margin-bottom:6px;
    color:#267052;
    font-size:10px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.atlas-search-full__body h2{
    margin:0 0 8px;
    color:#23323d;
    font-size:17px;
    line-height:1.25;
}

.atlas-search-full__body p{
    margin:0;
    color:#647169;
    font-size:13px;
    line-height:1.45;
}

.atlas-search-full__empty{
    padding:48px 24px;
    border:1px solid #dbe4df;
    border-radius:10px;
    color:#647169;
    text-align:center;
}

@media(max-width:800px){
    .atlas-search-full{
        padding:40px 18px 60px;
    }
    .atlas-search-full__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .atlas-search-full__grid{
        grid-template-columns:1fr;
    }
}
