/**
 * ┌─────────────────────────────────────────────────────────────────────┐
 * │  FILE INDEX — 여수뉴스포털                                          │
 * ├──────────────┬──────────────────────────────────────────────────────┤
 * │  파일명      │  footer.css                                           │
 * │  위치        │  /assets/css/footer.css                                        │
 * │  생성일      │  2026-05-16                                           │
 * │  수정일      │  2026-05-16                                           │
 * │  버전        │  v1.0                                                 │
 * ├──────────────┼──────────────────────────────────────────────────────┤
 * │  기능/역할   │  스타일시트 — 포털·컴포넌트별 규칙 적용               │
 * ├──────────────┼──────────────────────────────────────────────────────┤
 * │  레이아웃    │  기준 너비: 1200px (전역·포털 변수와 연동)            │
 * │  섹터 구조   │  .sector-wrap width:100% — 다열은 .sector-inner (원칙2) │
 * │  폰트 기준   │  최소 14px (--fs-base 등 변수 연동)                 │
 * ├──────────────┼──────────────────────────────────────────────────────┤
 * │  연관 파일   │  load-by  : header.php·포털 레이아웃 (상이)            │
 * │              │  변수 주입: echoLayoutVars()·포털 CSS (해당 시)       │
 * ├──────────────┼──────────────────────────────────────────────────────┤
 * │  참조 사항   │  /docs/PROJECT_RULES.md 원칙8·포털 CSS 접두 규칙       │
 * ├──────────────┼──────────────────────────────────────────────────────┤
 * │  변경 이력   │  2026-05-16 v1.0 - FILE INDEX 일괄 부여                     │
 * └──────────────┴──────────────────────────────────────────────────────┘
 */

/* --- layout.css 출처 --- */

/* 주요 바로가기 링크 */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.footer-nav a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }

/* ① 브랜드 컬럼 */
.footer-logo-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: -.3px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  margin: 0 0 16px;
}

/* SNS 아이콘 행 */
.footer-sns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.footer-sns-link:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* ② 법적 정보 */
.footer-legal-list {
  margin: 0;
  padding: 0;
}
  .footer-nav {
    gap: 4px 10px !important;
    justify-content: center !important;
    font-size: 14px;
  }

/* --- style.css 출처 --- */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 36px 0 24px;
  border-bottom: 1px solid #e2e8f0;
}
.footer-brand .brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; color: #64748b; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-col h4 { font-size: 14px; font-weight: 700; color: #334155; margin-bottom: 12px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary, #c0392b); }
.footer-bottom {
  padding: 18px 0;
  font-size: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--primary, #c0392b); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  /* 푸터 */
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
