/*===========================================
11📌 Notion 갤러리뷰 통합 커스텀
[목차]
0. 📁 공통 베이스 (Common Base)
1. 📁 기본 카드형 (Standard Cards)
2. 📁 커스텀형 (Custom Callout Cards)
3. 📁 전역 속성 제어 (Global Properties)
===========================================*/
/*0. 📁 공통 베이스-------------------------
- 모든 갤러리에 적용되는 화이트 카드 베이스
- PC글자:제목 18, 설명 12 /모바일 글자: 제목 16, 설명 10 / 카드갭 pc10 모바일8
-------------------------------------------*/
.notion-collection-gallery:has(.notion-collection-card__cover) .notion-collection-card__cover,
.notion-collection-gallery:has(.notion-collection-card__cover) .notion-collection-card__cover > div,
.notion-collection-gallery:has(.notion-collection-card__cover) .notion-collection-card__cover img {
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  object-fit: cover !important;
}
.notion-collection-gallery:has(.notion-collection-card__cover) .notion-collection-card {
  width: 100% !important;
  background: transparent !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  border: 0px solid rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
}
/*-----------------------------------------*/
/* 전역 속성 제어 (Global Properties) */
/* [1] 제목: PC 16px / 모바일 13px */
.notion-collection-card__property:first-child,
.notion-collection-card__property:first-child * {
    font-family:'Roboto Flex','Noto Sans KR',sans-serif !important;
    font-size: 18px !important;
    color: #37352f !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
/* [2] 하단 모든 속성 통합 제어 (기본 12px / 볼드 포함) */
.notion-collection-card__property:not(:first-child),
.notion-collection-card__property:not(:first-child) *,
.notion-collection-card__property:not(:first-child) span,
.notion-collection-card__property:not(:first-child) div,
.notion-collection-card__property:not(:first-child) :is(b, strong, [style*="700"], [style*="bold"]) {
    font-family:'Roboto Flex','Noto Sans KR',sans-serif !important;
    font-size: 12px !important; 
    color: #37352f !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;

}
/* [3] 관계형(Relation) 정렬 */
[class*="notion-property__relation"] :is(svg, img, .notion-item-icon, [class*="icon"]),
[class*="notion-property__relation"] a::before {
    display: none !important;
}
[class*="notion-property__relation"] a {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important; 
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
}
/* 📌 관계형 링크 호버 시 설정 */
[class*="notion-property__relation"] a:hover,
[class*="notion-property__relation"] a:hover * {
    color: #D34A45 !important;
    text-decoration: none !important; 
}
/* 텍스트 자체의 미세한 간격 조정 */
[class*="notion-property__relation"] span,
[class*="notion-property__relation"] .notion-link {
    margin-left: 0 !important;
    padding-left: 0 !important;
    color: inherit !important;
}
@media (max-width: 768px) {
    /* [1] 제목14px/속성10px */
    .notion-collection-card__property:first-child,
    .notion-collection-card__property:first-child * {
        font-size: 16px !important;
    }
    .notion-collection-card__property:not(:first-child),
    .notion-collection-card__property:not(:first-child) *,
    .notion-collection-card__property:not(:first-child) span,
    .notion-collection-card__property:not(:first-child) div,
    .notion-collection-card__property:not(:first-child) :is(b, strong, [style*="700"], [style*="bold"]) {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    /* 관계형 링크 모바일 정렬 보정 */
    [class*="notion-property__relation"] a {
        font-size: 10px !important;
    }
}
