/* search.naver.com — result grid, ad block, and the place card. */

.page-search {
  background: #fff;
}

.srch-head-right {
  font-size: 13px;
  color: #555;
}

.srch-grid {
  display: grid;
  grid-template-columns: 664px 400px;
  gap: 44px;
  width: 1108px;
  margin: 18px auto 40px;
  align-items: start;
}

.srch-main > .card,
.srch-side > .card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.dot-sep {
  color: #d0d0d0;
  margin: 0 2px;
}

/* ── ad block ─────────────────────────────────────────────────── */
.ad-card {
  background: #f7f9fc;
  border-color: #eef1f6;
}

.ad-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #333;
}

.ad-head strong {
  font-weight: 700;
}

.ad-head .right {
  margin-left: auto;
  font-size: 12px;
  color: #767676;
}

.ad-body {
  display: flex;
  gap: 18px;
}

.ad-text {
  flex: 1;
  min-width: 0;
}

.ad-src {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
}

.ad-favicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: #e8f7ee;
}

.ad-domain {
  color: #767676;
}

.ad-flag {
  padding: 1px 4px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  color: #8e8e8e;
  font-size: 10px;
  font-style: normal;
}

.ad-title {
  display: block;
  color: #1a4fa0;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 5px;
}

.ad-title b {
  font-weight: 700;
}

.ad-desc {
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.ad-thumbs {
  display: flex;
  gap: 8px;
}

.ad-thumbs img {
  width: 106px;
  height: 106px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--fill);
}

.ad-thumbs span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #444;
  text-align: center;
}

/* ── place card ───────────────────────────────────────────────── */
.place-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.place-title {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.place-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

.place-sub .rating {
  color: #333;
  font-weight: 600;
}

.place-sub .rating svg {
  vertical-align: -1px;
}

.place-style {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.place-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3px;
  margin: 14px 0 0;
  border-radius: 8px;
  overflow: hidden;
  height: 210px;
}

.place-gallery li {
  position: relative;
  overflow: hidden;
}

.place-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--fill);
}

.place-actions {
  display: flex;
  gap: 6px;
  margin: 12px 0 4px;
}

.pa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #333;
  background: #fff;
}

.pa-btn:hover {
  border-color: #bdbdbd;
}

.pa-btn.primary {
  border-color: #b7e8cb;
  background: #f0fbf4;
  color: #067a3a;
  font-weight: 700;
}

/* ── sub-blocks (예약 / 가격 / 리뷰) ──────────────────────────── */
.place-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pb-head {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.pb-head h3 {
  font-size: 15px;
  font-weight: 700;
}

.pb-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #767676;
}

.booking-list li + li {
  border-top: 1px solid #f2f2f2;
}

.bk-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  align-items: flex-start;
}

.bk-text {
  flex: 1;
  min-width: 0;
}

.bk-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a4fa0;
  margin-right: 5px;
}

.bk-meta {
  margin-top: 5px;
  font-size: 12px;
  color: #767676;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

.bk-tags {
  margin-top: 7px;
}

.bk-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--fill);
}

.place-footer-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #555;
}

/* ── sidebar / empty ──────────────────────────────────────────── */
.srch-side .card-head {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #767676;
}

.srch-side .card-head .on {
  color: var(--text-strong);
  font-weight: 700;
}

