:root {
  --cp-primary: #2E4057;   /* 메인 */
  --cp-primary-dark: #1F2F44;
  --cp-primary-soft: #F4F6F9;
  --cp-accent: #8FA6C3;    /* 포인트 (붉은색 대체) */
}
/* ================= 공통 ================= */
.cp-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* 상단 포인트 라인 */
.cp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--cp-primary) 0%,
    var(--cp-primary-dark) 100%
  );
}

/* ================= 헤더 ================= */
.cp-header {
  padding: 20px 26px 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cp-primary);
  background: transparent;
  border-bottom: none;
}

/* 헤더 하단 짧은 선 */
.cp-header::after {
  content: '';
  display: block;
  margin-top: 10px;
  width: 36px;
  height: 2px;
  background: var(--cp-accent);
}

/* + 버튼 */
.cp-plus {
  color: var(--cp-primary);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

/* ================= 공지사항 ================= */
.cp-notice-list {
  padding-bottom: 6px;
}

.cp-notice-item {
  position: relative;
  padding: 16px 90px 16px 46px;
  line-height: 1.45;
  background: #fff;
}

.cp-notice-item + .cp-notice-item {
  border-top: 1px dashed #e5e7eb;
}

/* 왼쪽 포인트 바 */
.cp-bar {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--cp-primary);
  border-radius: 2px;
}

/* NEW */
.cp-new {
  background: var(--cp-primary);
  font-size: 0.7rem;
  margin-right: 6px;
}

/* 제목 */
.cp-notice-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cp-primary);
  text-decoration: none;
}

.cp-notice-item:hover {
  background: var(--cp-primary-soft);
}

.cp-notice-item:hover .cp-notice-title {
  color: var(--cp-primary-dark);
}

/* 날짜 */
.cp-date {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  background: var(--cp-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  opacity: 0;
  transition: 0.2s;
}

.cp-notice-item:hover .cp-date {
  opacity: 1;
}

/* ================= 행사 ================= */
.cp-event-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--cp-primary-soft) 100%
  );
}

.cp-event-info {
  padding-right: 10px;
}

.cp-event-title {
  font-size: 1rem;
  font-weight: 400;
	padding: 0 10px;
  color: var(--cp-primary-dark);
}

.cp-event-desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 4px;
}

.cp-btn-apply:hover {
  background: var(--cp-primary-dark);
}

/* ======================================================
   공지사항 카드 헤더 (그라데이션)
====================================================== */
.card:has(.list-group) .card-header {
  background: linear-gradient(
    135deg,
    var(--cp-primary) 0%,
    var(--cp-primary-dark) 100%
  ) !important;
  color: #fff !important;
  padding: 22px 26px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  position: relative !important;
}

.card:has(.list-group) .card-header * {
  color: #fff !important;
}

/* + 버튼 오른쪽 */
.card:has(.list-group) .card-header .cp-plus {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.5rem;
  font-weight: 800;
  transition: transform 0.35s ease;
}

.card:has(.list-group) .card-header:hover .cp-plus {
  transform: translateY(-50%) rotate(180deg);
}





/* ===============================
   연락바랍니다 뉴스 티커
================================ */

.cp-ticker-wrap {
	display: flex;
	align-items: center;
	background: #f8f9fb;
	border-top: 1px solid #e3e6ea;
	border-bottom: 1px solid #e3e6ea;
	padding: 10px 0;
	overflow: hidden;
}

/* 왼쪽 라벨 */
.cp-ticker-label {
	flex: 0 0 auto;
	padding: 0 20px;
	font-weight: 700;
	color: #053170;
	border-right: 1px solid #dcdfe4;
	white-space: nowrap;
}

/* 흐르는 영역 */
.cp-ticker {
	flex: 1;
	overflow: hidden;
	position: relative;
}

/* 실제 이동하는 트랙 */
.cp-ticker-track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	animation: cpTickerMove 15s linear infinite;
}

/* 개별 항목 */
.cp-ticker-track span {
	display: inline-block;
	margin-right: 50px;
	color: #333;
	font-size: 0.95rem;
}

/* 애니메이션 */
@keyframes cpTickerMove {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* 모바일 조정 */
@media (max-width: 768px) {
	.cp-ticker-label {
		padding: 0 12px;
		font-size: 0.9rem;
	}

	.cp-ticker-track span {
		font-size: 0.85rem;
		margin-right: 30px;
	}
}


/* ======================================================
   PC 메인 YouTube - 화면 전체 높이
====================================================== */
@media (min-width: 992px) {

    .header-carousel {
        position: relative;
        width: 100%;
        height: 100vh !important;
        overflow: hidden;
        background: #000;
    }

    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item,
    .header-carousel .header-carousel-item,
    .header-carousel .youtube-slide {
        height: 100vh !important;
        min-height: 0 !important;
    }

    .header-carousel .youtube-slide {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #000;
    }

    .header-carousel .video-caption {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        padding: 0 !important;
        margin: 0 !important;

        overflow: hidden;
    }

    .header-carousel .video-full {
        position: absolute;

        top: 50%;
        left: 50%;

        width: 100%;
        height: 100%;

        transform: translate(-50%, -50%);

        border: 0;
        pointer-events: none;
    }

}