:root {
  --bg: #fbf8f1;
  --card: #ffffff;
  --ink: #102031;
  --muted: #65717d;
  --line: #e8e5df;
  --green: #1f8a5b;
  --green-dark: #126b43;
  --coral: #dd6048;
  --shadow: 0 18px 55px rgba(27, 41, 51, 0.09);
  --soft-shadow: 0 8px 28px rgba(27, 41, 51, 0.07);
  --radius: 20px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 48%, #fbf7ed 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.45;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 0 min(56px, 4vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(26, 40, 52, 0.1);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green);
}

.brand-mark svg {
  width: 44px;
  height: 44px;
}

.brand strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong::first-letter {
  color: var(--green);
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 12px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 16px;
}

.nav-links a {
  padding: 26px 10px 20px;
  border-bottom: 2px solid transparent;
  color: #111827;
  font-weight: 760;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-label {
  color: var(--ink);
  font-weight: 760;
}

.ghost-button,
.icon-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 14px;
}

.ghost-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
}

.icon-button {
  width: 42px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 10px;
}

.menu-button {
  gap: 5px;
}

.page-shell {
  width: min(100% - 72px, 1440px);
  margin: 0 auto 44px;
}

.home-hero {
  min-height: 340px;
  margin: 0 calc(50% - 50vw) 0;
  padding: 52px max(56px, calc((100vw - 1440px) / 2 + 56px)) 32px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 252, 246, 0.9) 31%, rgba(255, 252, 246, 0.28) 58%, rgba(255, 252, 246, 0.04) 100%),
    url("assets/penang-lifestyle-hero.png") center right / cover;
  border-bottom: 1px solid rgba(27, 41, 51, 0.08);
}

.home-hero .hero-copy {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  margin: 0;
  max-width: 650px;
  color: #124334;
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 700;
}

.home-hero h1 span,
.home-hero h1 em {
  display: block;
}

.home-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.home-hero .hero-subtitle {
  margin: 20px 0 18px;
  max-width: 520px;
  color: #1c2935;
  font-size: 18px;
  line-height: 1.45;
}

.home-hero .search-panel {
  width: min(100%, 600px);
  min-height: 58px;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 18px 44px rgba(30, 42, 50, 0.16);
  position: relative;
  z-index: 1;
}

.home-hero .search-icon {
  font-size: 22px;
}

.home-hero .search-panel input {
  font-size: 15px;
}

.home-hero .search-panel button {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
}

.location-pill {
  position: absolute;
  right: max(56px, calc((100vw - 1440px) / 2 + 56px));
  bottom: 36px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(27, 41, 51, 0.12);
  padding: 0 16px;
  color: #1c2935;
  font-size: 14px;
  font-weight: 850;
}

.location-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(221, 96, 72, 0.18);
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(330px, 0.82fr);
  gap: 20px;
  align-items: start;
  margin-top: 0;
  transform: translateY(-6px);
}

.home-main,
.home-sidebar {
  display: grid;
  gap: 18px;
}

.local-talk-card,
.guide-card,
.community-card,
.trust-strip {
  border: 1px solid rgba(27, 41, 51, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(27, 41, 51, 0.06);
}

.local-talk-card,
.guide-card {
  padding: 16px;
}

.local-topic-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.local-topic {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-rows: auto auto auto;
  gap: 3px 12px;
  align-items: start;
  padding: 0;
}

.local-topic img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  grid-row: 1 / span 3;
}

.local-topic span {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.local-topic strong {
  font-size: 15px;
  line-height: 1.28;
}

.local-topic small {
  color: var(--muted);
  font-size: 12px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guide-item {
  overflow: hidden;
  border: 1px solid rgba(27, 41, 51, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(27, 41, 51, 0.07);
}

.guide-item img {
  width: 100%;
  height: 134px;
  display: block;
  object-fit: cover;
}

.guide-item div {
  padding: 12px;
}

.guide-item h3 {
  margin: 9px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.guide-item p {
  margin: 0;
  color: #364454;
  font-size: 12px;
  font-weight: 760;
}

.community-card {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(223, 245, 229, 0.92), rgba(239, 247, 232, 0.58)),
    #eff8ef;
}

.community-card h2 {
  margin: 0 0 4px;
  font-size: 19px;
}

.community-card p {
  margin: 0 0 12px;
  color: #344254;
  font-size: 14px;
}

.community-card button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #d4efd9;
  color: var(--green-dark);
  padding: 0 16px;
  font-weight: 850;
}

.community-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span,
.attendee-row span {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d8e8d9;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
}

.avatar-stack span:first-child,
.attendee-row span:first-child {
  margin-left: 0;
}

.community-card blockquote {
  margin: 0;
  color: #344254;
  font-size: 13px;
}

.community-card cite {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
}

.home-sidebar {
  position: relative;
}

.home-sidebar .pulse-card,
.home-sidebar .popular-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(27, 41, 51, 0.07);
}

.home-sidebar .pulse-card {
  min-height: 0;
  padding: 18px;
}

.home-sidebar .popular-card {
  padding: 18px;
}

.home-sidebar .pulse-item {
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 12px 0 16px;
}

.home-sidebar .pulse-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #174c89;
  font-weight: 950;
  background: #f1f3f5;
}

