:root {
    --background: #ffffff;
    --foreground: #0a0a0a;
    --primary: #e11d48;
    --secondary: #f5f5f5;
    --radius: 0.5rem;
  }
  
  body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
  }
  
  h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .date {
    font-size: 0.9rem;
    color: #888;
  }
  
  .description {
    font-size: 1.1rem;
    font-style: italic;
  }
  
  
  @layer base {
    * {
      @apply border-border;
    }
    body {
      @apply bg-background text-foreground;
    }
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');
  
  .notice-hero {
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
    color: white;
  }
  
  .notice-hero h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;   /* font-bold */
    margin-bottom: 0.5rem; /* mb-2 */
    letter-spacing: -0.015em; /* tracking-tight */
  }
  
  .notice-hero p {
    font-size: 1rem; /* text-base */
    letter-spacing: 0.025em; /* tracking-wide */
  }
  
  
  /* Notice specific styles */
  .notice-page {
    @apply bg-background;
  }
  
  /* 전체 섹션 스타일 */
  .notice-filter-section {
    padding: 2rem 0;
    background-color: #f9fafb; /* bg-gray-50 */
    border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
  }
  
  /* 컨테이너 */
  .notice-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* 상위 wrapper - flex 대응 */
  .notice-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
  }
  
  @media (min-width: 768px) {
    .notice-filter-wrapper {
      flex-direction: row;
    }
  }
  
  /* 셀렉트박스 그룹 */
  .notice-filter-selects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  @media (min-width: 640px) {
    .notice-filter-selects {
      flex-direction: row;
      width: auto;
    }
  }
  
  /* 셀렉트 박스 스타일 */
  .notice-select {
    width: 150px;
    max-width: none;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    color: #111827;
    flex: 0 0 auto;
  }
  
  /* 검색 영역 */
  .notice-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
  }
  
  .notice-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
  }
  
  .notice-search-input {
    width: 100%;
    height: 40px;
    padding-left: 36px;
    padding-right: 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    color: #111827;
  }
  
  .notice-search-input::placeholder {
    color: #9ca3af;
  }
  
  .notice-search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
  }
  
  /* .notice-filter {
    @apply py-6 bg-gray-50 border-b;
  } */
  /* Notice Filter Section */
  .notice-filter {
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem; /* py-8 */
    background-color: #f9fafb; /* bg-gray-50 */
    border-bottom: 1px solid #e5e7eb; /* border-b */
  }
  
  .notice-list-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #ffffff; /* bg-white */
  }
  
  /* .notice-list-container {
    max-width: 1200px; /* container의 기본 최대 너비 */
    /* margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem; 
  } */ 
  
  /* .notice-list {
    @apply py-8 bg-white;
  } */
  @import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
  .notice-list {
    font-family: 'Inter', sans-serif;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .notice-list .space-y-4 {
    position: relative;
    min-height: 200px;
  }
  
  .notice-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
    background-color: white;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .notice-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* hover:shadow-md */
  }
  
  .notice-item-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem; /* mb-3 */
  }
  
  @media (min-width: 768px) {
    .notice-item-header {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }
  
  .notice-item-category {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* gap-3 */
    margin-bottom: 0.5rem; /* mb-2 */
  }
  
  @media (min-width: 768px) {
    .notice-item-category {
      margin-bottom: 0; /* md:mb-0 */
    }
  }
  
  /* .notice-tag {
    @apply bg-white text-black border border-gray-300 px-2 py-1 rounded-md text-sm;
  } */
  .notice-tag {
    background-color: #f0f0f0;
    height: 34px;
    color: #000;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
  }
  
  .notice-tag-important {
      height: 34px;
      background-color: white;
      color: red;
      padding: 5px 10px;
      border: 2px solid red;
      border-radius: 999px;
      font-weight: bold;
      font-size: 14px;
      display: inline-block;
  }
  
  .notice-date {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #6b7280; 
  }
  
  .notice-date-icon {
    height: 1rem;
    width: 1rem;
    margin-right: 0.25rem;
  }
  
  .notice-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .notice-pagination nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .notice-pagination .btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    background-color: white;
    color: black;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .notice-pagination .btn:hover {
    background-color: #f3f4f6;
  }
  
  .notice-pagination .btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .notice-pagination .btn-icon svg {
    width: 16px;
    height: 16px;
  }
  
  
  .notice-pagination .btn-active {
    background-color: #dc2626;
    color: white;
  }
  
  .notice-pagination .btn-active:hover {
    background-color: #b91c1c;
  }
  
  .notice-pagination .rotate-180 {
    transform: rotate(180deg);
  }
  
  .notice-pagination .btn-icon.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f4f6;
  }
  
  .notice-pagination .btn-icon.disabled:hover {
    background-color: #f3f4f6;
  }
  
  .notice-pagination .btn-icon.disabled svg {
    stroke: #9ca3af;
  }
  
  /* single.html에 사용되는 영역*/
  /* Hero Section 스타일 */
  .hero-container {
    position: relative;
    z-index: 1; /* Hero section이 Notice Detail Section 위에 올 수 있도록 */
  }
  
  /* Notice Detail Section 스타일 */
  .notice-detail-section {
    position: relative;
    z-index: 2; /* Notice detail section이 Hero section 위에 오지 않도록 */
    padding-top: 3rem; /* Hero section 아래에 충분한 여백을 추가 */
  }
  
  .notice-detail-section .container {
    margin-top: 10px; /* Hero section과 Notice section 사이에 충분한 공간을 확보 */
  }
  
  .notice-detail-section h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  /*뒤로가기 버튼 수정*/
  .nav-back {
    margin-bottom: 2rem;
  }
  
  .back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
  }
  
  .back-link:hover {
    color: #dc2626; /* 빨간색 hover 효과 (tailwind의 red-600 대응) */
  }
  
  .back-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
  }
  

  /* 콘텐츠 래퍼 스타일 추가 */
  .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  @media (max-width: 768px) {
    .content-wrapper {
      padding: 0 1rem;
    }
  }

  .notice-content{
    padding-bottom: 4rem;
  }
  
  .notice-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .notice-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  .notice-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .notice-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }
  .notice-content li {
    margin-bottom: 0.5rem;
  }
  .notice-content strong {
    font-weight: bold;
  }
  