/*
 Theme Name:   My Listing Child
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/

/*공통*/
.inline { display: inline-block; }
.center { text-align: center !important;}

/*헤더*/
.i-nav > ul > li {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/*메인*/
div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-b3fe084 > div > div 
	{line-height: 32px;}
div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-b3fe084 > div > div > div > h5
	{font-size: 20px;}
.post-date {font-size: 14px; color: #909090; }
#post-recent-lists > div > ul > li {
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 최대 줄 수 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#post-recent-lists > div > h5 {font-size: 20px !important;}
div.elementor-column.elementor-col-50.elementor-inner-column.elementor-element.elementor-element-b3fe084 > div > div {
line-height: 20px !important; }

@media only screen and (max-width: 768px){
.post-date {display:none; }
.lf-avatar {display:none; }
.lf-background {height:70% !important; }

.ac-front-side .cat-icon i {font-size: 15px !important; }
.ac-front-side .cat-icon {width: 30px !important; height: 30px !important; }
.hovering-c {padding: 10px 1px !important;}
#pt-cv-view-dc408df03g .pt-cv-thumbnail:not(.pt-cv-thumbnailsm) {height: 200px !important;}
#pt-cv-view-2ba30ffr3t .pt-cv-thumbnail:not(.pt-cv-thumbnailsm) {height: 200px !important;}
.post-item {font-size: 16px;}
}	
.category-recent-posts li.post-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}





/*블로그*/
.sbf-title a { font-size: 20px !important; font-weight: 700 !important;}
.sbf-title p { font-size: 17px !important; }
section.i-section.blogpost-section { background-color: #ffffff; }
/*.social-share-modal .share-options { padding-left: 20px; padding-right: 20px; }*/
.blog-featured-image img { display: none; }
.post-cover-buttons {margin-top: 30px !important;}


	
/*리스팅 미리보기(목록)*/
.listing-preview-title { font-size: 17px !important; font-weight:500 !important;}
.ad-badge { display: none !important; }
.lf-type-2 .lf-item-info-2 {padding: 12px 15px 1px !important; }


/* ========================================
   폐점 리스팅 시각적 구분 스타일 시작
   ======================================== */


/* 프리뷰 카드만 스타일 적용 */
.lf-item-container.listing-is-closed,
.listing-preview.listing-is-closed {
    position: relative;
    opacity: 0.7 !important;
}

/* 강력한 빨간 테두리 (프리뷰 카드만) */
.lf-item-container.listing-is-closed,
.listing-preview.listing-is-closed {
    
    box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.2) !important;
}

/* 회색 오버레이 (프리뷰 카드만) */
.lf-item-container.listing-is-closed::before,
.listing-preview.listing-is-closed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* 대각선 줄무늬 패턴 (프리뷰 카드만) */
.lf-item-container.listing-is-closed::after,
.listing-preview.listing-is-closed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(231, 76, 60, 0.05) 10px,
        rgba(231, 76, 60, 0.05) 20px
    );
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* 폐점 배지 - 우측 상단 리본 스타일 */
.closed-listing-ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: #222222;
    color: white;
    padding: 6px 15px 6px 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 100;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* 리본 꼬리 */
.closed-listing-ribbon::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 0;
    border-color: transparent #c0392b transparent transparent;
}

/* 리본 접힌 부분 */
.closed-listing-ribbon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(0,0,0,0.2);
}

/* 이미지 흑백 + 어둡게 (프리뷰 카드만) */
.lf-item-container.listing-is-closed img,
.listing-preview.listing-is-closed img {
    filter: grayscale(80%) brightness(0.8) !important;
    transition: filter 0.3s ease;
}

/* 호버 시 이미지 약간 밝게 */
.lf-item-container.listing-is-closed:hover img,
.listing-preview.listing-is-closed:hover img {
    filter: grayscale(60%) brightness(0.9) !important;
}

/* 제목 스타일 - 회색 + 취소선 (프리뷰 카드만) */
.lf-item-container.listing-is-closed .listing-title,
.lf-item-container.listing-is-closed .listing-preview-title,
.lf-item-container.listing-is-closed h4,
.lf-item-container.listing-is-closed h4 a,
.listing-preview.listing-is-closed .listing-title,
.listing-preview.listing-is-closed .listing-preview-title,
.listing-preview.listing-is-closed h4,
.listing-preview.listing-is-closed h4 a {
    color: #999 !important;
    text-decoration: line-through !important;
    opacity: 0.8;
}

/* 카테고리 아이콘 어둡게 (프리뷰 카드만) */
.lf-item-container.listing-is-closed .listing-category,
.lf-item-container.listing-is-closed .category-icon,
.listing-preview.listing-is-closed .listing-category,
.listing-preview.listing-is-closed .category-icon {
    opacity: 0.5;
}

