.course-guide {
  /* 코스 안내 섹션 전체 간격 */
  margin-top: 60px;

  .course-grid {
    /* 코스 카드 4개 그리드 배치 */
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .course-card {
    /* 코스 카드 공통 프레임 */
    overflow: hidden;
    border-radius: 16px;
    .course-title {
      /* 상단 코스 타이틀 바 */
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 8px;
      padding: 15px;
      font-weight: 700;
      line-height: 1;
      background-color: var(--color);
      color: #fff;

      h3,
      p {
        margin: 0;
      }

      h3 {
        font-size: 1.5em;
      }

      p {
        font-size: 1.3em;
      }
    }

    .course-table-wrap {
      /* 테이블 외곽 여백 */
      background-color: color-mix(in srgb, var(--color) 5%, var(--white) 100%);
    }

    .course-table {
      /* 코스 데이터 테이블 */
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      color: #fff;
      color: var(--color);
      border: 0;
      th,
      td {
        padding: 8px 0;
        text-align: center;
        font-weight: 600;
      }

      thead {
        tr {
          th {
            border: 0;
            background-color: color-mix(in srgb, var(--color) 20%, var(--white) 100%);
          }
        }
      }

      tbody {
        tr {
          td {
            font-size: 1.2em;
            color: initial;
            font-family: 'Pretendard';
            letter-spacing: 0;
            &:first-child {
              width: 28%;
            }
            border-bottom: 0;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
          }
        }
      }
    }

    .hole-badge {
      /* 홀 번호 원형 배지 */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 16px;
      font-weight: 700;
      line-height: 1;
      background-color: var(--color);
      color: #fff;
    }

    &.a-course {
      --color: var(--type1);
    }

    &.b-course {
      --color: var(--type2);
    }

    &.c-course {
      --color: var(--type3);
    }

    &.d-course {
      --color: var(--type4);
    }
  }
}
.course-img {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  img {
    border-radius: 16px;
  }
}
/* 모바일 */
@media (max-width: 812px) {
  .course-guide {
    .course-grid {
      /* 모바일에서 1열 배치 */
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .course-card {
      .course-table {
        th,
        td {
          font-size: 1rem;
        }
      }

      .hole-badge {
        min-width: 42px;
        height: 42px;
        font-size: 1.1rem;
      }
    }
  }
  .course-img {
    overflow-x: auto;
    img {
      width: 1200px;
      max-width: initial;
    }
  }
}
