/* ============================================================
   FII-CONSTIENT.RO
   PAGINA CĂUTARE
============================================================ */


/* ============================================================
   VARIABILE
============================================================ */

.search-page {

    --paper:
        #eee2bf;

    --ink:
        #211b14;

    --muted:
        #756956;

    --line:
        rgba(33, 27, 20, .65);

    --fine-line:
        rgba(33, 27, 20, .27);

    --soft:
        rgba(33, 27, 20, .06);

    width:
        100%;

    color:
        var(--ink);

}


/* ============================================================
   BREADCRUMB
============================================================ */

.search-breadcrumb {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        8px;

    margin:
        18px
        0
        12px;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        1.1px;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


.search-breadcrumb a {

    color:
        var(--muted);

    text-decoration:
        none;

}


.search-breadcrumb a:hover {

    color:
        var(--ink);

}


/* ============================================================
   HERO
============================================================ */

.search-hero {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        220px;

    border-top:
        5px double var(--ink);

    border-bottom:
        5px double var(--ink);

}


/* ============================================================
   HERO MAIN
============================================================ */

.search-hero-main {

    padding:
        36px
        30px
        36px
        0;

}


.search-eyebrow {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        6px;

    margin-bottom:
        9px;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        1.6px;

    line-height:
        1.3;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


.search-hero-main h1 {

    margin:
        0;

    font-size:
        clamp(
            50px,
            7vw,
            88px
        );

    font-weight:
        900;

    line-height:
        .85;

    letter-spacing:
        -3px;

    text-transform:
        uppercase;

}


.search-hero-main p {

    max-width:
        650px;

    margin:
        18px
        0
        0;

    font-size:
        13px;

    line-height:
        1.65;

    color:
        var(--muted);

}


/* ============================================================
   HERO SIDE
============================================================ */

.search-hero-side {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    padding:
        25px
        20px;

    border-left:
        1px solid var(--ink);

    text-align:
        center;

}


.search-hero-side > span {

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        1.8px;

}


.search-hero-side strong {

    margin:
        4px
        0;

    font-size:
        68px;

    line-height:
        .9;

    font-weight:
        400;

}


.search-hero-side small {

    max-width:
        150px;

    font-size:
        8px;

    line-height:
        1.5;

    letter-spacing:
        .5px;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


/* ============================================================
   SEARCH BOX
============================================================ */

.search-box {

    padding:
        22px
        0
        18px;

    border-bottom:
        1px solid var(--ink);

}


/* ============================================================
   FORM
============================================================ */

.search-form {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap:
        8px;

}


/* ============================================================
   INPUT WRAP
============================================================ */

.search-input-wrap {

    position:
        relative;

    min-width:
        0;

}


.search-input-wrap input {

    width:
        100%;

    height:
        58px;

    padding:
        0
        50px
        0
        52px;

    border:
        1px solid var(--ink);

    outline:
        0;

    border-radius:
        0;

    background:
        transparent;

    color:
        var(--ink);

    font-family:
        inherit;

    font-size:
        15px;

    transition:
        box-shadow .2s ease,
        background .2s ease;

}


.search-input-wrap input::placeholder {

    color:
        rgba(33, 27, 20, .55);

}


.search-input-wrap input:focus {

    background:
        rgba(255, 255, 255, .08);

    box-shadow:
        inset 0 0 0 1px var(--ink);

}


/* ============================================================
   ICON
============================================================ */

.search-input-icon {

    position:
        absolute;

    left:
        18px;

    top:
        50%;

    transform:
        translateY(-50%);

    font-size:
        25px;

    line-height:
        1;

    pointer-events:
        none;

}


/* ============================================================
   CLEAR
============================================================ */

.search-clear {

    position:
        absolute;

    right:
        15px;

    top:
        50%;

    width:
        28px;

    height:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    transform:
        translateY(-50%);

    border:
        1px solid var(--fine-line);

    color:
        var(--ink);

    text-decoration:
        none;

    font-size:
        18px;

    line-height:
        1;

}


.search-clear:hover {

    border-color:
        var(--ink);

}


/* ============================================================
   BUTTON
============================================================ */

.search-form button {

    min-width:
        155px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    padding:
        0
        18px;

    border:
        1px solid var(--ink);

    border-radius:
        0;

    background:
        var(--ink);

    color:
        var(--paper);

    cursor:
        pointer;

    font-family:
        inherit;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1.4px;

    text-transform:
        uppercase;

    transition:
        opacity .2s ease;

}


.search-form button:hover {

    opacity:
        .88;

}


.search-button-arrow {

    font-size:
        17px;

}


/* ============================================================
   HELP
============================================================ */

.search-help {

    margin-top:
        8px;

    font-size:
        7px;

    font-weight:
        700;

    letter-spacing:
        .7px;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


/* ============================================================
   START
============================================================ */

.search-start {

    display:
        grid;

    grid-template-columns:
        150px
        minmax(0, 1fr);

    align-items:
        center;

    gap:
        35px;

    min-height:
        300px;

    padding:
        45px
        0;

    border-bottom:
        5px double var(--ink);

}


.search-start-number {

    font-size:
        150px;

    font-weight:
        900;

    line-height:
        .7;

    text-align:
        center;

    opacity:
        .09;

}


.search-start-content {

    max-width:
        600px;

}


.search-start-content h2 {

    margin:
        0
        0
        10px;

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );

    line-height:
        1;

}


.search-start-content p {

    margin:
        0;

    font-size:
        13px;

    line-height:
        1.7;

    color:
        var(--muted);

}


/* ============================================================
   SUMMARY
============================================================ */

.search-summary {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        30px;

    padding:
        28px
        0
        15px;

    border-bottom:
        1px solid var(--ink);

}


.search-summary-main {

    min-width:
        0;

}


.search-summary-main h2 {

    margin:
        0;

    max-width:
        700px;

    overflow:
        hidden;

    font-size:
        clamp(
            28px,
            4vw,
            45px
        );

    line-height:
        1;

    letter-spacing:
        -1px;

    text-overflow:
        ellipsis;

}


/* ============================================================
   SUMMARY STATS
============================================================ */

.search-summary-stats {

    display:
        flex;

    align-items:
        stretch;

}


.search-summary-stats > div {

    min-width:
        90px;

    padding:
        0
        15px;

    border-left:
        1px dotted var(--line);

}


.search-summary-stats span {

    display:
        block;

    margin-bottom:
        3px;

    font-size:
        6px;

    font-weight:
        900;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


.search-summary-stats strong {

    display:
        block;

    font-size:
        13px;

}


/* ============================================================
   RESULTS
============================================================ */

.search-results {

    width:
        100%;

}


/* ============================================================
   RESULT
============================================================ */

.search-result {

    display:
        grid;

    grid-template-columns:
        55px
        240px
        minmax(0, 1fr);

    gap:
        22px;

    padding:
        25px
        0;

    border-bottom:
        1px solid var(--ink);

}


/* ============================================================
   INDEX
============================================================ */

.search-result-index {

    padding-top:
        5px;

    font-size:
        25px;

    font-weight:
        900;

    line-height:
        1;

    opacity:
        .24;

}


/* ============================================================
   MEDIA
============================================================ */

.search-result-media {

    display:
        block;

    width:
        100%;

    height:
        165px;

    overflow:
        hidden;

    background:
        var(--soft);

    text-decoration:
        none;

}


.search-result-media img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    filter:
        grayscale(100%)
        sepia(14%)
        contrast(94%);

    transition:
        transform .4s ease,
        filter .4s ease;

}


.search-result-media:hover img {

    transform:
        scale(1.035);

    filter:
        grayscale(75%)
        sepia(8%)
        contrast(98%);

}


/* ============================================================
   PLACEHOLDER
============================================================ */

.search-result-placeholder {

    width:
        100%;

    height:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid var(--fine-line);

    font-size:
        70px;

    font-weight:
        900;

    opacity:
        .18;

}


/* ============================================================
   CONTENT
============================================================ */

.search-result-content {

    min-width:
        0;

}


/* ============================================================
   TOP
============================================================ */

.search-result-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        7px;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


.search-result-category {

    display:
        inline-block;

    padding-bottom:
        2px;

    border-bottom:
        1px solid var(--ink);

    color:
        var(--ink);

    text-decoration:
        none;

}


.search-result-category:hover {

    opacity:
        .7;

}


/* ============================================================
   TITLU
============================================================ */

.search-result h2 {

    margin:
        0
        0
        10px;

    font-size:
        clamp(
            24px,
            3vw,
            34px
        );

    line-height:
        1.02;

    letter-spacing:
        -.7px;

}


.search-result h2 a {

    color:
        var(--ink);

    text-decoration:
        none;

}


.search-result h2 a:hover {

    text-decoration:
        underline;

    text-decoration-thickness:
        1px;

    text-underline-offset:
        4px;

}


/* ============================================================
   META
============================================================ */

.search-result-meta {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px
        18px;

    margin-bottom:
        10px;

    padding:
        7px
        0;

    border-top:
        1px dotted var(--fine-line);

    border-bottom:
        1px dotted var(--fine-line);

    font-size:
        7px;

    line-height:
        1.4;

    text-transform:
        uppercase;

    color:
        var(--muted);

}


.search-result-meta strong {

    margin-right:
        3px;

    color:
        var(--ink);

}


/* ============================================================
   EXCERPT
============================================================ */

.search-result-excerpt {

    font-size:
        12px;

    line-height:
        1.65;

    text-align:
        justify;

}


/* ============================================================
   HIGHLIGHT
============================================================ */

.search-result mark {

    padding:
        0
        2px;

    background:
        rgba(195, 156, 42, .32);

    color:
        inherit;

    box-decoration-break:
        clone;

    -webkit-box-decoration-break:
        clone;

}


/* ============================================================
   READ
============================================================ */

.search-result-read {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        11px;

    padding-bottom:
        3px;

    border-bottom:
        1px solid var(--ink);

    color:
        var(--ink);

    text-decoration:
        none;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        .9px;

    text-transform:
        uppercase;

}


.search-result-read span {

    transition:
        transform .2s ease;

}


.search-result-read:hover span {

    transform:
        translateX(3px);

}


/* ============================================================
   EMPTY
============================================================ */

.search-empty {

    display:
        grid;

    grid-template-columns:
        160px
        minmax(0, 1fr);

    align-items:
        center;

    gap:
        35px;

    padding:
        50px
        0;

    border-bottom:
        5px double var(--ink);

}


.search-empty-symbol {

    font-size:
        140px;

    font-weight:
        900;

    line-height:
        .8;

    text-align:
        center;

    opacity:
        .09;

}


.search-empty-content {

    max-width:
        650px;

}


.search-empty-content h2 {

    margin:
        0
        0
        10px;

    font-size:
        clamp(
            30px,
            4vw,
            45px
        );

    line-height:
        1;

}


.search-empty-content p {

    margin:
        0
        0
        8px;

    font-size:
        13px;

    line-height:
        1.65;

}


.search-empty-tip {

    color:
        var(--muted);

}


/* ============================================================
   RESET
============================================================ */

.search-reset {

    display:
        inline-block;

    margin-top:
        14px;

    padding-bottom:
        3px;

    border-bottom:
        1px solid var(--ink);

    color:
        var(--ink);

    text-decoration:
        none;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

}


/* ============================================================
   PAGINATION
============================================================ */

.search-pagination {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    margin-top:
        30px;

    padding:
        17px
        0;

    border-top:
        1px solid var(--ink);

    border-bottom:
        5px double var(--ink);

}


/* ============================================================
   PAGINATION INFO
============================================================ */

.search-pagination-info {

    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;

}


.search-pagination-info span {

    font-size:
        6px;

    font-weight:
        900;

    letter-spacing:
        1.2px;

    color:
        var(--muted);

}


.search-pagination-info strong {

    font-size:
        10px;

    text-transform:
        uppercase;

}


/* ============================================================
   PAGES
============================================================ */

.search-pagination-pages {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        flex-end;

    gap:
        5px;

}


.search-pagination-pages a,
.search-pagination-pages > span {

    min-width:
        36px;

    height:
        36px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        0
        9px;

    border:
        1px solid var(--ink);

    background:
        transparent;

    color:
        var(--ink);

    text-decoration:
        none;

    font-size:
        9px;

    font-weight:
        900;

}


.search-pagination-pages a:hover,
.search-pagination-pages .active {

    background:
        var(--ink);

    color:
        var(--paper);

}


.search-pagination-pages
.search-pagination-dots {

    min-width:
        22px;

    border:
        0;

}


.search-pagination-pages
.disabled {

    opacity:
        .25;

}


.search-pagination-direction {

    font-size:
        14px !important;

}


/* ============================================================
   TABLETĂ
============================================================ */

@media (max-width: 900px) {


    .search-result {

        grid-template-columns:
            42px
            190px
            minmax(0, 1fr);

        gap:
            16px;

    }


    .search-result-media {

        height:
            145px;

    }


    .search-summary {

        align-items:
            flex-start;

    }


    .search-summary-stats > div {

        min-width:
            75px;

        padding:
            0
            10px;

    }

}


/* ============================================================
   MOBIL
============================================================ */

@media (max-width: 700px) {


    /* HERO */

    .search-hero {

        grid-template-columns:
            1fr;

    }


    .search-hero-main {

        padding:
            30px
            0;

    }


    .search-hero-main h1 {

        font-size:
            52px;

    }


    .search-hero-side {

        display:
            none;

    }


    /* FORM */

    .search-form {

        grid-template-columns:
            1fr;

    }


    .search-form button {

        width:
            100%;

    }


    /* SUMMARY */

    .search-summary {

        display:
            block;

    }


    .search-summary-stats {

        margin-top:
            18px;

        border-top:
            1px dotted var(--line);

        padding-top:
            12px;

    }


    .search-summary-stats > div:first-child {

        padding-left:
            0;

        border-left:
            0;

    }


    /* RESULT */

    .search-result {

        grid-template-columns:
            1fr;

        gap:
            0;

        padding:
            22px
            0;

    }


    .search-result-index {

        display:
            none;

    }


    .search-result-media {

        height:
            245px;

        margin-bottom:
            15px;

    }


    .search-result h2 {

        font-size:
            28px;

    }


    .search-result-excerpt {

        font-size:
            12.5px;

    }


    /* START */

    .search-start {

        grid-template-columns:
            80px
            1fr;

        gap:
            20px;

    }


    .search-start-number {

        font-size:
            90px;

    }


    /* EMPTY */

    .search-empty {

        grid-template-columns:
            80px
            1fr;

        gap:
            20px;

    }


    .search-empty-symbol {

        font-size:
            85px;

    }


    /* PAGINATION */

    .search-pagination {

        display:
            block;

    }


    .search-pagination-pages {

        justify-content:
            flex-start;

        margin-top:
            13px;

    }

}


/* ============================================================
   TELEFOANE MICI
============================================================ */

@media (max-width: 480px) {


    .search-hero-main h1 {

        font-size:
            45px;

    }


    .search-input-wrap input {

        height:
            54px;

        padding-left:
            46px;

        font-size:
            13px;

    }


    .search-form button {

        height:
            52px;

    }


    .search-summary-stats {

        display:
            grid;

        grid-template-columns:
            repeat(3, 1fr);

    }


    .search-summary-stats > div {

        min-width:
            0;

    }


    .search-result-media {

        height:
            220px;

    }


    .search-result-top {

        align-items:
            flex-start;

    }


    .search-result-meta {

        gap:
            6px
            10px;

    }


    .search-start,
    .search-empty {

        display:
            block;

    }


    .search-start-number,
    .search-empty-symbol {

        display:
            none;

    }


    .search-pagination-pages a,
    .search-pagination-pages > span {

        min-width:
            33px;

        height:
            33px;

        padding:
            0
            7px;

        font-size:
            8px;

    }

}