/* 전체 배경색 및 폰트 세팅 */
body {
  background-color: #fafafa !important;
}

/* 퀵메뉴 전체 컨테이너 */
.quick-menu {
  position: fixed;
  bottom: 50px; /* 화면 하단에서 50px 띄움 (원하는 만큼 조절) */
  left: 50%; /* 화면의 가로 중앙을 기준점으로 설정 */
  /* 
    콘텐츠 영역의 절반 넓이 + 여백만큼 우측으로 밀어냅니다.
    예: 전체 콘텐츠 넓이가 1200px이라면 절반인 600px + 여백 20px = 620px 
    사이트 넓이에 맞춰 이 수치를 조절하세요!
  */
  margin-left: 620px; 
  display: flex;
  flex-direction: column;
  gap: 15px; /* 버튼 사이 간격 */
  z-index: 9999; /* 다른 요소들 위에 항상 떠 있도록 설정 */
}

/* 둥근 아이콘 개별 스타일 (이전과 동일) */
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  /* background-color: #ffffff; */
  /* border: 2px solid #5a5a5a; */
  border-radius: 50%;
  text-decoration: none;
  /* color: #333333; */
  /* box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15); */
  transition: all 0.3s ease;
}

/* 마우스를 올렸을 때 액션 (이전과 동일) */
/* .quick-item:hover {
  background-color: #f8f8f8;
  transform: scale(1.08);
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.25);
  border-color: #f29b00;
} */

/* 적용된 이미지 아이콘 스타일 (이전과 동일) */
.quick-item .icon-img {
  border-radius: 50%;
  width: 60px; 
  height: 60px; 
  object-fit: contain; 
  margin-bottom: 4px; 
  display: block;
}

/* 내부 텍스트 (이전과 동일) */
.quick-item .text {
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.devu-renewal-wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  clear: both !important;
  font-family: "Malgun Gothic", dotum, sans-serif !important;
}

/* 이미지 컨테이너를 상대 위치(relative)로 설정 */
.devu-card-img-wrapper {
  position: relative;
  display: block;
}

/* 라벨을 절대 위치(absolute)로 설정하여 왼쪽 상단에 배치 */
.location-label {
  position: absolute;
  top: 0px; /* 상단 여백 */
  left: 0px; /* 좌측 여백 */
  background-color: rgba(0, 0, 0, 0.9); /* 반투명 검은색 배경 */
  color: #fdde16; /* 흰색 텍스트 */
  padding: 4px 10px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  z-index: 10; /* 이미지 위로 올라오도록 설정 */
  pointer-events: none; /* 클릭 방해 방지 (선택사항) */
}
/* 공통 섹션 여백 */
.devu-renewal-wrapper > section,
.devu-renewal-wrapper > div {
  margin-bottom: 80px !important;
}
.dark-image {
  filter: brightness(0.2); /* 0은 완전 검은색, 1은 원본, 0.5는 50% 어둡게 */
}

/* 중앙 종료 라벨 */
.end-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 정확히 정중앙으로 이동 */
  color: #ffffff; /* 텍스트 색상 흰색 */
  font-size: 28px; /* 글자 크기 조정 */
  font-weight: bold;
  z-index: 20; /* 이미지 위로 올라오도록 설정 */
  pointer-events: none; /* 클릭 방해 방지 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 글자가 더 잘 보이도록 그림자 추가 (선택사항) */
}


