.fc-scope {
  padding-top: 0 !important;
  padding-bottom: min(20vh, 2rem);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 0 !important; /* 상단 마진 제거 */
  font-family: "Noto Sans KR", "Lato", sans-serif;
  background-image: url('../images/unnamed.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative; /* 가상요소 기준점 */
}

/* fc-scope 상단에 파란색 배경 추가 - 실제 텍스트 위치에 맞게 조정 */
.fc-scope::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60px; /* 상단 높이를 줄여서 실제 텍스트 위치에 맞게 */
  background: hsl(232, 100%, 24%);
  z-index: -1;
}

.fc-container {
  margin-top: 3em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  max-width: min(76.5rem, 90%);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1; /* 파란색 배경 위에 표시 */
}

/* 카드 프레임 */
.fc-card-inner {
  position: relative;
  width: 100%;
  height: 18.75rem;
  background: transparent;
  border-radius: 1.25rem;
  border-bottom-right-radius: 0;
  overflow: hidden;
}
.fc-box { width: 100%; height: 100%; background: transparent; border-radius:1.25rem; overflow:hidden; }
.fc-imgBox { position:absolute; inset:0; }
.fc-imgBox img { 
  width:100%; 
  height:100%; 
  object-fit:cover;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* 아이콘 컷아웃 */
.fc-icon {
  position:absolute; bottom:-.375rem; right:-.375rem;
  width:6rem; height:6rem;
  background: transparent; border-top-left-radius:50%;
}
.fc-icon::before {
  content:""; position:absolute; bottom:.375rem; left:-1.25rem;
  width:1.25rem; height:1.25rem; border-bottom-right-radius:1.25rem;
  box-shadow:.313rem .313rem 0 .313rem transparent;
}
.fc-icon::after {
  content:""; position:absolute; top:-1.25rem; right:.375rem;
  width:1.25rem; height:1.25rem; border-bottom-right-radius:1.25rem;
  box-shadow:.313rem .313rem 0 .313rem transparent;
}
.fc-iconBox {
  position:absolute; inset:.625rem;
  background:hsl(174, 90%, 38%); border-radius:50%;
  display:flex; justify-content:center; align-items:center;
  transition:.3s;
}
.fc-iconBox span { color:hsl(0, 0%, 0%); font-size:1.5rem; }
.fc-icon:hover .fc-iconBox { transform:scale(1.1); }

/* 콘텐츠 */
.fc-content { padding:.938rem .625rem; }
.fc-content h3 { font-size: clamp(1.5rem,1.4rem + .4vw,1.8rem); }
.fc-content p { margin:.625rem 0 1.25rem; color:#565656; }

/* 디버깅: section-label 하단에 가로줄 추가 - 제거됨 */
.fc-scope .section-label {
  /* border-bottom: 2px solid red !important; 디버깅용 빨간 가로줄 제거 */
  /* background-color: rgba(255, 0, 0, 0.1) !important; 디버깅용 빨간 배경 제거 */
}

/* 태그 */
.fc-scope .section-title {
  color: lab(14.79% 37.42 -57.83); /* 원하는 색상 코드 */
  margin-top: 0 !important; /* 상단 마진 제거 */
  margin-bottom: 0 !important; /* 하단 마진 제거 */
  padding-top: 70px !important; /* 라벨 전체 높이 + 간격을 고려한 큰 값 */
  padding-bottom: 20px !important; /* 하단 패딩 추가 */
  background: transparent !important; /* 배경색 제거 */
  background-color: transparent !important; /* 배경색 제거 */
  position: relative; /* 위치 조정을 위해 */
  top: 0; /* 실제 텍스트 위치로 조정 */
}

/* === fc-scope 섹션 스크롤 애니메이션 === */
.fc-card {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fc-card.fc-show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 911px) {
  .fc-scope {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0 !important; /* 상단 패딩 제거 */
    margin-top: 0 !important; /* 상단 마진 제거 */
  }
  
  .fc-scope .section-title {
    margin-top: 0 !important; /* 모바일에서도 상단 마진 제거 */
    margin-bottom: 0 !important; /* 하단 마진 제거 */
    padding-top: 70px !important; /* 모바일에서도 라벨 전체 높이 + 간격을 고려한 큰 값 */
    padding-bottom: 15px !important; /* 모바일에서 하단 패딩 추가 */
    position: relative; /* 위치 조정을 위해 */
    top: 0; /* 실제 텍스트 위치로 조정 */
  }
  
  .fc-container {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 4em;
  }
  
  .fc-card {
    position: relative;
    padding-bottom: 0;
    width: 100%;
  }

}

/* === 이미지 보호를 위한 전역 스타일 === */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}