/* 관련기관 링크 그리드 컨테이너 */
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC 기본: 3개씩 2줄 */
  gap: 14px; /* 카드 사이 간격을 좁혀 세로 높이 축소 */
  margin-top: 15px;
  box-sizing: border-box;
}

/* 개별 카드 링크 스타일 (상하 패딩 축소) */
.related-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 16px; /* 상하 여백을 컴팩트하게 조정 */
  background-color: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
}

/* 마우스 호버 효과 */
.related-link-card:hover {
  border-color: #222222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 원형 아이콘 배경 축소 */
.related-link-card .icon-wrapper {
  width: 44px; /* 기존 58px -> 44px */
  height: 44px;
  background-color: #fff2d6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* 아이콘 크기 축소 */
.related-link-card .icon-wrapper svg {
  width: 22px; /* 기존 28px -> 22px */
  height: 22px;
  fill: #e67e22;
}

/* 기관명 타이틀 */
.related-link-card .title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 5px;
  text-align: center;
}

/* 부가 설명 텍스트 */
.related-link-card .desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  color: #777777;
  text-align: center;
  line-height: 1.35;
  word-break: keep-all;
}

/* 모바일 화면 대응: 화면이 좁아져도 가로 2개씩 3줄 유지 */
@media (max-width: 768px) {
  .related-links-grid {
    grid-template-columns: repeat(2, 1fr); /* 모바일: 2개씩 3줄 */
    gap: 10px; /* 모바일 전용 좁은 간격 */
  }

  .related-link-card {
    padding: 14px 8px 12px; /* 모바일 카드 내부 여백 슬림화 */
  }

  .related-link-card .icon-wrapper {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .related-link-card .icon-wrapper svg {
    width: 19px;
    height: 19px;
  }

  .related-link-card .title {
    font-size: 13.5px;
    margin-bottom: 4px