/* 평점/별점 숨김 (프리뷰 카드만) */
.lf-item-container.listing-is-closed .star-rating,
.lf-item-container.listing-is-closed .listing-rating,
.listing-preview.listing-is-closed .star-rating,
.listing-preview.listing-is-closed .listing-rating {
    opacity: 0.4;
}

/* 지도 마커도 시각적 구분 */
.marker-icon.listing-is-closed-marker {
    opacity: 0.5;
    filter: grayscale(70%);
}

/* 리스트 뷰 추가 스타일 (프리뷰 카드만) */
.list-view .lf-item-container.listing-is-closed,
.list-view .listing-preview.listing-is-closed {
    background: rgba(231, 76, 60, 0.03);
}

/* 호버 효과 (프리뷰 카드만) */
.lf-item-container.listing-is-closed:hover,
.listing-preview.listing-is-closed:hover {
    opacity: 0.85 !important;
    border-color: #c0392b !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .closed-listing-ribbon {
        font-size: 10px;
        padding: 4px 12px 4px 10px;
        top: 10px;
    }
}

/* 체크박스 + 텍스트 세로 가운데 정렬 */
.tags-nav li .md-checkbox {
    display: flex;
    align-items: center;
}


/* ========================================
   폐점 리스팅 시각적 구분 스타일 시작  끝
   ======================================== */



/*리스팅 상세*/
#c27-single-listing {background-color: #F4F4F4;}
#c27-single-listing > div.main-info-mobile > div > div:nth-child(1) > div > h1 {text-align: center !important;}
.title-style-1 > h5 {font-weight: 500 !important;}
.profile-header .profile-menu ul li a { font-size: 17px !important;}
#ff-stream-1 > div.ff-loadmore-wrapper {display: none;}
.ff-stream {padding:0 !important;}
.timing-today {font-size: 17px !important;}
.open-now .pf-body .extra-details {margin-top: 30px; }
.open { font-size: 20px; font-weight: 500 !important; }
.item-attr, .item-property {font-size: 17px !important;}
.work-hours-timezone {margin-top: 10px; color: #6C6C6C !important; }
.listing-status-banner.closed {color:#fff !important; font-weight: 500; text-align:center; padding:10px; background-color:#AC0000;}
@media only screen and (max-width: 1200px){
.listing-main-buttons>ul {justify-content: center !important;}
.profile-name.no-tagline {justify-content: center !important;}
}



/* 기사모음 태그 링크 숨기기 */

#pt-cv-view-dc408df03g > div > div > div.pt-cv-colwrap > div.pt-cv-meta-fields > span > a[href*="/post-tag/"] {
    pointer-events: none; /* 클릭 차단 */
    cursor: default; /* 마우스 포인터 기본으로 */
    text-decoration: none; /* 밑줄 제거 */
	font-size: 15px !important;
	font-weight: 600 !important;
	color: inherit; /* 글자색 상속 */    
}
#pt-cv-view-dc408df03g > div > div > div.pt-cv-colwrap > div.pt-cv-meta-fields > span > a[href*="/post-tag/"]::before {content: "출처: "; }

 
/*풍동소개 교통*/
.bus { letter-spacing: -0.5px; }
.bus span.type { vertical-align: middle;
	padding:2px 10px 2px 10px; border-radius: 50px 50px 50px 50px;
	color: #fff !important;  }
.bus span.bus_num { vertical-align: middle; font-size: 25px; font-weight:600; color:#000 !important; margin-left: 10px; }
.bus p.bus_route {margin-top: -10px; margin-left: 58px;}
.bus span.type_gs { background-color: #6275F3; }
.bus span.type_gh { background-color: #804000; }
.bus span.type_gy { background-color: #F73634; }
.bus span.type_me { background-color: #D39738 }
.bus span.type_ib { background-color: #4FD4BE; }
.bus span.type_js { background-color: #1468AE; }
.bus span.type_zs { background-color: #27912C; }

.subway_kj { letter-spacing: -0.5px; color: #03A39B;
	width: 40%; border: solid 8px #03A39B; border-radius: 50px 50px 50px 50px; margin-left:10px; margin-right:10px; }
.subway_3 { letter-spacing: -0.5px; color: #FC7818;
	width: 15%; border: solid 5px #FC7818; border-radius: 50px 50px 50px 50px; margin-left:5px; margin-right:5px; }
.station { font-size: 25px; text-align: center; font-weight: 600; margin-top:17px; margin-bottom: 5px; }	
.line { font-size: 12px; text-align: center; margin-bottom: 10px;}	
.station_s { font-size: 18px; text-align: center; font-weight: 600; margin-top:13px; margin-bottom: 1px; }	
.line_s { font-size: 12px; text-align: center; margin-bottom: 7px;}	