.home-sidebar .pulse-item h3 {
  margin-top: 6px;
  font-size: 15px;
}

.home-sidebar .pulse-item small {
  color: var(--green-dark);
}

.visa {
  background: #f1f3f5;
  color: #174c89;
}

.event-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 16px 0 12px;
  border-top: 1px solid var(--line);
}

.event-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.event-card h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.event-card p,
.event-card small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.attendee-row {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.attendee-row strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.more-events {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--green-dark);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.popular-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.popular-pill-grid button {
  min-height: 34px;
  border: 1px solid #e8e9e4;
  border-radius: 999px;
  background: #fff;
  color: #263646;
  font-size: 13px;
  font-weight: 720;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0;
  padding: 10px 18px;
}

.trust-strip article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f3f8f4;
  color: var(--green-dark);
  font-weight: 950;
}

.trust-strip strong {
  display: block;
  font-size: 14px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(330px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-card {
  min-height: 520px;
  border-radius: var(--radius);
  padding: 58px 46px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(241, 250, 248, 0.92) 0%, rgba(241, 250, 248, 0.72) 38%, rgba(241, 250, 248, 0.1) 70%),
    url("assets/penang-lifestyle-hero.png") center right / cover;
  box-shadow: var(--soft-shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(44px, 4.45vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 24px 0 10px;
  max-width: 470px;
  font-size: 22px;
  color: #172536;
}

.trust-line {
  margin: 0 0 28px;
  max-width: 560px;
  color: #334253;
  font-size: 16px;
  font-weight: 650;
}

.search-panel {
  width: min(100%, 780px);
  min-height: 74px;
  border-radius: 24px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 24px;
  box-shadow: 0 18px 48px rgba(10, 31, 45, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-panel:focus-within,
.search-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(10, 31, 45, 0.18);
}

.search-icon {
  color: #455260;
  font-size: 30px;
  line-height: 1;
}

.search-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 19px;
  min-width: 0;
}

.search-panel input::placeholder {
  color: #777f87;
}

.search-panel button,
.lifestyle-card button {
  border: 0;
  border-radius: 20px;
  background: var(--green);
  color: #fff;
  min-height: 58px;
  padding: 0 30px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-panel button:hover,
.lifestyle-card button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--green-dark);
  box-shadow: 0 10px 24px rgba(31, 138, 91, 0.22);
}

.suggestion-area {
  margin-top: 22px;
}

.suggestion-area p {
  margin: 0 0 12px;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chips .search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-color: var(--line);
  background: #fff;
}

.search-chip span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eaf5ef;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.chips button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.pulse-card,
.category-card,
.archive-card,
.topic-reader-card,
.popular-card,
.cities-card,
.results-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.pulse-card {
  min-height: 520px;
  padding: 26px 22px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.snapshot-grid button {
  min-height: 92px;
  border: 1px solid #e5eee8;
  border-radius: 16px;
  background: #fbfdfb;
  color: var(--ink);
  padding: 13px 14px;
  text-align: left;
  display: grid;
  align-content: center;
  gap: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.snapshot-grid button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 41, 51, 0.08);
}

.snapshot-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.snapshot-grid strong {
  font-size: 25px;
  line-height: 1.1;
}

.snapshot-grid small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-heading a {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.digest-meta {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
}

.compact {
  margin-bottom: 16px;
}

.pulse-list {
  display: grid;
  gap: 0;
}

.pulse-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.pulse-item:last-child {
  border-bottom: 0;
}

.pulse-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f1f7f4;
  font-size: 26px;
}

.pulse-item h3 {
  margin: 7px 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.pulse-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pulse-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.archive-card {
  padding: 24px;
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-day {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.archive-day:first-child {
  border-top: 0;
  padding-top: 0;
}

.archive-day h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.archive-day p {
  margin: 0;
  color: var(--muted);
}

.archive-insights {
  display: grid;
  gap: 12px;
}

.archive-insight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fbfdfb;
}

.archive-insight h4 {
  margin: 7px 0 6px;
  font-size: 16px;
}

.archive-insight p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-insight ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.archive-insight small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.topic-reader-card {
  padding: 24px;
}

.topic-reader-list {
  display: grid;
  gap: 14px;
}

.topic-reader-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fbfdfb;
}

.topic-reader-heading,
.topic-reader-insight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.topic-reader-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.topic-reader-item h3,
.topic-reader-insight h4 {
  margin: 7px 0 6px;
}

.topic-reader-item h3 {
  font-size: 18px;
}

.topic-reader-insight h4 {
  font-size: 15px;
}

.topic-reader-item p,
.topic-reader-insight p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.topic-reader-heading small,
.topic-reader-insight small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 6px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.event {
  background: #dff5e8;
  color: #13764e;
}

.transport {
  background: #e8ddff;
  color: #5f35c8;
}

.healthcare {
  background: #dceeff;
  color: #0969ca;
}

.shopping {
  background: #ffe7cf;
  color: #b65a11;
}

.search-page {
  max-width: 1440px;
}

.search-city-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15, 35, 58, 0.72) 0%, rgba(15, 35, 58, 0.42) 46%, rgba(15, 35, 58, 0.08) 100%),
    url("assets/penang-lifestyle-hero.png") center right / cover;
  box-shadow: var(--soft-shadow);
  min-height: 460px;
  padding: 30px 32px 34px;
  display: grid;
  align-content: center;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.search-city-copy {
  max-width: 760px;
}

.search-city-hero h1 {
  margin: 0 0 8px;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
}

.search-city-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  font-size: 18px;
}

