/* =========================================================
   도안IPARK 파인 부동산 — 공개 사이트 스타일
   ========================================================= */
:root {
  --green: #1e7b34;
  --green-dark: #165f28;
  --green-soft: #eaf5ec;
  --red: #e5322d;
  --blue: #1663d6;
  --monthly: #2c9a43;
  --navy: #12263f;
  --navy-2: #1b3555;
  --gold: #e9c27a;
  --orange: #e2590b;
  --ink: #1b1f24;
  --ink-2: #4a525c;
  --muted: #7a838d;
  --line: #e3e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f7f8;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(16, 24, 40, .07);
  --shadow-lg: 0 10px 30px rgba(16, 24, 40, .18);
  --header-h: 0px;
  font-size: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
em { font-style: normal; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.c-red { color: var(--red); }
.c-green { color: var(--green); }
.muted { color: var(--muted); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid #2f80ed; outline-offset: 2px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-line { background: #fff; border-color: #c9d0d6; color: var(--ink); }
.btn-line:hover { border-color: var(--green); color: var(--green); }
.btn-lg { min-height: 52px; font-size: 1.15rem; }

/* ---------- 헤더 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 54px; height: 48px; color: var(--green); flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: clamp(1.25rem, 3.2vw, 2.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.brand-suffix { font-weight: 800; margin-left: 2px; }
.brand-tagline { color: var(--ink-2); font-size: clamp(.8rem, 1.4vw, 1.05rem); margin-top: 2px; }
.header-contact { text-align: right; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.header-phone .ico { width: 30px; height: 30px; color: var(--green); }
.header-phone-label { font-weight: 700; font-size: 1.1rem; }
.header-call { display: none; }
.header-phone strong { color: var(--green); font-size: clamp(1.4rem, 2.8vw, 2.25rem); font-weight: 900; letter-spacing: -0.01em; }
.header-specialties { font-weight: 600; color: var(--ink-2); font-size: .98rem; margin-top: 2px; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: 14px 32px; font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--green); }
.main-nav a.is-active { background: var(--green); color: #fff; padding-left: 44px; padding-right: 44px; }

/* ---------- 히어로 ---------- */
.hero { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; }
.hero-sub { color: var(--gold); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }
.hero-desc { color: #d6deea; margin-top: 12px; font-size: 1.05rem; max-width: 34em; }
.hero-photo { margin: 0; justify-self: end; }
.hero-photo { width: 100%; max-width: 330px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 4; object-fit: cover; object-position: 50% 0%; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }


/* ---------- 필터 ---------- */
.filters { border-bottom: 1px solid var(--line); background: #fff; }
.filters-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 14px 22px; padding-top: 16px; padding-bottom: 12px; }
.filter-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.filter-label { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.filter-divider { width: 1px; height: 28px; background: var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #ccd3d9; background: #fff;
  font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 800; }
.search-box { display: flex; align-items: center; gap: 8px; margin-left: auto; border: 1px solid #ccd3d9; border-radius: 999px; padding: 0 16px; min-height: 44px; flex: 1 1 160px; min-width: 150px; max-width: 320px; background: #fff; box-shadow: var(--shadow); }
.search-box .ico { width: 20px; height: 20px; color: var(--ink-2); }
.search-box input { border: 0; outline: 0; flex: 1; min-width: 0; background: transparent; }
.search-box:focus-within { border-color: var(--green); }
.more-filters { padding-bottom: 12px; }
.more-filters summary { cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: .95rem; width: max-content; }
.more-filters-grid { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; margin-top: 10px; }
.more-filters-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
select { min-height: 42px; padding: 0 36px 0 12px; border-radius: 10px; border: 1px solid #ccd3d9; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23222' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; font-weight: 600; cursor: pointer; }

/* ---------- 지도 + 목록 ---------- */
.explore { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.map-panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 560px; background: #eef1f3; box-shadow: var(--shadow); }
.map { position: absolute; inset: 0; }
.map-area-badge {
  position: absolute; z-index: 500; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px;
  background: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 800; font-size: 1.08rem;
}
.map-area-badge .ico { color: var(--blue); width: 22px; height: 22px; }
.map-btn { position: absolute; z-index: 500; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; }
.map-btn .ico { width: 22px; height: 22px; }
.map-expand { top: 16px; right: 16px; }
.map-status { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-weight: 600; z-index: 400; background: #eef1f3; }
.map-status[hidden] { display: none; }
.map-status .btn { margin-top: 12px; }
.map-panel.is-expanded { position: fixed; inset: 0; z-index: 900; border-radius: 0; min-height: 0; }

/* 마커 (네이버/Leaflet 공통 HTML) */
.pin { position: relative; cursor: pointer; }
/* 깃발 마커: 깃대 아래 끝(왼쪽 아래)이 매물 위치 */
.pin.flag { transform: translate(-3px, -100%); display: flex; align-items: flex-start; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.flag-icon { width: 22px; height: 32px; flex: none; display: block; }
.flag-pole { fill: #34404b; }
.flag-label { display: inline-flex; align-items: center; gap: 4px; margin-left: -2px; margin-top: 1px; padding: 2px 6px 2px 5px; background: #fff; border: 1.5px solid currentColor; border-radius: 6px; font-size: 12px; line-height: 1.2; font-weight: 700; color: var(--ink); white-space: nowrap; }
.flag-tx { font-weight: 800; }
.flag-loc { color: var(--ink); }
.pin--sale { color: var(--red); } .pin--sale .flag-cloth { fill: var(--red); }
.pin--jeonse { color: var(--blue); } .pin--jeonse .flag-cloth { fill: var(--blue); }
.pin--monthly { color: var(--monthly); } .pin--monthly .flag-cloth { fill: var(--monthly); }
.pin.is-selected { z-index: 10; }
.pin.is-selected .flag-label { background: currentColor; }
.pin.is-selected .flag-label b, .pin.is-selected .flag-loc { color: #fff; }
.pin.is-selected .flag-icon { transform: scale(1.15); transform-origin: 3px 32px; }
.leaflet-div-icon.pin-host { background: transparent; border: 0; }
.dong-label { font-size: 34px; font-weight: 900; color: #1f5fd6; opacity: .75; letter-spacing: -0.02em; pointer-events: none; text-shadow: 0 1px 0 #fff, 0 0 6px #fff; transform: translate(-50%, -50%); white-space: nowrap; }

/* 지도 팝업 */
.map-popup { width: 250px; font-family: inherit; color: var(--ink); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-popup img { width: 100%; height: 96px; object-fit: cover; background: #eef1f3; }
.map-popup-body { padding: 10px 12px 12px; }
.map-popup-price { color: var(--red); font-weight: 900; font-size: 1.1rem; margin-top: 2px; }
.map-popup-title { font-weight: 800; }
.map-popup-meta { color: var(--ink-2); font-size: .88rem; margin-top: 2px; }
.map-popup .btn { min-height: 38px; margin-top: 8px; width: 100%; }
.map-popup-close { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; cursor: pointer; }
.kakao-popup { position: relative; transform: translate(-50%, calc(-100% - 36px)); }
.kakao-popup .map-popup-close { z-index: 1; }
.leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: auto !important; }
.leaflet-popup-content .map-popup { box-shadow: none; }

/* 목록 */
.list-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 0; max-height: 560px; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.list-head h2 { font-size: 1.3rem; font-weight: 800; }
.list-head h2 strong { color: var(--blue); }
.cards { list-style: none; margin: 0; padding: 0 8px; overflow-y: auto; flex: 1; }
.card { border-bottom: 1px solid var(--line); }
.card:last-child { border-bottom: 0; }
.card-btn { display: grid; grid-template-columns: 136px 1fr 20px; gap: 16px; align-items: center; width: 100%; padding: 12px 8px; background: none; border: 0; text-align: left; cursor: pointer; border-radius: 10px; }
.card-btn:hover { background: #f7faf8; }
.card.is-selected .card-btn { background: var(--green-soft); box-shadow: inset 4px 0 0 var(--green); }
/* 샘플 사진 표시 */
.sample-wrap { position: relative; display: block; line-height: 0; }
.sample-badge { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; padding: 1px 6px; border-radius: 4px; pointer-events: none; }
.map-popup-img { position: relative; line-height: 0; }
.card-thumb { width: 136px; height: 102px; border-radius: 8px; object-fit: cover; background: #eef1f3; }
.card-body { min-width: 0; }
.card-tags { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.tag { display: inline-block; color: #fff; font-weight: 800; padding: 2px 9px; border-radius: 5px; font-size: .88rem; }
.tag--sale { background: var(--red); }
.tag--jeonse { background: var(--blue); }
.tag--monthly { background: var(--monthly); }
.tag--featured { background: var(--green); }
.tag--sold { background: #6b7280; }
.card-title { display: block; font-size: 1.15rem; font-weight: 800; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { display: block; color: var(--red); font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; }
.card-meta { display: flex; flex-wrap: wrap; overflow: hidden; color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.card-meta span { border-left: 1px solid #c5ccd3; padding: 0 9px; margin-left: -1px; line-height: 1.25; margin-top: 3px; }
.card-meta span:first-child { padding-left: 0; border-left-color: transparent; }
.card-arrow { width: 20px; height: 20px; color: var(--ink-2); }
.card-skeleton { height: 118px; margin: 10px 8px; border-radius: 10px; background: linear-gradient(90deg, #f0f2f4 25%, #e5e8eb 50%, #f0f2f4 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.list-empty, .list-error { padding: 36px 20px; text-align: center; color: var(--ink-2); display: grid; gap: 8px; justify-items: center; }
.list-empty[hidden], .list-error[hidden] { display: none; }

/* ---------- 추천매물 + 사무소 ---------- */
.highlight-row { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.featured { display: grid; grid-template-columns: 236px 1fr auto; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.featured[hidden] { display: none; }
.featured img { width: 236px; height: 156px; object-fit: cover; border-radius: 10px; background: #eef1f3; }
.featured-title { font-size: 1.5rem; font-weight: 900; margin-top: 6px; }
.featured-price { color: var(--red); font-size: 1.65rem; font-weight: 900; }
.featured-points { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.featured-points li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.featured-points .ico { color: var(--green); width: 20px; height: 20px; }
.featured-side { display: flex; flex-direction: column; align-items: center; }
.highlight-row:has(.featured[hidden]) { grid-template-columns: 1fr; }
.office-card { background: var(--green-soft); border: 1px solid #d3e8d7; border-radius: var(--radius); padding: 18px 22px; display: grid; gap: 8px; align-content: center; }
.office-card-name { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; }
.office-card-name .ico { color: var(--green); width: 28px; height: 28px; }
.office-card-phone { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 1.9rem; font-weight: 900; text-decoration: none; }
.office-card-phone .ico { width: 30px; height: 30px; }
.office-card-addr { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.office-card-addr .ico { color: var(--green); }
.office-card .btn { margin-top: 4px; }

/* ---------- 섹션 ---------- */
.section { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 56px; }
#location { padding: 24px 0 28px; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; }
.section-title::before { content: ""; display: inline-block; width: 6px; height: 1.1em; background: var(--green); border-radius: 3px; margin-right: 10px; vertical-align: -3px; }
.section-lead { color: var(--ink-2); margin-top: 6px; font-size: 1.05rem; }
.location { display: block; }
.loc-list { display: grid; grid-template-columns: 60px 1fr; gap: 2px 14px; margin: 4px 0 16px; font-size: 1.05rem; line-height: 1.5; }
.loc-list dt { font-weight: 800; color: var(--green); }
.loc-list dd { margin: 0; }
.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 푸터 ---------- */
.site-footer { background: #1d2329; color: #c3cad1; padding: 32px 0 40px; font-size: .92rem; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer-legal { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: #fff; }
.footer-related { margin: 0 0 8px; }
.footer-related a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-note, .footer-credit { margin-top: 6px; color: #98a1aa; font-size: .85rem; }

/* ---------- 모바일 하단 전화 ---------- */

/* ---------- 상세 모달 ---------- */
.detail { width: min(760px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); }
.detail::backdrop { background: rgba(10, 20, 30, .55); }
.detail-inner { position: relative; }
.detail-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; cursor: pointer; }
.detail-gallery { position: relative; background: #111; }
.detail-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; font-size: 20px; }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-count { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .85rem; }
.detail-content { padding: 20px 24px 24px; }
.detail-content h2 { font-size: 1.5rem; font-weight: 900; margin-top: 6px; }
.detail-price { color: var(--red); font-size: 1.6rem; font-weight: 900; margin-top: 2px; }
.detail-table { display: grid; grid-template-columns: 110px 1fr; margin: 16px 0; border-top: 2px solid var(--ink); }
.detail-table dt, .detail-table dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.detail-table dt { background: var(--bg-alt); font-weight: 700; color: var(--ink-2); }
.detail-desc { white-space: pre-line; color: var(--ink); background: var(--bg-alt); border-radius: 10px; padding: 14px 16px; }
.detail-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.detail-note { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 14px 20px; }
  .main-nav a.is-active { padding-left: 28px; padding-right: 28px; }
  .featured { grid-template-columns: 200px 1fr; }
  .featured img { width: 200px; height: 140px; }
  .featured-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .featured-points { margin: 0; }
  .filters-inner { gap: 12px 14px; }
  .filter-group { gap: 8px; }
  .chips { gap: 6px; }
  .chip { padding: 0 11px; }
}
@media (max-width: 960px) {
  .explore { grid-template-columns: 1fr; }
  .map-panel { min-height: 420px; }
  .list-panel { max-height: none; }
  .cards { overflow: visible; }
  .highlight-row { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 300px; }
  .filters-inner { flex-wrap: wrap; }
  .search-box { margin-left: 0; flex: 1 1 100%; max-width: none; }
  .filter-divider { display: none; }
}
@media (max-width: 640px) {
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .brand-logo { width: 38px; height: 34px; }
  .brand-suffix { display: block; font-size: .7em; margin: 0; }
  .header-contact { display: none; }
  .header-call {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  }
  .header-call .ico { width: 22px; height: 22px; fill: currentColor; }
  .main-nav .container { padding: 0; }
  .main-nav li { flex: 1 1 0; }
  .main-nav a, .main-nav a.is-active { padding: 12px 6px; font-size: 1rem; text-align: center; }
  .hero-inner { padding-top: 24px; padding-bottom: 26px; }
  .filters-inner { gap: 10px; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips { gap: 6px; }
  .chip { min-height: 38px; padding: 0 8px; font-size: .9rem; flex: 1 1 auto; white-space: nowrap; }
  .map-panel { min-height: 360px; }
  .map-area-badge { font-size: .95rem; padding: 8px 12px; top: 10px; left: 10px; }
  .map-expand { top: 10px; right: 10px; }
  .card-btn { grid-template-columns: 104px 1fr 16px; gap: 12px; }
  .card-thumb { width: 104px; height: 84px; }
  .card-title { display: block; font-size: 1.02rem; }
  .card-price { font-size: 1.06rem; }
  .card-meta { font-size: .84rem; }
  .card-meta span { padding: 0 6px; }
  .card-meta span:first-child { padding-left: 0; }
  .list-head h2 { font-size: 1.1rem; }
  .featured { grid-template-columns: 1fr; }
  .featured img { width: 100%; height: 190px; }
  .featured-side { flex-direction: column; align-items: stretch; gap: 12px; }
  .office-card { display: none; }
  .hero-photo { justify-self: stretch; max-width: none; }
  .highlight-row:has(.featured[hidden]) { display: none; }
    .detail { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .detail-table { grid-template-columns: 92px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-skeleton { animation: none; }
}
