


/*-------------------------------------------
[2-4]히어로 배너(노란색 / 세로형 Full Width
[1] 전역 레이아웃*/
body {
    overflow-x: hidden !important; 
}
.super-content,
.notion-page-content,
.notion-column {
    overflow: visible !important;
}
/* [2] 히어로 배너 본체 (화면 꽉 차게 설정) */
.notion-callout[class*="yellow"] {
    background-color: transparent !important;
    border: none !important;
    padding: 20px 0 !important;
    margin-top: -170px !important; 
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important; /* 슬라이드 시 프레임 밖으로 나가야 함 */
}
/* [3] SEO 텍스트 및 h1 숨김 */
.notion-callout[class*="yellow"] .notion-callout__icon,
.notion-callout[class*="yellow"] h1,
.notion-callout[class*="yellow"] .notion-text,
.notion-callout[class*="yellow"] > .notion-callout__content > div:not([class*="collection"]) {
    display: none !important;
}
/* [4] 슬라이드 화면 왼쪽 끝 밀착 */
.notion-callout[class*="yellow"] .notion-collection-gallery {
    display: flex !important;
    width: 100vw !important; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
    padding-top: 0 !important;
    padding-bottom: 20px !important; 
    gap: 10px !important; 
    overflow-x: auto !important;
    scrollbar-width: none !important;
}
.notion-callout[class*="yellow"] .notion-collection-gallery::-webkit-scrollbar {
    display: none !important;
}
/* [5] 첫 번째 카드 그리드 정렬 */
.notion-callout[class*="yellow"] .notion-collection-card {
    flex: 0 0 550px !important;
    width: 550px !important;
    min-height: 1000px !important;
    position: relative !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}
/* 💡 PC 시작점*/
.notion-callout[class*="yellow"] .notion-collection-card:first-child {
    margin-left: calc((66vw - 1200px) / 2 + 20px) !important; 
}
/* 슬라이드 마지막 여백 */
.notion-callout[class*="yellow"] .notion-collection-card:last-child {
    margin-right: 30px !important;
}
@media (max-width: 768px) {
    /* [1] 갤러리가 들어있는 노란색 콜아웃만 정밀 타격 */
    .notion-callout[class*="yellow"]:has(.notion-collection-gallery) {
        width: 100vw !important;
        max-width: none !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: -120px !important;
        overflow: visible !important; 
        padding-bottom: 3px !important;
    }
    /* [2] 갤러리 내부 구조 */
    .notion-callout[class*="yellow"] .notion-collection-gallery {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        width: 100vw !important;
        padding: 0 !important;
        gap: 10px !important;
        grid-template-columns: none !important; 
        grid-auto-columns: none !important;
    }
    /* [3] 카드 크기 제어 */
    .notion-callout[class*="yellow"] .notion-collection-card,
    .notion-callout[class*="yellow"] .notion-collection-card > a {
        min-width: 75vw !important; 
        max-width: 75vw !important;
        width: 75vw !important;
        flex: 0 0 75vw !important;
        min-height: 480px !important; /* 반응 확인을 위해 고정값 권장 */
        height: auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    /* [5] 시작점 정렬 */
    .notion-callout[class*="yellow"] .notion-collection-card:first-child {
        margin-left: 0px !important;
    }
    /* [6] Slide for more 글자: 패딩만 유지 */
    .notion-callout[class*="yellow"]:has(.notion-collection-gallery) + .notion-text {
        padding-left: 27px !important; 
        margin-top: 0px !important;
    }
}
/*-------[5]썸네일 이미지 및 호버효과-----*/
/* 카드 커버 이미지 초기 상태 */
.notion-callout[class*="yellow"] .notion-collection-card__cover,
.notion-callout[class*="yellow"] .notion-collection-card__cover img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    z-index: 1 !important;
    border-radius: 18px !important;
    object-fit: cover !important;
/* 📍 [7]의 애니메이션 설정을 여기로 통합 */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform;
}
/* 📍 카드 호버 시 이미지 확대 (통합 적용) */
.notion-callout[class*="yellow"] .notion-collection-card:hover .notion-collection-card__cover,
.notion-callout[class*="yellow"] .notion-collection-card:hover .notion-collection-card__cover img {
    transform: scale(1.08) !important;
}
/* 그라데이션 및 텍스트 영역 */
.notion-callout[class*="yellow"] .notion-collection-card__content {
    position: absolute !important;
    bottom: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 75% !important; 
    padding: 0 30px 45px 30px !important;
    z-index: 3 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    pointer-events: none;
}
/*[6]슬라이드 안내 표시 (텍스트)*/
/* 1. 노란색 콜아웃 바로 뒤에 오는 텍스트 블록 찾기 */
.notion-callout[class*="yellow"] + .notion-text {
    display: block !important;
    background-color: transparent !important;
    margin-top: -35px !important; 
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -48vw !important;
    z-index: 100 !important;
}
/* 2. 가이드 문구 텍스트 스타일 */
.notion-callout[class*="yellow"] + .notion-text > div {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding-left: 5px !important;
}
/* [7]폰트 스타일 통합 제어 */
/* 속성1 : 다중선택 버튼 */
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(1) {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(1) .notion-pill {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}
/* 속성2 : 제목 */
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(2),
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(2) * {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}
/* 속성3 : 설명 */
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(3),
.notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(3) * {
    color: rgba(255,255,255,0.9) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5) !important;
}
/* 공통 아이콘 숨김 */
.notion-callout[class*="yellow"] .notion-collection-card__property svg {
    display: none !important;
}
@media (max-width: 768px) {
    .notion-callout[class*="yellow"] .notion-collection-card {
        /* [7]번과 [8]번 중복 통합: 화면 너비에 맞추려면 85vw 추천 */
        flex: 0 0 85vw !important; 
        min-height: 500px !important;
    }
    .notion-callout[class*="yellow"] .notion-collection-card__content {
        padding: 20px !important;
    }
/* 모바일 속성 스타일 */
    .notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(1) .notion-pill {
        font-size: 10px !important;
        padding: 1px 6px !important;
    }
    .notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(2),
    .notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(2) * {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(3),
    .notion-callout[class*="yellow"] .notion-collection-card__property:nth-child(3) * {
        font-size: 11px !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
