:root {
  --bg: #f4efe6;
  --ink: #14213d;
  --ink-soft: #425466;
  --brand: #f77f00;
  --brand-2: #003049;
  --card: #fffaf2;
  --line: #e5d7be;
  --ok: #14746f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 5% 10%, #ffe6a7 0%, transparent 35%),
    radial-gradient(circle at 90% 15%, #bde0fe 0%, transparent 30%),
    var(--bg);
  min-height: 100vh;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 34px 0 56px;
}

.hero h1,
.card h2 {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 222, 0.84));
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.06);
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 44px);
}

.desc {
  margin: 0;
  color: var(--ink-soft);
}

.meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  background: #fff;
}

.panel {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.filters {
  display: grid;
  grid-template-columns: 180px 240px 1fr 120px;
  gap: 10px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

input,
select,
button {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

button {
  margin-top: 20px;
  background: linear-gradient(120deg, var(--brand), #ff9f1c);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 16px;
  box-shadow: 0 10px 18px rgba(20, 33, 61, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.source {
  background: #eaf4ff;
  color: #1d4e89;
}

.badge.heat {
  background: #e8fff4;
  color: var(--ok);
}

.card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.card h2 a {
  color: inherit;
  text-decoration: none;
}

.card h2 a:hover {
  text-decoration: underline;
}

.summary {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #fff;
  border: 1px solid var(--line);
  color: #6b7280;
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 8px;
}

.detail-block {
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  display: grid;
  gap: 6px;
  color: #243b53;
  line-height: 1.55;
  font-size: 14px;
}

.detail-block p {
  margin: 0;
}

.readmore {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d7c9ae;
  background: #fff;
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.readmore:hover {
  background: #fff2df;
}

.empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 20px;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.22;
  pointer-events: none;
}

.orb-a {
  width: 220px;
  height: 220px;
  left: 5%;
  top: 24%;
  background: #ff9f1c;
}

.orb-b {
  width: 240px;
  height: 240px;
  right: 5%;
  top: 12%;
  background: #3a86ff;
}

@media (max-width: 940px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }

  button {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(1180px, 94vw);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