.search-city-hero .search-panel {
  width: min(100%, 920px);
  position: static;
  margin-top: 8px;
  z-index: 2;
}

.hero-popular {
  position: static;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100%, 920px);
  margin-top: -10px;
}

.hero-popular span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-popular button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 760;
  box-shadow: 0 5px 16px rgba(27, 41, 51, 0.05);
}

.city-snapshot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.city-snapshot span {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  align-content: center;
  backdrop-filter: blur(10px);
}

.city-snapshot strong {
  color: #fff;
  font-size: 18px;
}

.search-page .eyebrow {
  color: #2a9664;
}

.search-city-hero .eyebrow {
  color: #d7f5e4;
}

.search-page .results-section {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.result-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.result-heading p {
  margin: 0;
  color: var(--muted);
}

.has-result .result-heading {
  display: none;
}

.result-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.empty-state {
  background: #fbfaf6;
}

.result-card.empty-state {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fbfaf6;
}

.result-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.result-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.no-answer-state {
  border: 1px solid #dfe8df;
  border-radius: 20px;
  background: #fffefa;
  padding: 26px;
  box-shadow: var(--soft-shadow);
}

.no-answer-state h3 {
  max-width: 680px;
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 640px;
  margin-top: 18px;
}

.notify-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
  background: #fff;
}

.notify-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.notify-confirmation {
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 800;
}

.muted-note {
  color: var(--muted);
  font-size: 14px;
}

.quick-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 22px;
  align-items: start;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 248, 0.92)),
    radial-gradient(circle at 92% 70%, rgba(31, 138, 91, 0.18), transparent 28%);
  border: 1px solid #dfe8df;
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.quick-answer h3 {
  max-width: 760px;
  font-size: 20px;
}

.confidence {
  border: 1px solid #d9eee3;
  background: #effaf4;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.why-button {
  min-height: 38px;
  margin-top: 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  padding: 0 18px;
  font-weight: 800;
}

.answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 2px;
}

.answer-actions span {
  border-radius: 999px;
  background: #eef7f2;
  color: var(--green-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.why-copy {
  max-width: 840px;
  margin-top: 14px !important;
}

.answer-photo {
  min-height: 168px;
  border-radius: 18px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hospital-answer-photo {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.22), rgba(16, 32, 49, 0.02)),
    url("assets/penang-waterfront.png") center / cover;
}

.answer-photo span,
.area-photo span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.context-metadata-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.context-metadata-grid article {
  border: 1px solid #dfe8df;
  border-radius: 16px;
  background: #fff;
  padding: 15px;
  box-shadow: var(--soft-shadow);
}

.context-metadata-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.context-metadata-grid strong {
  display: block;
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  text-transform: capitalize;
}

.context-metadata-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.context-metadata-grid .metadata-warning {
  border-color: #f0d39c;
  background: #fffaf0;
}

.context-metadata-grid .metadata-warning strong {
  color: #9a5b08;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.result-block {
  margin-top: 18px;
}

.result-block h4 {
  margin: 0 0 10px;
  font-size: 19px;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.experience-main {
  min-width: 0;
}

.experience-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 18px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.place-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.place-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(27, 41, 51, 0.1);
}

.place-photo {
  min-height: 162px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hospital-one {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.12), rgba(16, 32, 49, 0.02)),
    url("assets/hospital-gleneagles.png") center / cover;
}

.hospital-two {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.12), rgba(16, 32, 49, 0.02)),
    url("assets/hospital-adventist.png") center / cover;
}

.hospital-three {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.12), rgba(16, 32, 49, 0.02)),
    url("assets/hospital-island.png") center / cover;
}

.place-photo > span,
.place-photo button {
  position: absolute;
  top: 14px;
  display: grid;
  place-items: center;
  border: 0;
}

.place-photo > span {
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.place-photo button {
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 20px;
}

.place-content {
  padding: 16px;
}

.place-content h4 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.place-source {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  background: #eef7f2;
  color: var(--green-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.place-content p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.place-meta {
  color: var(--green-dark) !important;
}

.place-meta span {
  color: var(--muted);
}

.place-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.place-badges span {
  border-radius: 999px;
  background: #eef2ef;
  color: #263646;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
}

.place-content a {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
}

.nearby-panel,
.sidebar-card,
.latest-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.nearby-panel h4,
.latest-card h4,
.sidebar-card h4 {
  margin: 0 0 12px;
}

.mini-map {
  min-height: 260px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78) 0 2px, transparent 2px 100%) 0 0 / 46px 46px,
    linear-gradient(0deg, rgba(255,255,255,0.78) 0 2px, transparent 2px 100%) 0 0 / 46px 46px,
    linear-gradient(116deg, transparent 0 44%, rgba(255, 255, 255, 0.92) 44% 49%, transparent 49% 100%),
    linear-gradient(28deg, transparent 0 54%, rgba(255, 255, 255, 0.9) 54% 59%, transparent 59% 100%),
    radial-gradient(circle at 83% 44%, #acd8e8 0 18%, transparent 19%),
    linear-gradient(135deg, #dceee7 0%, #eef0df 48%, #d7e4ed 100%);
}

.area-photo {
  min-height: 132px;
  border-radius: 16px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.24), rgba(16, 32, 49, 0.02)),
    url("assets/penang-waterfront.png") center / cover;
}

.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 7px rgba(31, 138, 91, 0.16);
  font-style: normal;
  z-index: 3;
}

