/* CI4 inline <style> of Views/portfolio (pf/all), loaded only on /portfolio */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.portfolio-bar {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-search {
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-search-wrap {
    position: relative;
    width: 260px;
}

.portfolio-search-wrap input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.search-btn {
    height: 38px;
    padding: 0 16px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.suggest-list {
    box-sizing: border-box;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 99;
    max-height: 240px;
    overflow-y: auto;
}

.suggest-list li {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
}

.suggest-list li:hover {
    background: #f5f5f5;
}

.potfolio_box .potfolio_list > ul > li {
    outline: unset;
    position: relative;
}

.potfolio_box .potfolio_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.potfolio_box .potfolio_list {
    text-align: center;
}

.potfolio_box .potfolio_list p {
    font-size: 22px;
}

.wrap_1780 {
    max-width: 1550px;
    margin: 0 auto;
}

.potfolio_box .potfolio_list ul li .text {
    max-height: 75px;
}

.potfolio_box .potfolio_list ul li .text .txt_box {
    text-align: left;
}

.potfolio_box .potfolio_list ul li .social_box ul.social_link li {
    float: left;
    margin-right: 10px;
    margin-bottom: -8px;
}

.potfolio_box .potfolio_list ul li .img_box img {
    transition: 0.5s all;
    width: 100%;
    max-height: 248px;
}

.potfolio_box .potfolio_list > ul > li {
    outline: solid 1px #dbdbdb;
    position: relative;
}

.potfolio_list ul > li:not(.list-content) {
    outline: none !important;
    border: none !important;
}

.wrap_1780 h2 {
    display: block;
}

@media screen and (max-width: 700px) {
    .potfolio_box .potfolio_list ul li .img_box img {
        height: 54vw;
        max-height: 54vw;
    }
}

@media screen and (max-width: 400px) {
    .portfolio-search-wrap {
        width: 14rem;
    }

    .portfolio-bar {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .portfolio-count {
        text-align: left;
        font-size: 0.875rem;
    }

    .portfolio-search {
        width: 100%;
        align-items: stretch;
        gap: 0.5rem;
    }

    .portfolio-search-wrap {
        width: 100%;
    }

    .portfolio-search-wrap input {
        height: 2.4rem;
        font-size: 0.875rem;
    }

    .search-btn {
        width: 25%;
        height: 2.4rem;
        font-size: 0.9rem;
    }
}

/* 아주 작은 화면 (< 350px): 포트폴리오 소셜 아이콘 간격 축소 */
@media screen and (max-width: 349.98px) {
  .potfolio_box .potfolio_list ul li .social_box ul.social_link li {
    margin-right: -1rem;
  }
}
