/**
 * 온라인 게시판 전용 스타일
 * online 폴더의 디자인을 완전히 반영
 */

:root {
  --primary: #F37021;
  --primary-light: #FF9A3D;
  --chats-color: #3b82f6;
  --board-color: #f59e0b;
  --approvals-color: #10b981;
  --clubs-color: #8b5cf6;
}

body {
  background: repeating-linear-gradient(0deg, #fbfbfb 0, #fbfbfb 24px, #ffffff 24px, #ffffff 48px);
}

/* ===== 칠판 스타일 - 오픈채팅방 ===== */
.chalkboard-container {
  background: linear-gradient(135deg, #2d4a2b 0%, #1a2e1a 100%);
  border: 4px solid #4a5d48;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .4), inset 0 0 0 3px #5a6d58;
  position: relative;
  margin: 2rem 0;
  padding: 2rem;
}

.chalkboard-header {
  border-bottom: 3px solid #5a6d58;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.chalk-title {
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .7);
  margin-bottom: 0.5rem;
}

.chalk-subtitle {
  color: #cbd5e0;
  font-family: 'Courier New', monospace;
  font-style: italic;
  font-size: 1rem;
}

.chalk-notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* 오픈채팅방 카드 기본 스타일 */
.chalk-notice {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 0;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.chalk-notice:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 운영진 공지 스타일 */
.chalk-notice.admin-notice {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%) !important;
  border: 2px solid #ff6b6b !important;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.15) !important;
}

/* 커뮤니티 공지 스타일 */
.chalk-notice.community-notice {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

/* 헤더 영역 */
.chalk-notice-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
}

/* 배지 스타일 */
.chalk-notice-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.chalk-notice-badge.admin {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.chalk-notice-badge.community {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 콘텐츠 영역 */
.chalk-notice-content {
  flex: 1;
  margin-bottom: 1rem;
}

.chalk-notice-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.chalk-notice-desc {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 0.95rem;
}

/* 푸터 영역 */
.chalk-notice-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
}

/* 버튼 스타일 */
.chalk-enter-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chalk-enter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.chalk-enter-btn.admin {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
  color: white !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.chalk-enter-btn.admin:hover {
  background: linear-gradient(135deg, #ee5a24, #d63031) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.chalk-enter-btn.community {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.chalk-enter-btn.community:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* 운영진 크라운 아이콘 */
.admin-crown {
  color: #fbbf24;
  margin-left: 0.5rem;
  font-size: 1rem;
  animation: crownGlow 2s ease-in-out infinite alternate;
}

@keyframes crownGlow {
  0% {
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  100% {
    color: #ffed4e;
    text-shadow: 0 2px 6px rgba(255, 215, 0, 0.5);
  }
}

/* 빈 상태 스타일 */
.empty-notice {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 2px dashed #cbd5e1;
  cursor: default;
}

.empty-notice:hover {
  transform: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.empty-notice .chalk-notice-title {
  color: #64748b;
  margin-bottom: 1rem;
}

.empty-notice .chalk-notice-desc {
  color: #94a3b8;
}

/* ===== 코르크보드 스타일 - 게시판 ===== */
.corkboard-container {
  background: linear-gradient(135deg, #d2b48c 0%, #cd853f 100%);
  border: 3px solid #8b4513;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(139, 69, 19, .3);
  position: relative;
  margin: 2rem 0;
  padding: 2rem;
  overflow: visible;
}

.corkboard-header {
  border-bottom: 3px solid #8b4513;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.cork-title {
  color: #3e2723;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cork-subtitle {
  color: #5d4037;
  font-size: 1rem;
}

.cork-tab-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cork-tab-btn {
  background: rgba(255, 255, 255, .9);
  border: 2px solid #8b4513;
  color: #3e2723;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cork-tab-btn.active {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.cork-tab-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.tab-content-panel {
  display: block;
}

.cork-notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cork-notice-card {
  background: #ffffff;
  border: 2px solid #d7ccc8;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
  margin-top: 0.8rem;
}

.cork-notice-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #dc3545 0%, #c82333 100%);
  border-radius: 50%;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.cork-notice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.notice-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #fff9e6 0%, #fffef7 100%);
  border-bottom: 2px solid #fde68a;
  margin: 0;
  line-height: 1.5;
  word-break: keep-all;
}

.notice-content {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #495057;
  padding: 1.5rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: none;
  overflow: visible;
  display: block;
  -webkit-box-orient: vertical;
}

/* ===== 메모장 스타일 - 광고 승인 ===== */
.notepad-container {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  position: relative;
  margin: 2rem 0;
  padding: 2rem;
}

.notepad-header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.notepad-header::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  height: 30px;
  background: repeating-linear-gradient(90deg,
      transparent,
      transparent 40px,
      #e0e0e0 40px,
      #e0e0e0 42px);
}

.notepad-title {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.notepad-subtitle {
  color: #7f8c8d;
  font-size: 1rem;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.ad-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.ad-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.ad-content {
  color: #7f8c8d;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ad-tag {
  display: inline-block;
  background: #ecf0f1;
  color: #34495e;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 768px) {

  .chalk-notices-grid,
  .cork-notices-grid,
  .ad-grid {
    grid-template-columns: 1fr;
  }

  .chalkboard-container,
  .corkboard-container,
  .notepad-container {
    padding: 1.5rem;
  }

  .chalk-title,
  .cork-title,
  .notepad-title {
    font-size: 1.5rem;
  }

  .cork-tab-navigation {
    flex-direction: column;
  }

  .cork-tab-btn {
    width: 100%;
  }

  .chalk-notice {
    min-height: 150px;
    padding: 1.25rem;
  }

  .chalk-notice-title {
    font-size: 1.1rem;
  }

  .chalk-notice-desc {
    font-size: 0.9rem;
  }

  .chalk-enter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    min-width: 80px;
  }
}

@media (max-width: 576px) {

  .chalkboard-container,
  .corkboard-container,
  .notepad-container {
    padding: 1rem;
    margin: 1rem 0;
  }

  .chalk-title,
  .cork-title,
  .notepad-title {
    font-size: 1.3rem;
  }

  .chalk-subtitle,
  .cork-subtitle,
  .notepad-subtitle {
    font-size: 0.9rem;
  }
}

/* ===== 광고 모달 - 포스트잇/메모장 스타일 ===== */
.ad-modal-content {
  background: linear-gradient(180deg, #fff9e6 0%, #fffef7 100%) !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 215, 0, 0.2) !important;
  position: relative;
}

/* 메모장 상단 테이프 효과 */
.ad-modal-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  z-index: 10;
}

/* 압정 스타일 - 더 작고 귀여운 디자인 */
.pushpin {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 50%;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 -1px 2px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  z-index: 11;
}

.pushpin::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.pushpin-left {
  left: 40px;
}

.pushpin-right {
  right: 40px;
}

/* 모달 헤더 */
.ad-modal-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 2px dashed rgba(255, 193, 7, 0.3);
  position: relative;
  background: transparent;
}

/* 닫기 버튼 - X 스타일 */
.ad-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent !important;
  border: none !important;
  width: 32px;
  height: 32px;
  padding: 0;
  opacity: 0.6 !important;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 20;
}

.ad-modal-close::before,
.ad-modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #666;
  transition: all 0.2s ease;
}

.ad-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ad-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ad-modal-close:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

.ad-modal-close:hover::before,
.ad-modal-close:hover::after {
  background: #ff6b6b;
  width: 22px;
}

.ad-modal-title {
  margin: 0 0 1rem 0;
  padding-right: 3rem;
}

.ad-title-text {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: none;
  line-height: 1.3;
  font-family: 'Noto Sans KR', sans-serif;
}

/* 배지들 - 포스트잇 스타일 */
.ad-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.ad-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ad-badge:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.ad-badge-benefit {
  background: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}

.ad-badge-date {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.ad-badge-category {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}

/* 모달 본문 */
.ad-modal-body {
  padding: 2rem 2.5rem;
  background: transparent;
  margin: 0;
}

/* 이미지 영역 */
.ad-modal-images {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.ad-modal-single-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  background: #fff;
}

.ad-modal-carousel {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ad-modal-carousel-inner {
  border-radius: 8px;
  background: #fff;
}

.ad-modal-carousel-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  background: #fff;
  display: block;
  margin: 0 auto;
}

/* 캐러셀 컨트롤 아이콘 개선 */
.ad-carousel-icon {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-size: 50% 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 8px;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* 광고 내용 박스 - 메모장 스타일 */
.ad-modal-content-box {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: transparent;
  border-radius: 0;
  border: none;
  font-family: 'Noto Sans KR', sans-serif;
}

/* 광고 기간 정보 */
.ad-modal-period {
  padding: 0.8rem 1rem;
  background: rgba(255, 243, 205, 0.5);
  border-radius: 4px;
  text-align: center;
  color: #856404;
  border: 1px dashed rgba(255, 193, 7, 0.4);
  font-size: 0.9rem;
}

/* 바로가기 버튼 */
.ad-link-section {
  padding: 1rem 2.5rem 2rem;
  text-align: center;
  border-top: 2px dashed rgba(255, 193, 7, 0.3);
  margin-top: 1rem;
}

.ad-modal-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow:
    0 4px 12px rgba(255, 107, 53, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ad-modal-link-btn:hover {
  background: linear-gradient(135deg, #ff8c42, #ff6b35);
  color: white;
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(255, 107, 53, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
  .ad-modal-header {
    padding: 2rem 1.5rem 1rem;
  }

  .ad-title-text {
    font-size: 1.3rem;
  }

  .ad-modal-body {
    padding: 1.5rem;
  }

  .ad-modal-content-box {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .ad-modal-link-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .ad-link-section {
    padding: 1rem 1.5rem 1.5rem;
  }

  .pushpin {
    width: 14px;
    height: 14px;
    top: -7px;
  }

  .pushpin-left {
    left: 30px;
  }

  .pushpin-right {
    right: 30px;
  }

  .ad-modal-single-image,
  .ad-modal-carousel-image {
    max-height: 300px;
  }

  .ad-modal-close {
    width: 28px;
    height: 28px;
  }

  .ad-modal-close::before,
  .ad-modal-close::after {
    width: 18px;
  }
}

/* 캐러셀 인디케이터 개선 */
.carousel-indicators [data-bs-target] {
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.3);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.carousel-indicators .active {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.2);
}

/* 커뮤니티 게시판 카드 모바일 최적화 */
@media (max-width: 768px) {
  .notice-title {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }

  .notice-content {
    font-size: 0.9rem;
    padding: 1.2rem;
    line-height: 1.7;
    -webkit-line-clamp: 5;
  }

  .cork-notice-card::before {
    width: 16px;
    height: 16px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .notice-title {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .notice-content {
    font-size: 0.85rem;
    padding: 1rem;
    line-height: 1.6;
    -webkit-line-clamp: 4;
  }

  .cork-notice-card::before {
    width: 14px;
    height: 14px;
    right: 12px;
    top: -7px;
  }
}


/* 커뮤니티 게시판 카드 추가 스타일 */
.cork-notices-grid {
  margin-top: 1rem;
}

/* 모바일 최적화 - 커뮤니티 카드 */
@media (max-width: 768px) {
  .cork-notice-card {
    margin-top: 0.6rem;
  }
  
  .cork-notice-card::before {
    width: 16px;
    height: 16px;
    top: -8px;
    right: 15px;
  }
  
  .notice-title {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }
  
  .notice-content {
    font-size: 0.85rem;
    padding: 1.2rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .cork-notice-card {
    margin-top: 0.5rem;
  }
  
  .cork-notice-card::before {
    width: 14px;
    height: 14px;
    top: -7px;
    right: 12px;
  }
  
  .notice-title {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
  
  .notice-content {
    font-size: 0.8rem;
    padding: 1rem;
    line-height: 1.5;
  }
}
