/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn‚Ñ¢
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* 페이버릿 버튼 사진위로 올리는 오버레이*/

.isel-fav-btn{
	position:absolute;
	right:10px; bottom:10px;   /* 원하는 위치 */
	z-index:20;                /* 오버레이 위로 */
	pointer-events:auto;       /* 버튼 클릭 가능 */
}

/* /wp-content/themes/uncode-child/style.css */

/* 페이버릿 버튼 기본 상태 – 배경·테두리·패딩 제거 */

.simplefavorite-button{
  background: none !important;   /* 배경 투명 */
  border:    none !important;    /* 테두리 제거 */
  padding:   0    !important;    /* 불필요한 여백 제거 */
  color:     #007bff;            /* 파란 글자(링크 색) */
  cursor:    pointer;            /* 손가락 커서 */
  font-size: inherit;            /* 부모 글자 크기 그대로 */
}

/* 이미 즐겨찾기된(active) 상태 – 색만 바꿔 강조 */
.simplefavorite-button.active{
  color:#e21c4c; /* 빨간색 등 원하는 색상 */
}


/* 페이지 ID 162116(아티스트 페이지임) 에서 Favorite 버튼·고정 박스 모두 숨김 */
body.page-id-162116 .simplefavorite-button, /* 개별 버튼 */
body.page-id-162116 .isel-fav-btn,          /* 썸네일 오버레이 래퍼 */
body.page-id-162116 #isel-fav-sticky {      /* 우측 하단 고정 박스 */
    display: none !important;
}


/* 1) 기본 상태: 버튼 숨김 */
.isel-fav-btn{
  opacity:0;            /* 투명 */
  visibility:hidden;    /* 포인터도 차단 */
  transition:opacity .2s ease;
}

/* 2) 썸네일을 호버했을 때만 노출 */
.t-entry-visual:hover .isel-fav-btn,
.t-entry-visual-cont:hover .isel-fav-btn,
.isel-fav-btn:hover,           /* 버튼 위로 바로 이동했을 때 끊김 방지 */
.isel-fav-btn:focus{           /* 키보드 포커스 접근성 */
  opacity:1;
  visibility:visible;
}


