
/* 🚨 푸터 바탕은 «검정»(#141414)이다. 2026-09-23 밤에 여기 검정 글자(#0f172a)를 넣어
   대비 1.03 으로 «사실상 안 보이는» 상태로 하루를 보냈다. 밝은 색으로만 쓸 것. */
.ri-foot-brand__note .ri-a-agency{display:block;margin-bottom:9px;color:#fff}
.ri-foot-brand__note .ri-a-agency b{color:#fff}
.ri-foot-brand__note .ri-a-agency-sub{display:block;padding-top:9px;border-top:1px solid #ffffff;opacity:1}

/* 🚨 푸터는 «검정 바탕»(#141414)인데 링크 호버색이 남색(#0b3aa0)이라
   마우스를 올리면 글자가 바탕에 묻혀 사라졌다(대비 1.5:1 · 2026-09-24 실측).
   어두운 바닥에서는 호버가 «더 밝아져야» 한다. */
.ri-foot-main a:hover,.ri-foot-main a:focus-visible,
.ri-foot-legal a:hover,.ri-foot-legal a:focus-visible,
.ri-foot-brand a:hover,.ri-foot-brand a:focus-visible{color:#fff}
.ri-foot-col ul li a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
/* 단추형 두 개는 바탕이 바뀌므로 글자색을 따로 지킨다 */
.ri-a-fhelp a:hover{color:#fff}
.ri-a-fhelp a:first-child,.ri-a-fhelp a:first-child:hover{color:#000}

/* 푸터 이름 앞 달리는 아이콘 */
.ri-foot-brand__name{display:flex;align-items:center;gap:8px}
.ri-foot-brand__name .ri-a-frun{width:26px;height:26px;flex:0 0 26px;color:#fff}
/* 🚨 푸터 칸 안의 링크가 «옆으로 흐르고» 있었다(테마가 flex-wrap 으로 깔아 둠).
   그래서 칸마다 줄 수가 달라 오른쪽 아래가 휑해 보였다. 한 줄에 하나씩 세운다. */
.ri-foot-col ul{display:flex;flex-direction:column;gap:10px;align-items:flex-start;
  list-style:none;margin:0;padding:0}
.ri-foot-col ul li{display:block;width:auto}
.ri-foot-col ul li a{display:inline-block;line-height:1.4}
/* 문의·자주 묻는 질문을 브랜드 칸 아래 단추로 — 맨 끝 칸 꼬리에 있으면 아무도 못 본다 */
.ri-a-fhelp{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.ri-a-fhelp a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:0;
  border:1px solid #ffffff;color:#fff;text-decoration:none;
  font-size:13.5px;font-weight:700;letter-spacing:-.2px;transition:background .15s ease,border-color .15s ease}
.ri-a-fhelp a:hover{background:#ffffff;border-color:#ffffff;color:#000}
.ri-a-fhelp a:first-child{background:#fff;border-color:#fff;color:#000}
.ri-a-fhelp a:first-child:hover{background:#e6e6e6;border-color:#e6e6e6}

/* ── 폰 메인 맨 위 : 검색창 + 바로가기 (네이버 결) ───────────────── */
.ri-a-nv{display:none}
@media (max-width:820px){
  .ri-a-nv{display:block;padding:12px 16px 4px;background:#fff}
  /* 검색 알약 */
  .ri-a-nv__s{display:flex;align-items:center;gap:0;height:50px;padding:0 6px 0 4px;
    background:#fff;border:1px solid #000;border-radius:0;box-shadow:none}
  .ri-a-nv__scope{display:flex;align-items:center;gap:2px;height:42px;padding:0 6px 0 10px;flex:0 0 auto;
    background:none;border:0;cursor:pointer;color:#0b3aa0;
    font-family:inherit;font-weight:800;font-size:14px;line-height:1;white-space:nowrap}
  .ri-a-nv__scope svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;
    stroke-linecap:round;stroke-linejoin:round}
  .ri-a-nv__scope::after{content:'';width:1px;height:18px;margin-left:6px;background:#111}
  .ri-a-nv__s input{flex:1 1 auto;min-width:0;height:44px;padding:0 8px 0 10px;border:0;outline:none;background:none;
    font-family:inherit;font-size:16px;font-weight:500;color:#000;-webkit-appearance:none}
  .ri-a-nv__s input::placeholder{color:#555;font-weight:500}
  .ri-a-nv__s input::-webkit-search-cancel-button{-webkit-appearance:none}
  .ri-a-nv__go{flex:0 0 auto;width:40px;height:40px;display:flex;align-items:center;justify-content:center;
    background:none;border:0;cursor:pointer;color:#000;border-radius:0}
  .ri-a-nv__go svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;
    stroke-linecap:round;stroke-linejoin:round}
  .ri-a-nv__go:active{background:#eef3fc}
  .ri-a-nv__alt{display:none}
  /* 바로가기 — 4칸 두 줄 */
  .ri-a-nv__q{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 0;margin:12px 0 2px}
  .ri-a-nv__q a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px 2px 10px;
    text-decoration:none;color:#000;border-radius:0;-webkit-tap-highlight-color:transparent}
  .ri-a-nv__q a:active{background:#f3f6fb}
  .ri-a-nv__ic{width:46px;height:46px;display:flex;align-items:center;justify-content:center;
    background:#f2f6fc;border-radius:16px}
  .ri-a-nv__ic svg{width:25px;height:25px;fill:none;stroke:#0b3aa0;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round}
  .ri-a-nv__q b{font-family:inherit;font-weight:600;font-size:12px;line-height:1.2;letter-spacing:-.3px;white-space:nowrap}
  /* 검색창이 생겼으니 머리의 돋보기는 중복이다 — 메인에서만 감춘다 */
  .ri-a-nv ~ * .ri-iconbtn--search,
  body:has(.ri-a-nv) .ri-iconbtn--search{display:none}
}
@media (max-width:360px){
  .ri-a-nv{padding:10px 12px 4px}
  .ri-a-nv__ic{width:42px;height:42px}
  .ri-a-nv__q b{font-size:11px}
}
@media print{.ri-a-nv{display:none !important}}