.pin-one {
  left: 35%;
  top: 36%;
}

.pin-two {
  right: 28%;
  top: 55%;
}

.pin-three {
  left: 58%;
  bottom: 24%;
}

.map-label {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #324152;
  padding: 5px 7px;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  backdrop-filter: blur(8px);
}

.gurney-plaza {
  left: 12%;
  top: 22%;
}

.paragon {
  right: 12%;
  top: 35%;
}

.gleneagles-label {
  left: 10%;
  bottom: 40%;
}

.hospital-label {
  left: 14%;
  bottom: 24%;
}

.beach-label {
  right: 8%;
  bottom: 12%;
  background: rgba(232, 246, 252, 0.82);
}

.nearby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nearby-tags span {
  border-radius: 999px;
  background: #f2f5f0;
  color: #334253;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 750;
}

.result-mini-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.result-mini-heading a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.locals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.experience-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.experience-photo {
  min-height: 112px;
  background-size: cover;
  background-position: center;
}

.experience-one {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.16), rgba(16, 32, 49, 0.02)),
    url("assets/penang-lifestyle-hero.png") right center / cover;
}

.experience-two {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.14), rgba(16, 32, 49, 0.02)),
    url("assets/penang-waterfront.png") center / cover;
}

.experience-three {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.14), rgba(16, 32, 49, 0.02)),
    url("assets/penang-lifestyle-hero.png") left center / cover;
}

.experience-four {
  background:
    linear-gradient(0deg, rgba(16, 32, 49, 0.14), rgba(16, 32, 49, 0.02)),
    url("assets/penang-waterfront.png") right center / cover;
}

.experience-copy {
  padding: 13px;
}

.experience-copy h5 {
  margin: 0 0 7px;
  font-size: 15px;
}

.experience-copy p {
  margin: 0;
  color: #334253;
  font-size: 13px;
}

.signal-row {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.signal-row span {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c8ded1;
  margin-right: -5px;
}

.signal-row span:nth-child(2) {
  background: #91bd9d;
}

.signal-row span:nth-child(3) {
  background: #e2c9b0;
}

.signal-row small {
  margin-left: 10px;
  color: var(--muted);
  font-weight: 800;
}

.local-note-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.local-note-card + .local-note-card {
  margin-top: 10px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e4f3e9;
  color: var(--green-dark);
  font-weight: 900;
}

.local-note-card strong {
  margin-right: 10px;
  font-size: 13px;
}

.local-note-card small {
  color: var(--muted);
}

.local-note-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #334253;
}

.note-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e8f5ed;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.helpful-card {
  background: #f3f8f4;
}

.helpful-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.helpful-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.helpful-grid span {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e4f2e9;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.helpful-grid strong {
  font-size: 13px;
  color: #234031;
}

.helpful-grid small {
  color: var(--muted);
  font-size: 12px;
}

.source-rail {
  opacity: 0.94;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0;
  box-shadow: var(--soft-shadow);
}

.source-rail summary {
  list-style: none;
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.source-rail summary::-webkit-details-marker {
  display: none;
}

.source-rail summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef5f1;
  color: var(--green-dark);
  font-weight: 900;
}

.source-rail[open] summary::after {
  content: "-";
}

.source-rail .source-list {
  margin: 0;
  padding: 0 16px 16px;
}

.people-also-searched {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.result-note-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-note-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbf9;
  padding: 12px 14px;
  color: var(--muted);
}

.source-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fbfbf9;
}

.source-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.source-card strong {
  display: block;
  margin: 7px 0;
}

.source-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef5f1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.source-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.source-card .needs-review-pill {
  margin-top: 0;
  border-radius: 999px;
  background: #fff2d5;
  color: #8d5208;
  padding: 4px 8px;
}

.needs-review-card {
  border-color: #efd29b;
  background: #fffaf0;
}

.source-facts {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.source-facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #ece8df;
  padding-top: 6px;
}

.source-facts dt,
.source-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.source-facts dd {
  color: #334253;
  font-weight: 800;
  text-align: right;
  text-transform: capitalize;
}

.source-card a {
  color: var(--green);
  font-weight: 800;
}

.life-source-card {
  background: #fbfbf9;
}

.context-detail-panel {
  background: #fdfcf8;
}

.context-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 18px;
  padding: 0 16px 16px;
}

.context-detail-grid h4 {
  margin: 0 0 10px;
}

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

.compliance-panel ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: #334253;
}

.compliance-panel li + li {
  margin-top: 7px;
}

.needs-review-box,
.review-clear-box {
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 16px;
}

.needs-review-box {
  border: 1px solid #efd29b;
  background: #fff6df;
}

