/* silver-care.ayo.pe.kr — 어르신 생활시설 독자 스킨 (2026-09-27, 사이트 고유 디자인 규칙).
 * ⚠️ 사이트 키는 `silvercare`(하이픈 없음) — body 클래스도 site-silvercare 다.
 *
 * 콘셉트: **경로당 벽 일력(日曆) × 큰 글씨 안내판**. 이 사이트를 쓰는 사람(어르신·보호자)에게는 멋보다
 * "잘 보이고 누르기 쉬운 것" 이 먼저다 — 벽에 걸린 한 장씩 뜯는 큰 글씨 달력과 복지관 게시판 말투로 짠다.
 * site.css(디자인 A) 위에 덮어쓰고 전부 body.site-silvercare 아래로 가둔다 — 다른 사이트에 새지 않는다.
 *
 *   헤더   : 감빛 일력 머리(위 제본 띠 + 고리 두 개) + 한지 바탕 + 상호 Gowun Batang
 *   탭     : 큰 누름단추(높이 44px 이상 · 굵은 테두리, 선택 시 솔잎색)
 *   요약표 : 큰 글씨 안내판(라벨 칸 솔잎색 · 글자 17px)
 *   질답   : 일력 한 장 — 질문마다 감빛 큰 동그라미 번호(CSS counter), 답 17.5px
 *   목록   : 한 줄 한 곳 — 큰 글씨 · 오른쪽 화살표 · 손가락으로 누르기 넓은 행
 *   지역   : 2열 큰 단추
 *   글꼴   : 제목 Gowun Batang · 본문 Noto Sans KR(기본 18px)
 *
 * ⚠️ 광고 유닛(<ins>·.ad-top·.ad-row 안쪽)에는 배경·테두리·라벨을 씌우지 않는다(site.css 애드센스 절).
 * ⚠️ 질문(h2)과 답(p) 사이에 요소를 끼우지 않는다 — 장식은 ::before/::after 로만.
 * ⚠️ 글자 대비를 낮추지 않는다 — 본문은 한지 위 짙은 먹색, 흐린 회색 글자를 쓰지 않는다.
 */

body.site-silvercare {
  --fg: #2a2522;
  --fg-soft: #3f3833;
  --muted: #625850;
  --line: #e2d6c3;
  --line-soft: #eee5d6;
  --bg: #fffcf5;
  --bg-soft: #f6efe2;
  --accent: #2f5d50;          /* 솔잎색 */
  --accent-strong: #214438;
  --accent-soft: #e2ede7;
  --accent-wash: #f2f7f3;
  --accent-line: #aac6b9;
  --persimmon: #c8501e;       /* 감빛 */
  --persimmon-soft: #fbe4d6;
  --hanji: #f8f2e6;
  --title: "Gowun Batang", "Noto Serif KR", "AppleMyungjo", serif;
  --radius: 12px;
  --wrap: 820px;
  background: var(--hanji);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}
body.site-silvercare a { text-underline-offset: 3px; }

body.site-silvercare main,
body.site-silvercare .site-foot,
body.site-silvercare .ad-top,
body.site-silvercare .top-search { max-width: var(--wrap); }

