.contents__layout > .contents__layout__inner{
    padding-top: 0;
}

.contents__layout > .contents__layout__inner .img__wrap{
    border-radius: 5px;
    overflow: hidden;
    height: 250px;
}
.contents__layout{
  max-width: 61%;
  place-self: center;
  margin-top: -40px;
}
.contents__layout > .contents__layout__inner .img__wrap img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.s2{
  width: 80%;
  place-self: center;
  padding-bottom: 20px;
}

.contents__layout > .contents__layout__inner > p{
    margin: 0;
    margin-top: 20px;
}

.intro__business__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
}

.intro__business__list > li{
    width: 100%;
    height: auto;
}

.intro__business__list > li a{
    width: 100%;
    height: auto;
    display: block;
}

.intro__business__list > li a div{
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.intro__business__list > li a div img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.intro__business__list > li a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-top: 5px;
}

.map__wrap{
    width: 100%;
    height: 255px;
    overflow: hidden;
    border-radius: 5px;
}

.map__wrap .root_daum_roughmap{
    width: 100%;
    height: 100%;
}

.map__wrap .root_daum_roughmap .wrap_map{
    height: 100%;
}

.map__wrap .root_daum_roughmap .map_border{
    opacity: 0;
}

.map__info__list{
    display: block;
    width: 100%;
    height: auto;
}

.map__info__list > li{
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.map__info__list > li:last-of-type{
    border-bottom: none;
}

.map__info__list > li img{
    width: 15px;
    height: auto;
    margin-right: 5px;
}

.board__list{
    width: 100%;
    height: auto;
}

.board__list li{
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
}

.board__list li:last-of-type{
    margin: 0;
    padding: 0;
    border: none;
}

.board__list li > a{
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    gap: 14px;
}

.contents__layout > .contents__layout__inner .board__list li > a .img__wrap{
    width: 115px;
    height: 85px;
    border-radius: 5px;
    overflow: hidden;
    padding: 8px;
}

.contents__layout > .contents__layout__inner .board__list li > a .img__wrap img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: contain;
}

.board__list li > a div{
    width: calc(100% - 140px);
}

.board__list li > a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 28px;
}

.board__list li > a span{
    font-size: 14px;
    font-weight: 500;
    color: #909090;
    line-height: 22px;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube__list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 12px;
}

.youtube__list > li{
    width: calc(50% - 6px);
    height: auto;
}

.youtube__list > li a{
    width: 100%;
    height: auto;
    display: block;
}

.youtube__list > li a .youtube__wrap{
    width: 100%;
    height: 135px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.youtube__list > li a .youtube__wrap img:nth-child(1){
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.youtube__list > li a .youtube__wrap img:nth-child(2){
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}

.youtube__list > li a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 26px;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}





/* media */
@media screen and (max-width: 768px){
    .intro__business__list > li a div{
        height: 180px;
    }

    .youtube__list > li a .youtube__wrap{
        height: 180px;
    }
}

/* 리뷰 팝업 스타일 */
.review__popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.review__popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.review__popup__content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
    margin-bottom:20px;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.review__popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.review__popup__header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.review__popup__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.review__popup__close:hover {
    background-color: #f8f9fa;
    color: #000;
}

.review__popup__body {
    padding: 25px;
}

.review__popup__img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.review__popup__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__popup__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.review__popup__info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.review__popup__info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.review__popup__content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.review__popup__content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
}

.review__popup__rating h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}

@media screen and (max-width: 650px){
    .contents__layout > .contents__layout__inner .img__wrap {
        height: 180px;
    }

    .intro__business__list{
        grid-template-columns: 1fr;
    }

    .intro__business__list > li a div{
        height: 140px;
    }

    .youtube__list > li{
        width: 100%;
    }

    .youtube__list > li a .youtube__wrap{
        height: 140px;
    }

    .review__popup__content {
        width: 95%;
        max-height: 90vh;
    }

    .review__popup__header {
        padding: 15px 20px;
    }

    .review__popup__header h3 {
        font-size: 18px;
    }

    .review__popup__body {
        padding: 20px;
    }

    .review__popup__img {
        height: 150px;
    }

    .review__popup__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