.review-clear-box {
  border: 1px solid #d7eadc;
  background: #f1faf4;
}

.needs-review-box strong {
  color: #8d5208;
}

.review-clear-box strong {
  color: var(--green-dark);
}

.needs-review-box p,
.review-clear-box p {
  margin: 6px 0 0;
  color: #334253;
  font-size: 13px;
}

.follow-up {
  margin-top: 18px;
}

.follow-up h4 {
  margin: 0 0 10px;
}

.category-card,
.popular-card,
.cities-card {
  margin-top: 18px;
  padding: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
}

.category-grid button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  justify-items: center;
  gap: 10px;
  line-height: 1.25;
  transition: transform 0.2s ease;
}

.category-grid button:hover,
.topic-grid button:hover,
.city-grid button:hover {
  transform: translateY(-3px);
}

.category-icon,
.mini-icon {
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 900;
}

.category-icon {
  width: 70px;
  height: 70px;
  font-size: 30px;
}

.mini-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.green,
.mint {
  background: #dcf3e6;
  color: #25a260;
}

.rose {
  background: #ffe4e9;
  color: #ef5c72;
}

.amber,
.orange {
  background: #fff0d8;
  color: #e18a1d;
}

.blue,
.sky {
  background: #e3f1ff;
  color: #2383d9;
}

.violet,
.purple {
  background: #eee7ff;
  color: #7a52e6;
}

.coral {
  background: #ffe1e5;
  color: #ef5a6e;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  gap: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.topic-grid button {
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-grid strong,
.topic-grid small {
  min-width: 0;
}

.topic-grid strong {
  font-size: 15px;
  line-height: 1.22;
}

.topic-grid small {
  color: var(--muted);
  font-size: 13px;
}

.admin-body {
  background: #f7f7f3;
}

.admin-topbar,
.admin-shell {
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
}

.admin-topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.admin-brand strong {
  font-size: 24px;
}

.admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  color: #334253;
  font-size: 14px;
  font-weight: 800;
}

.admin-nav a.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.admin-shell {
  margin-bottom: 42px;
}

.admin-hero {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 24px;
  box-shadow: var(--soft-shadow);
}

.admin-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.admin-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-summary article {
  border: 1px solid #e3e1da;
  border-radius: 14px;
  background: #fbfbf8;
  padding: 16px;
}

.review-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
}

.review-controls {
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-filter-group button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334253;
  padding: 0 14px;
  font-weight: 850;
}

.review-filter-group button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.review-search {
  width: min(100%, 360px);
}

.review-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  outline: 0;
}

.review-table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.review-table-header,
.review-row {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 1.35fr 0.82fr 1fr 0.72fr;
  gap: 14px;
  align-items: center;
}

.review-table-header {
  min-height: 48px;
  padding: 0 16px;
  background: #f0f5f1;
  color: #405060;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-row {
  padding: 15px 16px;
  border-top: 1px solid var(--line);
}

.review-row.needs-review-row {
  background: #fffaf0;
}

.review-row strong,
.review-row time,
.review-row a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.review-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}

.review-row p {
  margin: 0;
  color: #405060;
  font-size: 13px;
}

.review-warning-text {
  color: #8d5208 !important;
  font-weight: 760;
}

.review-row a {
  color: var(--green-dark);
}

.review-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.review-status.needs_review {
  background: #fff2d5;
  color: #8d5208;
}

.review-status.approved {
  background: #e8f6ed;
  color: var(--green-dark);
}

.review-status.ignored {
  background: #eef0f2;
  color: #5d6873;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.review-actions button {
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #334253;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 850;
}

.review-empty {
  padding: 24px;
}

.review-empty strong {
  display: block;
  margin-bottom: 6px;
}

.review-empty p {
  margin: 0;
  color: var(--muted);
}

.intelligence-dashboard {
  display: grid;
  gap: 18px;
}

.intelligence-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.intelligence-summary article {
  border: 1px solid #e3e1da;
  border-radius: 12px;
  background: #fbfbf8;
  padding: 14px;
}

.intelligence-summary article.has-errors {
  background: #fff2d5;
  border-color: #e7bb67;
}

.intelligence-summary span,
.intelligence-section-heading span,
.lineage-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.intelligence-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.intelligence-section {
  display: grid;
  gap: 10px;
}

.intelligence-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.intelligence-section-heading h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.intelligence-table-card,
.insight-card,
.published-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(35, 45, 55, 0.05);
}

.intelligence-table-card {
  overflow: hidden;
}

.intelligence-table-header,
.intelligence-row {
  display: grid;
  align-items: center;
  gap: 12px;
}

.topics-grid {
  grid-template-columns: minmax(170px, 1.3fr) 0.75fr 0.55fr 0.7fr 0.55fr 0.65fr 0.55fr;
}

.intelligence-table-header {
  min-height: 46px;
  padding: 0 14px;
  background: #f0f5f1;
  color: #405060;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.intelligence-row {
  padding: 14px;
  border-top: 1px solid var(--line);
}

.intelligence-row strong {
  color: var(--ink);
  font-size: 14px;
}

.intelligence-row span {
  color: #405060;
  font-size: 13px;
  text-transform: capitalize;
}

