.content_type18 .search {
    /* margin: 0 16px; */
    padding: 25px 30px;
    background: rgba(205, 205, 205, 0.3);
    margin-bottom: 36px;
}

    .content_type18 .search .form-label {
        font-weight: 500;
    }

    .content_type18 .search .search_btn {
        background-color: var(--color-primary);
        color: rgb(255, 255, 255);
        padding-left: 40px;
        padding-right: 40px;
    }

        .content_type18 .search .search_btn:hover {
            filter: brightness(0.9);
        }

.content_type18 .waterfall {
    width: 100%;
    margin: 0px auto;
    column-count: 3;
    /*欄數*/
    column-gap: 1rem;
    /*每欄間隔*/
}

.content_type18 .item {
    display: block;
    /* margin: 0 16px; */
    position: relative;
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid #D5D5D5;
    break-inside: avoid;
    /*定義頁面、列或是區域發生中斷時的元素表現方式。 auto->元素中斷、acoid->元素不中斷*/
}


  /*  .content_type18 .item:hover {
        background-color: #ffefdf;
    }*/

    .content_type18 .item .item_title:hover {
        color: var(--color-primary);
    }

    .content_type18 .item .item_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.25rem;
        color: #000;
        text-decoration: none;
    }

    .content_type18 .item .floor {
        margin-top: 6px;
        padding-left: 1.5rem;
        margin-bottom: 0;
    }

        .content_type18 .item .floor li {
            list-style-type: "\23AF";
        }

        .content_type18 .item .floor a {
            display: block;
            color: #5E5E5E;
            font-size: 1.25rem;
            text-decoration: none;
            padding-left: 16px;
        }

        .content_type18 .item .floor li:not(:last-child) a {
            margin-bottom: 10px;
        }

        .content_type18 .item .floor a:hover {
            color: var(--color-primary);
        }

    .content_type18 .item .item_title i {
        color: var(--color-primary);
    }

    .content_type18 .item::before {
        content: "";
        position: absolute;
        top: 20px; /* 調整上下位置 */
        
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #ffefdf;
        background-image: url("/Img/tabler_link.png");
        background-repeat: no-repeat;
        background-position: center; /* PNG 置中 */
        background-size: 20px 20px; /* 調整圖示大小 */

        z-index: 2;
    }

.content_type18 .item {
    background-image: url(/Img/infogroup.png);
    background-repeat: no-repeat;
    background-position: right;

}

/*    .content_type18 .item:after {
        content: url(/Img/infogroup.png);
        width: 40px;
        height: 40px;
        position: absolute;
        right: 0;
    }*/

    .content_type18 .item:hover:before {
        content: url(/Img/list.svg);
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--color-primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .content_type18 .item:hover:after {
        content: "";
        position: absolute;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #80808045;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        top: 15px;
        left: 15px;
    }

.content_type18 .info {
    margin-left: 80px;
}

@media (max-width: 575.98px) {
    .content_type18 .search, .content_type18 .item {
        margin-left: 0;
        margin-right: 0;
    }
}