/* 1. 히어로 배너 */
.devu-renewal-wrapper .devu-hero {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #f4f6f9 !important;
  padding: 60px 50px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

.devu-renewal-wrapper .devu-hero-text {
  flex: 1 !important;
  min-width: 50% !important;
  text-align: left !important;
}

.devu-renewal-wrapper .devu-hero-text h2 {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  color: #111 !important;
  line-height: 1.4 !important;
}

.devu-renewal-wrapper .devu-hero-text h2 span {
  color: #ff9900 !important;
}

.devu-renewal-wrapper .devu-hero-text p {
  font-size: 1.15rem !important;
  color: #555 !important;
  margin-bottom: 30px !important;
  line-height: 1.6 !important;
}

.devu-renewal-wrapper .devu-hero-btn {
  display: inline-block !important;
  background: #ff9900 !important;
  color: #fff !important;
  padding: 16px 40px !important;
  border-radius: 40px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
  transition: all 0.3s !important;
  box-shadow: 0 6px 15px rgba(255, 153, 0, 0.3) !important;
}

.devu-renewal-wrapper .devu-hero-btn:hover {
  background: #e68a00 !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(255, 153, 0, 0.4) !important;
}

.devu-renewal-wrapper .devu-hero-img {
  flex: 1 !important;
  text-align: right !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.devu-renewal-wrapper .devu-hero-img img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* 2. 대시보드 영역 (가이드, 현황, 공지사항) */
.devu-renewal-wrapper .middle-dashboard {
  display: flex !important;
  gap: 40px !important;
  align-items: stretch !important;
}

.devu-renewal-wrapper .dashboard-left {
  flex: 1 1 65% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 30px !important;
  min-width: 0 !important;
}

.devu-renewal-wrapper .dashboard-right {
  flex: 1 1 35% !important;
  min-width: 0 !important;
}

.devu-renewal-wrapper .guide-buttons {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

.devu-renewal-wrapper .guide-btn {
  background: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  color: #333 !important;
  text-align: center !important;
  padding: 25px 10px !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.devu-renewal-wrapper .guide-btn i {
  font-size: 32px !important;
  color: #ff9900 !important;
  transition: transform 0.3s !important;
}

.devu-renewal-wrapper .guide-btn:hover {
  color: #ff9900 !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 25px rgba(255, 153, 0, 0.15) !important;
}

.devu-renewal-wrapper .guide-btn:hover i {
  transform: scale(1.15) !important;
}

.devu-renewal-wrapper .activity-banners {
  display: flex !important;
  gap: 25px !important;
}

.devu-renewal-wrapper .activity-banner {
  flex: 1 !important;
  background: linear-gradient(135deg, #fffcf8 0%, #fff4e0 100%) !important;
  border: 1px solid #ffe8c4 !important;
  border-radius: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-decoration: none !important;
  padding: 30px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.05) !important;
}

.devu-renewal-wrapper .activity-banner:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(255, 153, 0, 0.2) !important;
}

.devu-renewal-wrapper .activity-banner h3 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  margin: 0 0 10px 0 !important;
  color: #111 !important;
}

.devu-renewal-wrapper .activity-banner p {
  font-size: 0.95rem !important;
  margin: 0 !important;
  color: #555 !important;
  line-height: 1.5 !important;
}

.devu-renewal-wrapper .activity-banner i {
  font-size: 48px !important;
  color: #ffbc59 !important;
  opacity: 0.9 !important;
}

.devu-renewal-wrapper .notice-box {
  background: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 30px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.devu-renewal-wrapper .notice-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 25px !important;
  border-bottom: 2px solid #111 !important;
  padding-bottom: 15px !important;
  color: #111 !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
}

.devu-renewal-wrapper .notice-header span {
  background: #ff9900 !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  letter-spacing: 0.5px !important;
}

.devu-renewal-wrapper .notice-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.devu-renewal-wrapper .notice-list li {
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 10px 0 !important;
}

.devu-renewal-wrapper .notice-list li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.devu-renewal-wrapper .notice-list a {
  color: #444 !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s !important;
}

.devu-renewal-wrapper .notice-list a:hover {
  color: #ff9900 !important;
  font-weight: bold !important;
}

/* 3. 퀵 링크 카테고리 메뉴 */
.devu-renewal-wrapper .quick-links {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 20px !important;
}

.devu-renewal-wrapper .quick-link-item {
  background: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 30px 10px !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 0.95rem !important;
  font-weight: bold !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.devu-renewal-wrapper .quick-link-item:hover {
  background: #ff9900 !important;
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.3) !important;
  transform: translateY(-5px) !important;
  color: #fff !important;
}

.devu-renewal-wrapper .quick-link-item.active {
  background: #ff9900 !important;
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.3) !important;
  transform: translateY(-5px) !important;
  color: #fff !important;
}

.devu-renewal-wrapper .quick-link-item i {
  font-size: 34px !important;
  color: #777 !important;
  margin-bottom: 15px !important;
  display: block !important;
  transition: color 0.3s !important;
}

.devu-renewal-wrapper .quick-link-item:hover i {
  color: #fff !important;
}
.devu-renewal-wrapper .quick-link-item.active i {
  color: #fff !important;
}

/* 4. HOT 체험단 리스트 */
.devu-renewal-wrapper .hot-devu-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-bottom: 30px !important;
  border-bottom: 2px solid #111 !important;
  padding-bottom: 15px !important;
}