.intelligence-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}

.insight-queue,
.published-preview {
  display: grid;
  gap: 10px;
}

.insight-card,
.published-card {
  padding: 16px;
}

.insight-card h3,
.published-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.insight-card p,
.published-card p {
  margin: 0;
  color: #405060;
  font-size: 14px;
  line-height: 1.55;
}

.insight-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
  margin: 14px 0 0;
}

.insight-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #fff2d5;
  color: #8d5208;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.readiness-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #eef0f2;
  color: #405060;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.readiness-pill.ready {
  background: #e8f6ed;
  color: var(--green-dark);
}

.readiness-pill.needs_review {
  background: #fff2d5;
  color: #8d5208;
}

.readiness-pill.not_ready {
  background: #fbe7e5;
  color: #9f3328;
}

.editor-body {
  background: #f4f4ef;
}

.editor-workbench {
  display: grid;
  gap: 18px;
}

.editor-hero,
.editor-command-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.editor-hero {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: 24px;
}

.editor-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}

.editor-hero p {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.editor-health-grid,
.editor-topic-metrics,
.editor-pipeline-strip {
  display: grid;
  gap: 10px;
}

.editor-health-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-health-grid article,
.editor-topic-metrics div,
.editor-pipeline-strip article {
  border: 1px solid #e3e1da;
  border-radius: 12px;
  background: #fbfbf8;
  padding: 14px;
}

.editor-health-grid span,
.editor-topic-metrics span,
.editor-pipeline-strip span,
.editor-evidence span,
.editor-resolution-box span,
.editor-debug-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-health-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.editor-section {
  display: grid;
  gap: 10px;
}

.editor-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.editor-section-heading h2,
.editor-command-panel h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 24px;
}

.editor-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.editor-pipeline-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.editor-pipeline-strip article {
  position: relative;
  min-height: 86px;
}

.editor-pipeline-strip strong,
.editor-topic-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.editor-pipeline-strip b {
  position: absolute;
  right: 14px;
  top: 34px;
  color: var(--green-dark);
  font-size: 18px;
}

.editor-topic-list {
  display: grid;
  gap: 14px;
}

.editor-topic-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(35, 45, 55, 0.06);
}

.editor-topic-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.editor-topic-header h3 {
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.editor-topic-header p,
.editor-evidence p,
.editor-resolution-box p,
.editor-command-panel p,
.editor-empty p {
  margin: 0;
  color: #405060;
  font-size: 14px;
  line-height: 1.55;
}

.editor-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #eef0f2;
  color: #405060;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.editor-status.needs_review {
  background: #fff2d5;
  color: #8d5208;
}

.editor-status.approved,
.editor-status.published {
  background: #e8f6ed;
  color: var(--green-dark);
}

.editor-status.ignored {
  background: #eef0f2;
  color: #5d6873;
}

.editor-priority {
  min-width: 120px;
  border: 1px solid #d5dfd8;
  border-radius: 14px;
  background: #f0f5f1;
  padding: 14px;
  text-align: right;
}

.editor-priority span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-priority strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 42px;
  line-height: 1;
}

.editor-topic-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}

.editor-why,
.editor-evidence,
.editor-resolution-box,
.editor-advanced {
  margin-top: 14px;
  border: 1px solid #e3e1da;
  border-radius: 14px;
  background: #fbfbf8;
  padding: 14px;
}

.editor-why h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
}

.editor-why p {
  margin: 0;
  color: #2f3c48;
  font-size: 15px;
  line-height: 1.55;
}

.editor-why ul,
.editor-evidence ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #405060;
  font-size: 14px;
  line-height: 1.55;
}

.editor-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 14px;
}

.editor-source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.editor-source-chips span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #d5dfd8;
  border-radius: 999px;
  background: #fff;
  color: #405060;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.editor-resolution-box {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr);
  gap: 14px;
}

.editor-check-list {
  display: grid;
  gap: 8px;
}

.editor-check-list label {
  display: flex;
  align-items: start;
  gap: 9px;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  color: #334253;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 760;
}

.editor-check-list input {
  margin-top: 2px;
  accent-color: var(--green);
}

.muted-small {
  color: var(--muted) !important;
  font-size: 13px !important;
}

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

.editor-actions button,
.editor-command-panel button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #334253;
  padding: 0 14px;
  font-weight: 900;
}