/* ── 헤더: 일력 머리 ─────────────────────────────────────────────────── */
body.site-silvercare .site-head {
  position: relative;
  max-width: var(--wrap);
  margin: 18px auto 8px;
  padding: 40px 22px 18px;
  border: 0;
  border-radius: 6px 6px 14px 14px;
  background:
    linear-gradient(var(--persimmon), var(--persimmon)) 0 0 / 100% 22px no-repeat,
    #fffcf5;
  box-shadow: 0 2px 0 var(--line), 0 10px 0 -4px #efe4d0, 0 12px 20px rgba(80, 50, 20, .08);
}
/* 제본 고리 두 개 */
body.site-silvercare .site-head::before,
body.site-silvercare .site-head::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 16px; height: 26px;
  border: 4px solid #6b5f55;
  border-radius: 10px;
  background: transparent;
}
body.site-silvercare .site-head::before { left: 22%; }
body.site-silvercare .site-head::after { right: 22%; }
body.site-silvercare .brand {
  margin-right: auto;
  font-family: var(--title);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
body.site-silvercare .brand a { color: var(--fg); }
body.site-silvercare .brand a:hover { color: var(--persimmon); text-decoration: none; }

body.site-silvercare .site-head nav { gap: 8px; }
body.site-silvercare .site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 18px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 17px;
  font-weight: 700;
}
body.site-silvercare .site-head nav a:hover,
body.site-silvercare .site-head nav a.on {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

body.site-silvercare .site-search input[type="search"] {
  min-height: 54px;
  border: 2px solid var(--muted);
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
}
body.site-silvercare .site-search button {
  min-width: 84px;
  border-radius: 12px;
  background: var(--persimmon);
  font-size: 18px;
  font-weight: 700;
}
body.site-silvercare .site-search button:hover { background: #a63f14; }

/* ── 제목·경로 ───────────────────────────────────────────────────────── */
body.site-silvercare .crumb { font-size: 15px; color: var(--muted); }
body.site-silvercare .crumb a { color: var(--fg-soft); text-decoration: underline; text-decoration-color: var(--line); }
body.site-silvercare .crumb a::after { content: "  〉"; color: var(--persimmon); text-decoration: none; display: inline-block; margin: 0 2px; }
body.site-silvercare .crumb span { color: var(--fg); font-weight: 700; }
body.site-silvercare h1 {
  font-family: var(--title);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin: 18px 0 24px;
  padding: 14px 0 14px 20px;
  border-left: 8px solid var(--persimmon);
  background: linear-gradient(90deg, #fffcf5, transparent);
}
body.site-silvercare .lead { color: var(--fg-soft); font-size: 18.5px; margin: -6px 0 24px; }
body.site-silvercare .data-date { font-size: 15px; color: var(--muted); margin: -8px 0 18px; }

/* ── 요약표: 큰 글씨 안내판 ──────────────────────────────────────────── */
body.site-silvercare .summary {
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: #fffcf5;
  font-size: 17px;
  border-collapse: separate;
  border-spacing: 0;
}
body.site-silvercare .summary tr + tr th,
body.site-silvercare .summary tr + tr td { border-top: 1.5px solid var(--line); }
body.site-silvercare .summary tr + tr th { border-top-color: rgba(255, 255, 255, .25); }
body.site-silvercare .summary th {
  width: 118px;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
body.site-silvercare .summary td { padding: 14px 18px; font-weight: 500; }
body.site-silvercare .btn { border-radius: 12px; font-size: 16px; font-weight: 700; }
body.site-silvercare .phone-row .btn-phone {
  min-height: 42px;
  padding: 6px 16px;
  font-size: 16px;
  border: 2px solid var(--persimmon);
  color: var(--persimmon);
  background: var(--persimmon-soft);
}
body.site-silvercare .phone-note { font-size: 15px; color: var(--muted); }

/* ── 질답: 일력 한 장 ────────────────────────────────────────────────── */
body.site-silvercare .qa { counter-reset: sq; }
body.site-silvercare .qa-head {
  font-family: var(--title);
  font-size: 25px;
  font-weight: 700;
  color: var(--fg);
}
body.site-silvercare .qa-head::before {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--persimmon);
  box-shadow: inset 0 0 0 5px var(--persimmon-soft);
}
body.site-silvercare .qa-list {
  padding: 8px 26px;
  border: 0;
  border-radius: 4px 4px 14px 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 8px no-repeat,
    #fffcf5;
  box-shadow: 0 1px 0 var(--line), 0 8px 0 -3px #efe4d0, 0 10px 20px rgba(80, 50, 20, .06);
  padding-top: 16px;
}
body.site-silvercare .qa-item { counter-increment: sq; padding: 22px 0; border-bottom: 2px solid var(--line-soft); }
body.site-silvercare .qa-item:last-child { border-bottom: 0; }
body.site-silvercare .qa-item h2 {
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 8px;
}
body.site-silvercare .qa-item h2::before {
  content: counter(sq);
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--persimmon);
  color: #fff;
  font-family: var(--title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
body.site-silvercare .qa-item p { padding-left: 52px; font-size: 18px; color: var(--fg-soft); line-height: 1.85; }

/* ── 지도·주변 ───────────────────────────────────────────────────────── */
body.site-silvercare .mapsec-head { font-family: var(--title); font-size: 22px; color: var(--fg); }
body.site-silvercare .map-label { font-size: 16px; }
body.site-silvercare .map-note { font-size: 15px; }
body.site-silvercare .near { border-top: 3px solid var(--accent-line); }
body.site-silvercare .near h2 {
  border-left: 0;
  padding-left: 0;
  font-family: var(--title);
  font-size: 21px;
  color: var(--accent-strong);
}
body.site-silvercare .near-block {
  padding: 4px 22px 18px;
  border-radius: 14px;
  background: #fffcf5;
  border: 2px solid var(--line);
}
body.site-silvercare .near > .near-block > p { padding-left: 0; font-size: 17.5px; }
body.site-silvercare .near ul { padding-left: 0; }
body.site-silvercare .near li { padding: 8px 0; border-bottom: 1.5px dashed var(--line); font-size: 17px; }
body.site-silvercare .near li:last-child { border-bottom: 0; }
body.site-silvercare .near .more { padding-left: 0; font-size: 16px; }
body.site-silvercare .dist { font-size: 14px; border-radius: 8px; background: var(--accent); color: #fff; padding: 2px 9px; }
body.site-silvercare .addr { font-size: 15px; color: var(--muted); }

/* ── 목록: 한 줄 한 곳 ───────────────────────────────────────────────── */
body.site-silvercare section.list > h2,
body.site-silvercare section.children > h2,
body.site-silvercare section.other-sites > h2 {
  font-family: var(--title);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  border-bottom: 3px solid var(--persimmon);
}
body.site-silvercare .place-list li:not(.ad-row) {
  position: relative;
  min-height: 64px;
  padding: 14px 44px 14px 18px;
  margin-bottom: 8px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fffcf5;
}
body.site-silvercare .place-list li:not(.ad-row)::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border: solid var(--persimmon);
  border-width: 3px 3px 0 0;
  transform: rotate(45deg);
}
body.site-silvercare .place-list li:not(.ad-row):hover { border-color: var(--accent); background: var(--accent-wash); }
body.site-silvercare .place-list li > a { font-size: 19px; font-weight: 700; color: var(--fg); min-width: 0; overflow-wrap: anywhere; }
body.site-silvercare .place-list li.ad-row { padding: 0; }
body.site-silvercare .cat { font-size: 14px; border-radius: 8px; background: var(--persimmon-soft); color: #8e3610; font-weight: 700; }
body.site-silvercare .cat:empty { display: none; }

/* 지역: 큰 단추 */
body.site-silvercare .region-links { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
body.site-silvercare .region-links li {
  min-width: 0;
  min-height: 56px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 16px;
  border: 2px solid var(--accent-line);
  border-radius: 12px;
  background: #fffcf5;
}
body.site-silvercare .region-links li:hover { border-color: var(--accent); background: var(--accent-wash); }
body.site-silvercare .region-links li > a { font-size: 18px; font-weight: 700; color: var(--accent-strong); min-width: 0; overflow-wrap: anywhere; }
body.site-silvercare .count { font-size: 15px; color: var(--muted); font-weight: 500; }

body.site-silvercare .menu-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
body.site-silvercare .menu-cards li {
  position: relative;
  flex-wrap: wrap;
  padding: 34px 22px 20px;
  border: 0;
  border-radius: 4px 4px 14px 14px;
  background:
    linear-gradient(var(--persimmon), var(--persimmon)) 0 0 / 100% 14px no-repeat,
    #fffcf5;
  box-shadow: 0 1px 0 var(--line), 0 6px 0 -2px #efe4d0;
}
body.site-silvercare .menu-cards li:nth-child(2n) { background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 14px no-repeat, #fffcf5; }
body.site-silvercare .menu-cards li:hover { background-color: var(--accent-wash); }
body.site-silvercare .menu-cards li > a { font-family: var(--title); font-size: 24px; font-weight: 700; color: var(--fg); }
body.site-silvercare .menu-cards .count { font-size: 16px; }

/* ── 출처·삭제요청·바닥 ───────────────────────────────────────────────── */
body.site-silvercare .source h2 { font-family: var(--title); color: var(--fg); }
body.site-silvercare .source p { font-size: 16px; }
body.site-silvercare .removal { border: 2px solid var(--accent-line); border-radius: 14px; background: var(--accent-wash); box-shadow: none; }
body.site-silvercare .removal::before { display: none; }
body.site-silvercare .removal-title { font-size: 18px; }
body.site-silvercare .removal-copy p:not(.removal-title) { font-size: 16px; color: var(--fg-soft); }
body.site-silvercare .removal-icon { border-radius: 50%; background: var(--accent); color: #fff; }
body.site-silvercare .btn-removal { min-height: 48px; background: var(--accent); box-shadow: none; }
body.site-silvercare .btn-removal:hover { background: var(--accent-strong); }

body.site-silvercare main.not-found .lead { font-size: 18px; }

body.site-silvercare .site-foot {
  margin-top: 52px;
  padding: 22px 22px 44px;
  border-top: 3px solid var(--persimmon);
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  body.site-silvercare { font-size: 17.5px; }
  body.site-silvercare .site-head { margin: 14px 12px 8px; padding: 36px 16px 16px; }
  body.site-silvercare .brand { font-size: 25px; }
  body.site-silvercare .site-head nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  body.site-silvercare .site-head nav a { justify-content: center; font-size: 16px; padding: 6px 8px; }
  body.site-silvercare h1 { font-size: 27px; padding-left: 14px; border-left-width: 6px; }
  body.site-silvercare .summary { font-size: 16.5px; }
  body.site-silvercare .summary th { width: 84px; padding: 12px 10px; font-size: 15px; }
  body.site-silvercare .summary td { padding: 12px 12px; }
  body.site-silvercare .qa-list { padding: 14px 16px 6px; }
  body.site-silvercare .qa-item h2 { font-size: 19px; gap: 10px; }
  body.site-silvercare .qa-item h2::before { width: 34px; height: 34px; font-size: 18px; }
  body.site-silvercare .qa-item p { padding-left: 0; font-size: 17.5px; }
  body.site-silvercare .region-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-silvercare .menu-cards { grid-template-columns: 1fr; }
  body.site-silvercare .near-block { padding: 2px 16px 14px; }
}

/* ── 다크 모드: 저녁 방 ──────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  body.site-silvercare {
    --fg: #f3ece2;
    --fg-soft: #e0d6c8;
    --muted: #bfb3a3;
    --line: #463d35;
    --line-soft: #3a322b;
    --bg: #211c18;
    --bg-soft: #2a241f;
    --accent: #7fb8a5;
    --accent-strong: #a8d4c4;
    --accent-soft: #24362f;
    --accent-wash: #1e2a25;
    --accent-line: #3f5d52;
    --persimmon: #f08a55;
    --persimmon-soft: #3e2518;
    --hanji: #171310;
  }
  body.site-silvercare .site-head,
  body.site-silvercare .qa-list,
  body.site-silvercare .menu-cards li { box-shadow: 0 1px 0 var(--line); }
  body.site-silvercare .site-head { background: linear-gradient(var(--persimmon), var(--persimmon)) 0 0 / 100% 22px no-repeat, var(--bg); }
  body.site-silvercare .site-head::before,
  body.site-silvercare .site-head::after { border-color: #9a8d80; }
  body.site-silvercare .qa-list { background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 8px no-repeat, var(--bg); }
  body.site-silvercare .menu-cards li { background: linear-gradient(var(--persimmon), var(--persimmon)) 0 0 / 100% 14px no-repeat, var(--bg); }
  body.site-silvercare .menu-cards li:nth-child(2n) { background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 14px no-repeat, var(--bg); }
  body.site-silvercare h1 { background: linear-gradient(90deg, var(--bg), transparent); }
  body.site-silvercare .summary,
  body.site-silvercare .near-block,
  body.site-silvercare .place-list li:not(.ad-row),
  body.site-silvercare .region-links li,
  body.site-silvercare .site-head nav a,
  body.site-silvercare .site-search input[type="search"] { background: var(--bg); }
  body.site-silvercare .summary th { background: #2f5d50; }
  body.site-silvercare .site-head nav a.on,
  body.site-silvercare .site-head nav a:hover,
  body.site-silvercare .dist,
  body.site-silvercare .removal-icon,
  body.site-silvercare .btn-removal { color: #171310; }
  body.site-silvercare .cat { color: #ffc2a0; }
  body.site-silvercare .qa-item h2::before { color: #171310; }
}

/* 값이 빈 요약표 줄(원본에 없는 칸)은 접는다 */
body.site-silvercare .summary tr:has(> td:empty) { display: none; }