.devu-renewal-wrapper .hot-devu-header h2 {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  color: #111 !important;
}

.devu-renewal-wrapper .hot-devu-header h2 span {
  color: #e74c3c !important;
}

.devu-renewal-wrapper .hot-devu-filters select {
  padding: 10px 20px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  outline: none !important;
  font-size: 0.95rem !important;
  margin-left: 15px !important;
  background-color: #fff !important;
}

.devu-renewal-wrapper .hot-devu-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 25px !important;
}

.devu-renewal-wrapper .devu-card {
  background: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.devu-renewal-wrapper .devu-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.devu-renewal-wrapper .devu-card-img {
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
}

.devu-renewal-wrapper .devu-card-body {
  padding: 25px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.devu-renewal-wrapper .devu-card-title {
  font-size: 1.15rem !important;
  font-weight: bold !important;
  margin-bottom: 15px !important;
  color: #111 !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
}

.devu-renewal-wrapper .devu-card-meta {
  font-size: 0.9rem !important;
  color: #777 !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
}

.devu-renewal-wrapper .devu-card-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1px solid #f0f0f0 !important;
  padding-top: 15px !important;
}

.devu-renewal-wrapper .badge {
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: bold !important;
  color: #fff !important;
  background-color: #3498db !important;
}

.devu-renewal-wrapper .badge.apply {
  background-color: #b18b03 !important;
  /* color:#111 */
}

.devu-renewal-wrapper .badge.complete {
  background-color: #95a5a6 !important;
  /* color:#111 */
}

.devu-renewal-wrapper .badge.reserve {
  background-color: #fc4b28 !important;
  /* color:#111 */
}

.devu-renewal-wrapper .badge.review {
  background-color: #00ca72 !important;
  /* color:#111 */
}

.devu-renewal-wrapper .badge.closed {
  background-color: #95a5a6 !important;
}

.devu-renewal-wrapper .d-day {
  font-weight: 800 !important;
  color: #e74c3c !important;
  font-size: 1rem !important;
}

/* 모바일 반응형 최적화 */
@media (max-width: 1024px) {
  .devu-renewal-wrapper .quick-links {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
  }

  .devu-renewal-wrapper .hot-devu-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .devu-renewal-wrapper > section,
  .devu-renewal-wrapper > div {
    margin-bottom: 50px !important;
  }

  .devu-renewal-wrapper .devu-hero {
    flex-direction: column !important;
    text-align: center !important;
    padding: 40px 20px !important;
  }

  .devu-renewal-wrapper .devu-hero-img {
    margin-top: 40px !important;
    justify-content: center !important;
  }

  .devu-renewal-wrapper .middle-dashboard {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .devu-renewal-wrapper .dashboard-left,
  .devu-renewal-wrapper .dashboard-right {
    width: 100% !important;
    flex: none !important;
  }

  .devu-renewal-wrapper .guide-buttons {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .devu-renewal-wrapper .activity-banners {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .devu-renewal-wrapper .activity-banner {
    padding: 20px !important;
  }

  .devu-renewal-wrapper .hot-devu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  .devu-renewal-wrapper .devu-hero-text h2 {
    font-size: 1.8rem !important;
  }

  .devu-renewal-wrapper .hot-devu-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }

  .devu-renewal-wrapper .hot-devu-filters {
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
  }

  .devu-renewal-wrapper .hot-devu-filters select {
    margin-left: 0 !important;
    flex: 1 !important;
  }

  .devu-renewal-wrapper .hot-devu-grid {
    grid-template-columns: 1fr !important;
  }

  .devu-renewal-wrapper .quick-links {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }

  .devu-renewal-wrapper .quick-link-item {
    padding: 15px 5px !important;
    font-size: 0.8rem !important;
  }

  .devu-renewal-wrapper .quick-link-item i {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }
}
