@charset "utf-8";

/*--------------------컨텐츠----------------------*/
.con-wrap {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to a new row */
    gap: 20px; /* Add space between the elements */
    margin-bottom: 20px;
    justify-content: flex-start; /* Ensure even spacing */
}

.con-wrap > div {
    flex: 1 1 calc(25% - 20px); /* Each item takes up 25% width minus the gap */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 10px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: calc(25% - 20px); /* Ensure max width does not exceed 25% - gap */
}

.con-img {
    width: 100%;
    height: 200px; /* Set fixed height */
    background-color: #eee;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.con-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.con-img>span, .con-img>p{
    display: none;
}

@media (max-width:480px) {
    .con-wrap {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .con-wrap > div {
        width: 90%;
        max-width: 90%; /* Ensure max width is 90% for smaller screens */
    }
}

.con-txt{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.multi-line-ellipsis {
    width: calc(180px - 1em);
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 3.6em;
    margin-right: -1em;
    padding-right: 1em;
}

.multi-line-ellipsis:before {
    content: '...';
    position: absolute;
    right: 0;
    bottom: 0;
}

.multi-line-ellipsis:after {
    content: '';
    position: absolute;
    right: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    background: white;
}

.con-range{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    font-size: 18px;
}

#performance .con-txt{
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
}

.underlined-text {
    position: relative;
    display: inline-block;
    color: white; /* Adjust color as needed */
}

.underlined-text::after {
    content: "";
    position: absolute;
    width: 80%; /* Set the underline width to 80% */
    height: 2px; /* Adjust thickness of the underline */
    bottom: -20px; /* Adjust distance between text and underline */
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
    background-color: white; /* Adjust underline color */
}