    .wrapper {
      min-height: 100vh;        /* 전체 높이를 최소 100%로 */
      display: flex;
      flex-direction: column;  /* header-main-footer 순서 */
    }

    main {
      flex: 1;  /* main 영역이 남는 공간을 차지하도록 */
    }

    /* .page-header / .floating-elements → 히어로 섹션으로 대체됨 */
    /* common.css 로 이동: .container / h2 / .section-subtitle / main / section */

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .card-link {
      text-decoration: none;
      color: inherit;
      display: block;

    }

    .card-link .card {
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      transition: 0.3s;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      max-width: 360px;
      height: 380px;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .card-image {
        width: 260px;
        height: 180px;
        margin: 1.5rem auto 0 auto;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;      /* 부모 flex에 의해 줄어들지 않게 */
        display: flex;
        justify-content: center;
        align-items: center;
        display: block;
        position: relative;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;       /* 비율 유지하며 영역 채우기 */
        object-position: top;    /* 윗부분부터 맞춰서 보여주기 */
        display: block;
        position: absolute;
    }

    .card-content {
      padding: 1.5rem;
      width: 100%;
      height: 140px;
      flex: 1; /* 카드 안에서 동일한 높이로 늘어나도록 */
    }

    .card-content h3 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      color: var(--primary-color);
      display: -webkit-box;
      -webkit-line-clamp: 2;       /* 두 줄까지만 표시 */
      -webkit-box-orient: vertical;

      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.5rem;          /* 줄 간격 (예: 24px) */
    }

    .card-footer {
      margin-top: auto;
      display: block;
      text-align: right;
      padding: 0 1rem 1rem 1rem;
      font-weight: bold;
      text-decoration: none;
      color: var(--secondary-color);
      transition: color 0.3s;
    }

    .card-footer:hover {
      color: var(--accent-color);
    }

    /* pagination 공통 스타일 */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 40px;
      gap: 6px;
      font-family: 'Pretendard', sans-serif;
    }

    /* 페이지 버튼 */
    .pagination button {
      padding: 8px 14px;
      border: none;
      border-radius: 8px;
      background-color: #f1f1f1;
      color: #333;
      cursor: pointer;
      font-size: 15px;
      transition: background-color 0.2s, color 0.2s;
    }

    /* 현재 페이지(active) */
    .pagination button.active {
      background-color: #3ac144; /* 브랜드 그린 */
      color: #fff;
      font-weight: 600;
    }

    /* 비활성화된 버튼 (예: 이전/다음 없음) */
    .pagination button:disabled {
      background-color: #ddd;
      color: #999;
      cursor: default;
    }

    .no-posts {
      width: 100%;
      text-align: center;
      font-size: 1.2rem;
      color: #888;
      padding: 40px 0;
    }

        /* 레거시 반응형 규칙 제거 — notice 페이지에서 사용하지 않는 클래스 */