
:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#152033;
  --muted:#667085;
  --line:#dfe5ee;
  --brand:#1769e0;
  --brand-dark:#0f4fb8;
  --brand-soft:#eef4ff;
  --brand-soft-2:#f7f9ff;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1120px;margin:auto;padding-left:20px;padding-right:20px}

.top{
  background:#fff;
  border-bottom:1px solid #e6ebf2;
  position:sticky;
  top:0;
  z-index:10;
}
.topin{
  height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  font-size:22px;
  font-weight:900;
  color:var(--brand);
  letter-spacing:-.04em;
}
nav{display:flex;gap:20px;font-size:14px;color:#344054;font-weight:700}
nav a:hover{color:var(--brand)}

main.wrap{padding-top:28px;padding-bottom:60px}

.hero{
  background:linear-gradient(135deg,#f3f7ff 0%,#fff 72%);
  border:1px solid #d6e2f5;
  border-radius:22px;
  padding:36px;
  margin-bottom:22px;
  box-shadow:0 1px 2px rgba(16,24,40,.02);
}
.hero.compact{padding:28px}
.hero h1{
  font-size:34px;
  line-height:1.25;
  margin:4px 0 10px;
  letter-spacing:-.035em;
}
.hero p{margin:0;color:var(--muted)}
.eyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  color:var(--brand);
}

.searchbox{display:flex;gap:8px;margin-top:22px}
.searchbox input{
  flex:1;
  min-width:0;
  border:1px solid #cfd8e6;
  border-radius:12px;
  padding:14px 16px;
  font-size:16px;
  background:#fff;
  outline:none;
}
.searchbox input:focus{
  border-color:#8ab4ef;
  box-shadow:0 0 0 3px rgba(23,105,224,.08);
}
.searchbox button,.btn{
  border:1px solid var(--line);
  border-radius:11px;
  padding:13px 18px;
  background:#fff;
  color:#24324a;
  font-weight:800;
  cursor:pointer;
}
.searchbox button,.btn.primary{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}
.searchbox button:hover,.btn.primary:hover{background:var(--brand-dark)}

.quick-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:22px;
}
.quick-card,.region-card,.info-card,.cross-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:18px;
}
.quick-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.quick-card span,.region-card span{color:var(--muted);font-size:13px}
.quick-card.accent{
  background:var(--brand-soft);
  border-color:#d7e4fb;
}

.section{margin-top:28px}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:12px;
}
.section-head h2{margin:0;font-size:22px;letter-spacing:-.03em}
.section-head span{font-size:13px;color:var(--muted)}

.region-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.region-card{
  display:flex;
  flex-direction:column;
  gap:3px;
  transition:.15s ease;
}
.region-card:hover,.item:hover{
  border-color:#a9c7f2;
  box-shadow:0 3px 12px rgba(23,105,224,.06);
  transform:translateY(-1px);
}

.list{display:grid;gap:9px}
.item{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:17px;
  transition:.15s ease;
}
.item h3{margin:0 0 5px;font-size:17px;letter-spacing:-.02em}
.meta{font-size:13px;color:var(--muted)}

.crumbs{font-size:13px;color:var(--muted);margin-bottom:12px}
.crumbs a{color:#475467}
.detail-hero{margin-bottom:16px}
.actions{display:flex;gap:8px;margin-top:20px}

.facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.facts div{padding:16px;border-bottom:1px solid var(--line)}
.facts div:nth-child(odd){border-right:1px solid var(--line)}
.facts dt{font-size:12px;color:var(--muted);margin-bottom:3px}
.facts dd{margin:0;font-weight:700}

.info-card{margin-top:18px}
.info-card h2,.cross-card h2{margin:0 0 6px;letter-spacing:-.025em}
.info-card p,.cross-card p{margin:0;color:var(--muted)}
.cross-card{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:var(--brand-soft-2);
}

.adbox{
  background:#fff;
  border:1px dashed #d7dde5;
  border-radius:14px;
  padding:8px;
  margin:22px 0;
  min-height:90px;
}

footer{
  border-top:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:13px;
  padding:26px 0;
}
footer a{color:var(--brand);font-weight:700}

@media(max-width:800px){
  .region-grid{grid-template-columns:repeat(2,1fr)}
  nav{display:none}
  .hero{padding:26px}
  .hero h1{font-size:28px}
  .facts{grid-template-columns:1fr}
  .facts div:nth-child(odd){border-right:0}
  .quick-grid{grid-template-columns:1fr}
  .cross-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){
  .region-grid{grid-template-columns:1fr}
  .searchbox{flex-direction:column}
}