.editor-actions button[data-editor-action="approved"],
.editor-command-panel button {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.editor-actions button[data-editor-action="ignored"] {
  background: #f4f5f5;
}

.editor-advanced summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.editor-debug-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.editor-debug-grid div {
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.editor-debug-grid code,
.editor-command-panel pre {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #2f3c48;
  font-size: 12px;
  line-height: 1.45;
}

.editor-command-panel {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.editor-command-panel pre {
  min-height: 58px;
  border: 1px solid #e3e1da;
  border-radius: 12px;
  background: #fbfbf8;
  margin: 0;
  padding: 12px;
}

.editor-empty {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.editor-empty strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  margin-bottom: 6px;
}

.editor-empty.complete {
  background: #f0f5f1;
  border-color: #d5dfd8;
}

.insight-quality-block {
  margin-top: 12px;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.insight-quality-block span,
.claim-grid > div > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-quality-block p {
  margin-top: 6px;
}

.claim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.resolution-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.resolution-summary div {
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.resolution-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.resolution-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.claim-grid > div {
  min-width: 0;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.claim-item {
  margin-top: 8px;
  border-top: 1px solid #e3e1da;
  padding-top: 8px;
}

.claim-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.claim-item small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.claim-item.unsupported strong {
  color: #9f3328;
}

.claim-item.check strong {
  color: #8d5208;
}

.claim-item.resolved strong {
  color: var(--green-dark);
}

.claim-item.unresolved {
  background: #fffaf0;
}

.lineage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
  margin-top: 14px;
}

.lineage-grid div {
  min-width: 0;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.lineage-grid code {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #334253;
  font-size: 12px;
  line-height: 1.45;
}

.topic-quality-list {
  display: grid;
  gap: 10px;
}

.topic-quality-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(35, 45, 55, 0.05);
}

.topic-quality-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.topic-quality-main h3 {
  margin: 0;
  font-size: 20px;
}

.topic-quality-main p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: capitalize;
}

.topic-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.topic-metrics div,
.score-breakdown div {
  min-width: 0;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.topic-metrics dt,
.score-breakdown span,
.topic-evidence-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-metrics dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.score-breakdown strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.topic-evidence-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 8px;
  margin-top: 12px;
}

.topic-evidence-grid div {
  min-width: 0;
  border: 1px solid #e3e1da;
  border-radius: 10px;
  background: #fbfbf8;
  padding: 10px;
}

.topic-evidence-grid code {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #334253;
  font-size: 12px;
  line-height: 1.45;
}

.topic-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.topic-flags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef0f2;
  color: #405060;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.topic-flags span:not(:first-child),
.topic-warnings + .topic-flags span {
  background: #fff2d5;
  color: #8d5208;
}

.topic-warnings {
  margin: 12px 0 0;
  padding: 10px 12px 10px 28px;
  border: 1px solid #e7bb67;
  border-radius: 10px;
  background: #fffaf0;
  color: #6f450b;
  font-size: 13px;
  line-height: 1.45;
}

.mobile-label {
  display: none;
}

.context-page {
  max-width: 1440px;
}

.context-hero {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15, 35, 58, 0.78) 0%, rgba(15, 35, 58, 0.48) 48%, rgba(15, 35, 58, 0.12) 100%),
    url("assets/penang-lifestyle-hero.png") center right / cover;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: 22px;
  box-shadow: var(--soft-shadow);
}

.context-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.04;
}

.context-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.context-hero .context-risk-note {
  display: inline-block;
  max-width: 780px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.context-trust-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  padding: 18px;
  color: #fff;
  backdrop-filter: blur(12px);
}

.context-trust-panel span,
.context-trust-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.context-trust-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 32px;
  line-height: 1;
}

.context-trust-panel div {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.context-trust-panel b {
  color: #fff;
  font-size: 18px;
}

.context-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.context-main,
.context-sidebar {
  display: grid;
  gap: 18px;
}

.context-sidebar {
  position: sticky;
  top: 18px;
}

.context-section,
.context-side-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--soft-shadow);
}

.context-section h2,
.context-side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.context-section p,
.context-side-card p {
  margin: 0 0 12px;
  color: #334253;
}

.context-section-intro {
  max-width: 820px;
  margin: -4px 0 16px !important;
  color: var(--muted) !important;
  font-size: 15px;
}

.context-section p:last-child,
.context-side-card p:last-child {
  margin-bottom: 0;
}

.context-source-list,
.context-signal-list,
.context-logistics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.context-source-card,
.context-signal-list article,
.context-logistics-grid article,
.context-empty {
  border: 1px solid #e8e5df;
  border-radius: 14px;
  background: #fbfbf8;
  padding: 14px;
}

.context-source-card {
  display: flex;
  flex-direction: column;
}

.context-source-card span,
.context-signal-list span,
.context-logistics-grid span {
  display: inline-flex;
  border-radius: 999px;
  background: #edf6f1;
  color: var(--green-dark);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 850;
}

.context-source-card strong {
  display: block;
  margin: 9px 0 6px;
  font-size: 16px;
}

.context-source-card p,
.context-signal-list p,
.context-logistics-grid p {
  margin: 8px 0 0;
  color: #334253;
  font-size: 14px;
}

.context-source-card small,
.context-source-card em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.context-source-card em {
  border-radius: 10px;
  background: #fff4dc;
  color: #8d5208;
  padding: 8px 10px;
}

.context-source-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
}

.context-side-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.context-side-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.context-side-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.context-side-card dt,
.context-side-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.context-side-card dd {
  color: var(--ink);
  font-weight: 850;
  text-align: right;
  text-transform: capitalize;
}

.context-review-needed {
  border-color: #ead8b2;
  background: #fffaf0;
}

.context-review-needed h2::after {
  content: "Transparent QA";
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  background: #fff2d5;
  color: #8d5208;
  padding: 4px 8px;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 900;
}

.mini-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 19px;
}

.lifestyle-card {
  min-height: 212px;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.12) 100%),
    url("assets/penang-lifestyle-hero.png") center right / cover;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.lifestyle-card h2 {
  max-width: 320px;
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.lifestyle-card p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 230px;
}

