main {
    display: block;
    width: 100%;
    height: auto;
    min-height: 70svh;
    max-width: var(--main-width);
    margin: 0 auto;
    background-color: var(--bg-02);
    position: relative;
    padding: 0 15px 2rem;
}

.place-list-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color-06);
    margin-bottom: 1rem;
}

.place-list-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-01);
    line-height: 1.3;
}

.place-list-desc {
    color: var(--text-02);
    font-size: .95rem;
    line-height: 1.6;
}

.place-list-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    padding-left: 0.5rem;
}

.caption-text {
    margin: 0;
    font-size: .875rem;
    color: var(--text-02);
}

.place-list-count {
    font-size: 1.125em;
    font-weight: 600;
    color: var(--primary);
}

.place-list-sort {
    display: flex;
    align-items: center;
}

#place-list-sort-select {
    min-width: 120px;
    height: 38px;

    padding: 0 .9rem;

    border: 1px solid var(--border-color-06);
    border-radius: 8px;


    color: var(--text-02);
    font-size: .92rem;

    cursor: pointer;

    transition: .2s;
}

#place-list-sort-select:hover {
    border-color: var(--primary-border);
}

#place-list-sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111,140,175,.15);
}

.place-list-and-map {
    display: flex;
    width: 100%;
    height: auto;
    gap: 10px;
    margin: 1rem 0;
    align-items: stretch;

}

.place-list-body {
    flex: 3 1 0;
    display: block;
    width: auto;
    min-width: 0;
}

.place-map {
    flex: 2 1 0;
    display: block;
    width: auto;
    min-width: 0;
    min-height: 400px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-07);
    position: relative;
}
#place_map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.place-list-items {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0;
    gap: 1.5rem;
    list-style: none;
}
.place-list-items > .place-list-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--border-color-06);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    gap: 0;
    position: relative;
    transition: all 0.2s ease;
}
.place-list-items > .place-list-item.active {
    transform:translateY(-2px);
    box-shadow:  0 8px 20px rgba(0,0,0,.08);
}

.place-list-items > .place-list-item:hover {
    transform:translateY(-2px);
    box-shadow:  0 8px 20px rgba(0,0,0,.08);
}
.place-list-items > .place-list-item > .btn-like {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color-06);
    transition: all 0.2s ease;
    z-index: 1;
    font-size: 1.25rem;
}
.place-list-items > .place-list-item > .btn-like:hover > .icon {
    transform: scale(1.125);
}
.place-list-items > .place-list-item .place-detail_wrapper {
    width: 100%;
    min-width: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 1px;
    background-color: var(--border-color-05);
}
.place-list-items > .place-list-item .place-detail_wrapper > * {
    background-color: var(--bg-02);
}
.place-list-items > .place-list-item .place-detail_wrapper > .place-detail {
    padding: 10px 10px 10px 0;
}
.place-list-items > .place-list-item .place-detail_wrapper > .creator-review {
    padding: 10px;
} 
.place-list-items > .place-list-item .place-detail_wrapper > .user-review {
    padding: 10px 0 10px 10px;
}
.place_name_wrapper {
    width: 100%;
    min-width: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: .35rem;
}
.place_name_wrapper > .place_name {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
    height: auto;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 500;
    gap: .35rem;
}
.place_name_wrapper > .place_name > .place-logo {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    border: 1px solid var(--border-color-05);
}
.place_name_wrapper > .place_name > a {
    display: block;
    width: fit-content;
    height: auto;
    color: #000;
    transition: all 0.2s ease;
}
.place_name_wrapper > .place_name > a:hover {
    color: var(--primary);
}
.place_name_wrapper > .place_name > .place-name-deco {
    display: inline-block;
    font-size: .7rem;
    font-weight: 400;
}
.place_name_wrapper > .up_dt {
    flex: 0 0 auto;
    display: block;
    width: fit-content;
    height: auto;
    min-width: 0;
    font-size: 1rem;
    color: var(--text-03);
}

.place_tags {
    display: flex;
    width: 100%;
    height: auto;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-size: .875rem;
}
.place_tags > .tag {
    display: block;
    padding: 0.25em 0.5em;
    color: var(--help);
    border: 1px solid var(--help);
    background-color: var(--help-light);
    border-radius: 0.5em;
    transition: all 0.2s ease;
}
.place_tags > .tag:hover {
    color: #000;
    border-color: #000;
    background-color: var(--help-light);
}

.user_profile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1;
}
.user_profile > .profile_photo {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 0;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    border: 1px solid var(--border-color-05);
}
.user_profile > .profile_photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user_profile > .profile_text {
    color: var(--text-03);
    font-size: .875rem;
}
.user_profile > .user_level {
    font-size: .875rem;
    color: var(--text-userlevel);
}
.user_profile > .nickname {
    color: #000;
}

.place_detail_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    gap: .25rem;
    margin-top: 0.5rem;
}

.creator-review, .user-review {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    gap: .4rem;
}
.creator-review > h4, .user-review > h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-01);
}
.review_text_box {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
}
.review_text_box  > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .875rem;
    color: var(--text-02);
    line-height: 1.4;
}

.user_rating_box {
    display: flex;
    min-width: 0;
    max-width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
}
.user_rating_box > p {
    font-size: .875rem;
    color: var(--text-03);
}
.user_rating_box > .rating_text {
    font-size: .875em;
    font-weight: 600;
    color: #000;
}

.map_info_window {
    position: relative;
    width: auto;
    min-width: 220px;
    max-width: 330px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbe4f0;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.16);
}

/* 테두리 */
.map_info_window::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: #dbe4f0 transparent transparent transparent;
}

/* 내부 흰색 */
.map_info_window::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.map_info_window .place_title {
    display: block;
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem; 
    margin-bottom: 0.25rem;
}

.map_info_window .ratings {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    justify-content: flex-start;
}
.map_info_window .ratings > p {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 0.875rem;
    padding-left: 8px;
    position: relative;
    white-space: nowrap;
}
.map_info_window .ratings > p::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--border-color-03);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}




.new {
    display: inline-block;
    width: fit-content;
    height: auto;
    padding: 2px 6px;
    font-weight: 600;
    color: var(--info);
    background-color: var(--info-light);
    border-radius: 4px;
}

.hot {
    display: inline-block;
    width: fit-content;
    height: auto;
    padding: 2px 6px;
    font-weight: 600;
    color: var(--required);
    background-color: var(--required-light);
    border-radius: 4px;
}

@media (max-width:768px){

    .place-list-caption{
        flex-direction:column;
        align-items:flex-start;
        gap:.75rem;
    }

    #place-list-sort-select{
        width:140px;
    }

}


