body {
    font-family: "Marcellus", "Pretendard", serif;
    color: #333;
    background: #fff;
  }

  .historyContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .leftSide {
    width: 30%;
    padding-right: 2rem;
    box-sizing: border-box;
  }

  .rightSide {
    width: 70%;
    box-sizing: border-box;
  }

  .orangeLabel {
    font-size: 1rem;
    color: #0054b3;
    display: block;
    margin-bottom: 0.5rem;
  }

  .titleText {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 0;
  }

  .certGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
  }
  
  .certItem {
    text-align: center;
    cursor: pointer;
  }
  
  .certItem img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
  }
  
  .certItem img:hover {
    transform: scale(1.03);
  }
  
  .certItem p {
    margin-top: 10px;
    font-size: 0.95rem;
  }
  
  /* ✅ 라이트박스 스타일 */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .lightbox.show {
    display: flex;
    opacity: 1;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-radius: 8px;
    background: white;
    padding: 10px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }
  
  .lightbox img.active {
    opacity: 1;
    transform: scale(1);
  }
  
  .lightbox .closeBtn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    font-weight: bold;
  }
  @media (max-width: 768px) {
    .historyContainer {
      flex-direction: column;
    }

    .leftSide,
    .rightSide {
      width: 100%;
    }
  }