.search {
    position: relative !important;
    top: auto;
    margin: 0 auto;
    padding: 16px 12px;
    display: flex;
    justify-content: space-between;
}

.sear-input {
    width: calc(100% - 60px);
    border-bottom: 2px solid #CCCED7;
}

.sear-input i {
    color: #2A53C1;
    font-weight: 600;
}

.search input {
    border: none;
    height: auto;
    background: #FFF;
    border-radius: 8px;
    padding: 12px 0 12px 20px;
    outline: none;
    width: calc(100% - 20px);
    color: #333;
    font-family: Kanit;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.search input::placeholder {
    color: #333;
    font-family: Kanit;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 120% */
}

.search_btn {
    border: 3px solid #2A53C1;
    border-radius: 8px;
    width: 40px;
    height: 40px;
}

.search_btn i {
    font-size: 24px;
    color: #2A53C1;
    line-height: 37px;
    text-align: center;
    display: inline-block;
    margin: auto;
    width: -webkit-fill-available;
}

.nodata {
    text-align: center;
    padding: 12px;
}

.nodata p {
    color: #333;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
}

.sear-list a {
    display: block;
    padding: 12px;
}

.sear-list a .catename {
    background-color: transparent;
    color: #2A53C1;
    padding: 0;
}

.sear-list a h2 {
    margin: 8px 0;
}

.keylist .container {
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #EFEFF6;
    background: #F8F9FB;
}

.keylist .container .heading {
    padding-left: 0;
    color: #2A53C1;

}

.keylist .container .flex {
    display: flex;
    flex-wrap: wrap;
}

.keylist .flex a {
    width: 25%;
    display: flex;
    gap: 24px;
    padding: 12px;
    position: relative;
    align-items: center;
}

.keylist .flex a::after {
    position: absolute;
    content: '';
    width: 1px;
    height: calc(100% - 24px);
    background: #E4E5E9;
    bottom: 10px;
    right: 12px;
}

.keylist .flex a:nth-child(4n):after {
    display: none;
}

.keylist .flex a span {
    width: 10px;
    height: 10px;
    background-color: #2A53C1;
    border-radius: 100%;
}

.keylist .flex a i {
    color: #2A53C1;
    margin-left: auto;
    padding-right: 24px;
}

.keylist .flex a:nth-child(1),
.keylist .flex a:nth-child(2),
.keylist .flex a:nth-child(3),
.keylist .flex a:nth-child(4) {
    border-bottom: 1px solid #E4E5E9;
}

@media (max-width:1200px) {
    .keylist .container {
        margin: 0 12px;
        width: calc(100% - 24px);
    }
}

@media (max-width:768px) {
    .keylist .container {
        padding: 16px;
    }

    .keylist .flex a {
        width: 33.33%;
    }

    .keylist .flex a:nth-child(4n):after {
        display: block;
    }

    .keylist .flex a:nth-child(3n):after {
        display: none;
    }

    .keylist .flex a:nth-child(5),
    .keylist .flex a:nth-child(6) {
        border-bottom: 1px solid #E4E5E9;
    }

}

@media (max-width:550px) {

    .search {
        padding: 5px 12px;
    }

    .search input {
        padding: 6px 0 6px 12px;
    }

    .search input,
    .search input::placeholder {
        font-size: 14px;
        line-height: 20px;
    }

    .search_btn {
        border-radius: 6px;
        width: 32px;
        height: 32px;
        border: 2px solid #2A53C1;
    }

    .search_btn i {
        line-height: 28px;
    }

    .sear-input {
        width: calc(100% - 45px);
        border-bottom: 1px solid #CCCED7;
    }

    .nodata p {
        font-size: 12px;
        line-height: 18px;
    }

    .sear-list a {
        display: block;
        padding: 12px 6px;
    }

    .sear-list a h2 {
        margin: 4px 0;
    }

    .keylist .container {
        padding: 12px;
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .keylist .flex a {
        width: 50%;
        padding: 12px 6px;
    }
    .keylist .flex a:nth-child(3n):after {
        display: block;
    }

    .keylist .flex a:nth-child(2n):after {
        display: none;
    }
    .keylist .flex a span{
        display: none;
    }

    .keylist .flex a p{
        font-size: 12px;
        line-height: 16px;
    }
    .keylist {
        padding-bottom: 12px;
    }

}