/* 플레이스 리스트 (지역/카테고리 검색) */
.place-list-card .plc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.place-list-card .plc-head strong { font-size: 16px; font-weight: 700; }
.plc-count { color: var(--naver-green); font-weight: 700; font-size: 13px; }
.plc-more { margin-left: auto; font-size: 12px; color: #767676; display: inline-flex; align-items: center; gap: 3px; }
.plc-list > li { border-top: 1px solid #f2f2f2; padding: 14px 0; }
.plc-list > li:first-child { border-top: 0; }
.plc-link { display: flex; gap: 12px; align-items: flex-start; }
.plc-thumb { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; background: var(--fill); flex: 0 0 auto; }
.plc-text { flex: 1; min-width: 0; }
.plc-name { display: flex; align-items: center; gap: 6px; }
.plc-name b { font-size: 15px; font-weight: 700; color: #1a4fa0; }
.plc-meta { margin-top: 5px; font-size: 12.5px; color: #666; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.plc-meta .rating { color: #333; font-weight: 600; }
.plc-meta b { color: #333; }
.plc-desc { margin-top: 6px; font-size: 12.5px; color: #8e8e8e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plc-book { display: inline-flex; align-items: center; gap: 4px; height: 32px; margin-top: 10px; padding: 0 14px; border: 1px solid #b7e8cb; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: #067a3a; background: #f0fbf4; }
.plc-book.ghost { border-color: var(--line-strong); color: #444; background: #fff; }

/* ── 플레이스 리스트 (네이버 카테고리/지역 검색 레이아웃) ───────────── */
.plc-top { display: flex; align-items: center; margin-bottom: 10px; }
.plc-top strong { font-size: 17px; font-weight: 700; }
.plc-top-links { margin-left: auto; font-size: 12px; color: #1a73c0; }
.plc-region { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.plc-region button { font-size: 13px; color: #333; display: inline-flex; align-items: center; gap: 3px; }

.plc-filters { display: flex; align-items: center; gap: 6px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.plc-filters::-webkit-scrollbar { display: none; }
.plc-fbtn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 13px; color: #444; background: #fff; }
.plc-fbtn.icon { width: 32px; padding: 0; justify-content: center; }
.plc-fbtn.on { border-color: var(--naver-green); color: #067a3a; font-weight: 700; }
.plc-fbtn.npay { color: #00c73c; font-weight: 800; }

.plc-map { position: relative; height: 220px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.plc-map .nmap-svg { width: 100%; height: 100%; }
.plc-map-expand { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.95); box-shadow: 0 1px 5px rgba(0,0,0,0.15); font-size: 14px; }

.plc-chips { display: flex; gap: 6px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.plc-chips::-webkit-scrollbar { display: none; }
.plc-chip { flex: 0 0 auto; height: 30px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 12.5px; color: #555; background: #fff; }
.plc-chip.arrow { width: 30px; padding: 0; }

.plc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.plc-card { padding: 16px 0; border-top: 1px solid var(--line); }
.plc-card-head { display: flex; align-items: center; gap: 5px; }
.plc-card-name { font-size: 16px; font-weight: 700; color: #222; }
.plc-save { margin-left: auto; }
.plc-promo, .plc-coupon { margin-top: 7px; font-size: 13px; color: #333; }
.plc-coupon { display: flex; align-items: center; gap: 5px; }
.plc-line { margin-top: 6px; font-size: 12.5px; color: #666; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.plc-line .rating { color: #333; font-weight: 600; }
.plc-ad { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: #b0b0b0; font-size: 11px; }
.plc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 10px; border-radius: 8px; overflow: hidden; }
.plc-photo { position: relative; }
.plc-photo img { width: 100%; height: 96px; object-fit: cover; background: var(--fill); }
.plc-photo em { position: absolute; left: 5px; bottom: 5px; padding: 1px 5px; border-radius: 3px; background: rgba(197,110,255,0.92); color: #fff; font-size: 10px; font-style: normal; }
.plc-snippet { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--fill-soft); font-size: 12.5px; color: #666; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.plc-none { padding: 40px; text-align: center; color: var(--text-muted); }

/* ── 지역 검색 (과천) ─────────────────────────────────────────── */
.gov-src { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #555; margin-bottom: 6px; }
.gov-favicon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 4px; background: #eaf1fd; }
.gov-domain { color: #767676; }
.gov-title { display: block; font-size: 18px; color: #1a4fa0; font-weight: 600; margin-bottom: 6px; }
.gov-menus { font-size: 13px; color: #2f6fed; margin-bottom: 8px; }
.gov-menus a { color: #2f6fed; }
.gov-desc { font-size: 13.5px; color: #444; line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.gov-notice { padding: 14px 0; border-bottom: 1px solid var(--line); }
.gov-notice-head { display: flex; align-items: center; margin-bottom: 8px; }
.gov-notice-head b { font-size: 14px; }
.gov-notice-info { margin-left: auto; font-size: 11.5px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 3px; }
.gov-notice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.gov-notice-list li { font-size: 12.5px; color: #444; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gov-notice-list em { color: var(--text-muted); font-style: normal; font-size: 11.5px; }
.gov-socials { display: flex; gap: 6px; padding-top: 14px; }
.gov-soc { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 12.5px; color: #444; }

.event-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.event-list img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; background: var(--fill); }
.ev-label { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.ev-count { display: block; font-size: 12px; color: var(--text-muted); }

.region-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.region-head h2 { font-size: 16px; font-weight: 700; }
.region-sub { font-size: 12px; color: var(--text-muted); }
.region-more { margin-left: auto; font-size: 12px; color: #767676; display: inline-flex; align-items: center; gap: 3px; }
.region-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.region-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 8px; overflow: hidden; }
.region-photos li { position: relative; }
.region-photos img { width: 100%; height: 150px; object-fit: cover; background: var(--fill); }
.region-cap { position: absolute; left: 8px; bottom: 8px; color: #fff; font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.info-head { margin-bottom: 4px; }
.info-head strong { font-size: 16px; font-weight: 700; }

/* ── 지역 검색 확장 (과천 전체 블록) ───────────────────────────── */
.chip { flex: 0 0 auto; height: 32px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 13px; color: #555; background: #fff; }
.chip.on { border-color: #333; color: #222; font-weight: 700; }

.area-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.area-head h2 { font-size: 17px; font-weight: 700; }
.area-head h2 b { font-weight: 800; }
.area-head-sub { font-weight: 400; }
.ep-tabs { font-size: 13px; color: var(--text-muted); }
.ep-tabs a { color: var(--text-muted); margin-left: 10px; position: relative; }
.ep-tabs a:first-child { margin-left: 12px; }
.ep-tabs a.on { color: #222; font-weight: 700; }
.ep-tabs a::before { content: ''; position: absolute; left: -6px; top: 3px; bottom: 3px; width: 1px; background: var(--line); }
.ep-tabs a:first-child::before { display: none; }
.area-more { margin-left: auto; display: inline-flex; align-items: center; color: #a0a0a0; }

/* 지역 개요 */
.region-overview .ro-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; border-radius: 10px; overflow: hidden; height: 260px; margin-bottom: 14px; }
.ro-gallery li { overflow: hidden; }
.ro-gallery .ro-g0 { grid-row: 1 / span 2; }
.ro-gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--fill); }
.ro-meta { font-size: 13px; margin-bottom: 10px; }
.ro-meta > div { display: flex; gap: 10px; padding: 3px 0; }
.ro-meta dt { color: var(--text-muted); flex: 0 0 32px; }
.ro-meta dd a { color: #2f6fed; }
.ro-weather { margin-left: 4px; color: #767676; }
.ro-desc { font-size: 13.5px; color: #444; line-height: 1.6; margin-bottom: 12px; }
.ro-more { color: #2f6fed; white-space: nowrap; }
.ro-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ro-tags a { padding: 5px 11px; background: var(--fill); border-radius: var(--radius-pill); font-size: 12.5px; color: #555; }
.ro-cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #333; }
.ro-report { margin-top: 12px; }
.ro-report a { font-size: 12px; color: var(--text-muted); text-decoration: underline; }

/* 에디터 PICK */
.ep-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ep-list img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: var(--fill); }
.ep-title { margin-top: 8px; font-size: 13px; line-height: 1.4; color: #222; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ep-src { margin-top: 5px; font-size: 11.5px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; }

/* 어디서 잘까 */
.lodge-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lodge-list img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; background: var(--fill); }
.lodge-name { margin-top: 8px; font-size: 14px; font-weight: 600; color: #222; }
.lodge-meta { margin-top: 3px; font-size: 12px; color: #666; }
.lodge-meta .star { color: #ffb200; }
.lodge-price { margin-top: 4px; font-size: 15px; font-weight: 800; color: #111; }

/* 코스추천 */
.course-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.course-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.course-thumbs li { position: relative; }
.course-thumbs img { width: 100%; height: 92px; object-fit: cover; background: var(--fill); }
.ct-no { position: absolute; left: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.course-title { font-size: 14px; font-weight: 700; color: #222; }
.course-meta { margin-top: 5px; font-size: 12px; color: var(--text-muted); }
.course-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.course-tags span { font-size: 12px; color: #767676; background: var(--fill); border-radius: var(--radius-pill); padding: 3px 9px; }

/* 가볼만한곳 */
.places-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.places-tabs::-webkit-scrollbar { display: none; }
.places-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.places-list li { position: relative; }
.places-list img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; background: var(--fill); }
.pl-rank { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 6px; background: rgba(0,0,0,0.6); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pl-name { margin-top: 7px; font-size: 12.5px; line-height: 1.35; color: #222; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 뉴스 */
.news-head { display: flex; align-items: center; margin-bottom: 14px; }
.news-head h2 { font-size: 17px; font-weight: 700; }
.news-sort { margin-left: auto; font-size: 13px; display: flex; gap: 12px; }
.news-sort b { color: #222; }
.news-sort b::before { content: '• '; color: #03c75a; }
.news-sort a { color: var(--text-muted); }
.news-list > li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; gap: 16px; }
.news-list > li:first-child { border-top: 0; padding-top: 0; }
.news-body { flex: 1; min-width: 0; }
.news-src { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.news-badge { color: #444; font-weight: 600; }
.news-pick { color: #ff5a3c; font-weight: 800; font-style: normal; font-size: 11px; }
.news-title { display: block; font-size: 16px; font-weight: 600; color: #1a4fa0; line-height: 1.4; margin-bottom: 6px; }
.news-desc { font-size: 13px; color: #555; line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-related { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.news-related li { font-size: 13px; color: #333; line-height: 1.6; }
.news-related a { color: #333; }
.news-rel-src { color: var(--text-muted); font-size: 11.5px; }
.news-thumb { flex: 0 0 132px; }
.news-thumb img { width: 132px; height: 92px; object-fit: cover; border-radius: 8px; background: var(--fill); }
.news-all { display: block; text-align: right; margin-top: 8px; font-size: 12.5px; color: #767676; }