.lifestyle-card button {
  min-height: 42px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.lifestyle-card button:hover {
  background: var(--ink);
  color: #fff;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.city-grid button {
  min-height: 140px;
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #e6ece9;
  transition: transform 0.2s ease;
}

.city-grid img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.city-placeholder {
  width: 100%;
  min-height: 140px;
  background-size: cover;
  background-position: center;
}

.chiang-mai {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(16, 32, 49, 0.14)),
    radial-gradient(circle at 22% 28%, #f2c078 0 7%, transparent 8%),
    radial-gradient(circle at 68% 36%, #7cbf8f 0 11%, transparent 12%),
    linear-gradient(135deg, #f8efe2 0%, #dfeee4 47%, #9bbfae 100%);
}

.bangkok {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(16, 32, 49, 0.16)),
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,0.8) 18% 21%, transparent 21% 100%),
    radial-gradient(circle at 70% 34%, #f0c36a 0 8%, transparent 9%),
    linear-gradient(135deg, #dbeaf4 0%, #c6d7dd 44%, #9fb5bd 100%);
}

.city-grid span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  font-weight: 800;
  max-width: calc(100% - 28px);
  text-align: left;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .home-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 420px;
    padding-inline: 32px;
  }

  .location-pill {
    right: 32px;
  }

  .local-topic-row,
  .guide-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip article:nth-child(2) {
    border-right: 0;
  }

  .trust-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .pulse-card {
    min-height: auto;
  }

  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .topic-grid,
  .source-list,
  .context-metadata-grid,
  .place-grid,
  .locals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .experience-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-sidebar .follow-up {
    grid-column: 1 / -1;
  }

  .admin-hero,
  .editor-hero,
  .editor-evidence,
  .editor-resolution-box,
  .editor-command-panel,
  .review-table-header,
  .review-row {
    grid-template-columns: 1fr;
  }

  .review-table-header {
    display: none;
  }

  .review-row {
    gap: 11px;
  }

  .mobile-label {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
}

@media (max-width: 720px) {
  .site-header,
  .page-shell,
  .admin-topbar,
  .admin-shell {
    width: min(100% - 28px, 1440px);
  }

  .site-header {
    width: 100%;
    min-height: 66px;
    margin-top: 0;
    padding: 0 14px;
    grid-template-columns: 1fr auto;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small,
  .ghost-button {
    display: none;
  }

  .home-hero {
    min-height: 520px;
    margin-inline: calc(50% - 50vw);
    padding: 38px 18px 28px;
    background:
      linear-gradient(180deg, rgba(255, 252, 246, 0.97) 0%, rgba(255, 252, 246, 0.84) 48%, rgba(255, 252, 246, 0.28) 100%),
      url("assets/penang-lifestyle-hero.png") center bottom / cover;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .home-hero .hero-subtitle {
    font-size: 16px;
  }

  .location-pill {
    left: 18px;
    right: auto;
    bottom: 18px;
  }

  .search-panel {
    grid-template-columns: auto 1fr;
    padding: 12px;
  }

  .search-panel button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-hero .search-panel {
    border-radius: 22px;
  }

  .home-layout {
    transform: none;
    margin-top: 14px;
  }

  .local-topic-row,
  .guide-grid,
  .trust-strip,
  .community-card,
  .popular-pill-grid {
    grid-template-columns: 1fr;
  }

  .local-topic {
    grid-template-columns: 82px 1fr;
  }

  .local-topic img {
    width: 82px;
    height: 82px;
  }

  .trust-strip article,
  .trust-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid,
  .source-list,
  .place-grid,
  .locals-grid,
  .context-metadata-grid,
  .context-detail-grid,
  .experience-sidebar,
  .city-grid,
  .quick-answer {
    grid-template-columns: 1fr;
  }

  .answer-photo {
    min-height: 190px;
  }

  .search-city-hero {
    min-height: 520px;
    padding: 28px 20px;
    background:
      linear-gradient(180deg, rgba(15, 35, 58, 0.82) 0%, rgba(15, 35, 58, 0.52) 58%, rgba(15, 35, 58, 0.18) 100%),
      url("assets/penang-lifestyle-hero.png") center bottom / cover;
  }

  .search-city-hero h1 {
    font-size: 40px;
  }

  .search-city-hero .search-panel {
    width: 100%;
  }

  .hero-popular {
    max-width: none;
    margin-top: 10px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .admin-hero {
    padding: 20px;
  }

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

  .review-controls {
    display: grid;
  }

  .review-search {
    width: 100%;
  }

  .editor-health-grid,
  .editor-topic-metrics,
  .editor-pipeline-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-section-heading,
  .editor-topic-header {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-priority {
    min-width: 0;
    text-align: left;
  }

  .search-page .results-section {
    margin-top: 24px;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pulse-item {
    grid-template-columns: 76px 1fr;
  }

  .pulse-icon {
    width: 52px;
    height: 52px;
  }

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

  .archive-insight small {
    white-space: normal;
  }

  .topic-reader-heading,
  .topic-reader-insight {
    grid-template-columns: 1fr;
  }

  .topic-reader-heading small,
  .topic-reader-insight small {
    white-space: normal;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
