/* ============================================================
 * siteinfor.co.kr — Hub Icon Grid (PHASE 42, bg-pattern PHASE 45)
 *
 * 디자인 패키지의 icons/hub/icon-NN-*.png 16종을 카드 그리드로 표시.
 * 반응형: ~640px 2열, 641~1024px 4열, 1025px~ 6열 (DESIGN-GUIDE §7).
 *
 * 섹션 컨테이너에 bg-pattern 미세 적용 (DESIGN-GUIDE §10).
 * 카드는 흰 배경이라 패턴은 카드 사이 여백에만 노출 → 깊이감.
 * ============================================================ */

/* 2026-10-23 v2 — 반복 패턴 대신 은은한 블루 그라데이션 패널 */
.section--hub-grid {
  padding: 28px 24px;
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 0% 0%, #EAF1FF 0%, rgba(234, 241, 255, 0) 60%),
    radial-gradient(90% 80% at 100% 100%, #FFF6DD 0%, rgba(255, 246, 221, 0) 55%),
    #F7FAFF;
  border: 1px solid #E3ECFB;
}

.hub-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 641px) {
  .hub-icon-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (min-width: 1025px) {
  .hub-icon-grid { grid-template-columns: repeat(8, 1fr); gap: 16px; }
}

.hub-icon-grid .hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  text-decoration: none;
  color: var(--text-primary);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.hub-icon-grid .hub-card:hover {
  border-color: var(--color-primary-500);
  background: var(--color-primary-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .08);
}
.hub-icon-grid .hub-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
}
.hub-icon-grid .hub-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.hub-icon-grid .hub-card__title {
  font: 600 13px/1.3 var(--font-sans);
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .hub-icon-grid .hub-card img { width: 56px; height: 56px; }
  .hub-icon-grid .hub-card__title { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-icon-grid .hub-card { transition: none; }
  .hub-icon-grid .hub-card:hover { transform: none; }
}

/* 2026-10-23 v2 — 감면 강조 섹션 */
.welfare-spotlight {
  margin-top: 24px;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F8FF 100%);
  border: 1px solid #E3ECFB;
  box-shadow: 0 10px 30px rgba(30, 58, 138, .06);
}
.welfare-spotlight__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.welfare-spotlight__eyebrow {
  margin: 0 0 6px;
  font: 700 13px/1.2 var(--font-sans);
  color: #2563EB;
  letter-spacing: .02em;
}
.welfare-spotlight__title {
  margin: 0 0 6px;
  font: 800 24px/1.3 var(--font-sans);
  color: #111827;
}
.welfare-spotlight__desc {
  margin: 0;
  font-size: 14px;
  color: #4B5563;
}
.welfare-spotlight__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.welfare-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid #BFD3F8;
  background: #fff;
  color: #1D4ED8;
  font: 700 14px/1 var(--font-sans);
  text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.welfare-btn:hover { border-color: #2563EB; background: #EFF6FF; }
.welfare-btn--primary { background: #2563EB; border-color: #2563EB; color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .25); }
.welfare-btn--primary:hover { background: #1D4ED8; border-color: #1D4ED8; }

.welfare-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 641px) {
  .welfare-spotlight__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 1025px) {
  .welfare-spotlight__grid { grid-template-columns: repeat(4, 1fr); }
}
.welfare-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E5ECF6;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.welfare-card:hover {
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .10);
}
.welfare-card__icon, .welfare-card__icon img { width: 56px; height: 56px; flex: 0 0 56px; display: block; }
.welfare-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.welfare-card__title { font: 700 15px/1.35 var(--font-sans); color: #111827; }
.welfare-card__note { font-size: 13px; line-height: 1.45; color: #6B7280; }

.welfare-spotlight__notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFFBEB;
  border: 1px solid #FDE7A9;
  font-size: 13px;
  line-height: 1.65;
  color: #78350F;
}
.welfare-spotlight__notice p { margin: 0; }
.welfare-spotlight__notice ul { margin: 6px 0 0; padding-left: 18px; }
.welfare-spotlight__notice a { color: #B45309; text-decoration: underline; text-underline-offset: 2px; }
.welfare-spotlight__date { margin-top: 6px !important; font-size: 12px; color: #92400E; }

@media (max-width: 640px) {
  .section--hub-grid, .welfare-spotlight { padding: 20px 16px; border-radius: 18px; }
  .welfare-spotlight__title { font-size: 20px; }
  .welfare-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .welfare-card, .welfare-btn { transition: none; }
  .welfare-card:hover { transform: none; }
}
