#fc {font-size:14px;font-family:'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif}
.fc-head { background: #eee; }
.fc-day-header { padding: 0.5rem !important; font-size:11px;}
.fc-sun span, .fc-sun a.fc-day-number { color:red; }


.fc-day-grid-event {
  display: flex;
  align-items: center; /* 이벤트 박스 내부 텍스트 세로 중앙 정렬 */
}
.fc-day-grid-event .fc-content {
  display: flex;
  align-items: center; /* 내부 콘텐츠도 세로 중앙 정렬 */
  width: 100%;
}
.fc-day-grid-event .fc-title {
  white-space: normal;  /* 잘림 대신 줄바꿈 허용 */
  line-height: 2.2;
  padding: 0rem 0.5rem 0rem 0.5rem;
  font-weight: 600;
  color: #333;
  overflow: hidden; text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;
}

/* v5: 월간 보기 이벤트 (업그레이드/혼합 마크업 대비) */
.fc-daygrid-event {
  display: flex;
  align-items: center;
}
.fc-daygrid-event .fc-event-main {
  display: flex;
  align-items: center;
  width: 100%;
}
.fc-daygrid-event .fc-event-title {
  white-space: normal;
  line-height: 1.2;
}

/* 선택: 중앙 정렬 가독성을 위한 최소 높이 */
.fc-day-grid-event, .fc-daygrid-event {
  min-height: 24px;
}


.fc-theme-standard td.fc-today,
.fc-ltr .fc-dayGrid-view td.fc-today,
td.fc-today {
  background: #f9f9f9 !important; 
  border-color: rgba(161,54,108,.5) !important; 
  border-width: 0px !important;
  border-style: solid !important;
}

span.fc-day-number{margin: 3px 3px 0 0;}
.fc-today span.fc-day-number{width: 22px; height: 22px; background: #222; border-radius: 50%; color: #fff;text-align: center; line-height: 20px;}

#calendar {
  margin-top: -20px;
}