/* The property news pages (/india-property-news, the city pages, /news/...).
   Rendered by the backend (backend/src/seo/seo-html.ts) and served here through
   vercel.json rewrites; this file is their only stylesheet. Same look as the
   legal pages (legal.css): paper background, dark pill bar, clay accent. */

:root {
  --clay: #e05b36; --clay-dark: #b83e22; --paper: #fff9f3; --bone: #f4eee4; --ink: #171411;
  --muted: #6b6258; --line: rgba(23, 20, 17, .12); --card: #fff; --body: #3b342e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b0908; --bone: #1a1613; --ink: #f6efe6; --muted: #a99d90;
    --line: rgba(255, 249, 243, .12); --card: #151210; --body: #d9cfc4; --clay-dark: #f08a68; }
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper);
  font: 16px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--clay-dark); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* The bar */
.top { position: sticky; top: 0; z-index: 10; padding: 14px 4vw; }
.bar { max-width: 1080px; margin: 0 auto; min-height: 58px; padding: 8px 10px 8px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  border-radius: 29px; background: rgba(13, 11, 10, .88); border: 1px solid rgba(255, 249, 243, .14);
  box-shadow: 0 18px 60px rgba(74, 51, 34, .12);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.wordmark { display: inline-flex; align-items: baseline; color: #fff9f3; text-decoration: none;
  font-size: 20px; line-height: 1; letter-spacing: -.075em; }
.wordmark span { font-weight: 350; }
.wordmark b { margin-left: .12em; color: var(--clay); font-weight: 850; }
.wordmark:hover { color: #fff9f3; }
.top nav { display: flex; flex-wrap: wrap; gap: 2px; }
.top nav a { padding: 8px 11px; border-radius: 999px; color: rgba(255, 249, 243, .7); text-decoration: none;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff9f3; background: rgba(255, 249, 243, .12); }

/* Page */
main.news { max-width: 860px; margin: 0 auto; padding: 36px 20px 72px; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin: 0 0 16px; color: var(--muted);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--clay);
  box-shadow: 0 0 0 6px rgba(224, 91, 54, .13); }
h1 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-weight: 500;
  font-size: clamp(38px, 7vw, 68px); line-height: 1; letter-spacing: -.045em; }
.intro { max-width: 680px; color: var(--body); font-size: 17px; }
.intro p { margin: 0 0 12px; }
.section-title { margin: 40px 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }

/* Story cards */
.stories { display: grid; gap: 16px; }
.story-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 14px 40px rgba(74, 51, 34, .06); }
/* The whole picture, never cropped: credits are printed in its corner. */
.story-card { grid-template-columns: 260px 1fr; align-items: start; }
.story-card .thumb { display: block; align-self: stretch; background: var(--bone); }
.story-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.story-text { padding: 18px 22px 18px; }
.story-card:not(:has(.thumb)) { grid-template-columns: 1fr; }
.story-card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.story-card h2 a { color: var(--ink); text-decoration: none; }
.story-card h2 a:hover { color: var(--clay-dark); text-decoration: underline; }
.story-card p { margin: 0 0 8px; color: var(--body); font-size: 15px; line-height: 1.55; }
.meta { color: var(--muted) !important; font-size: 13px !important; font-weight: 600; }
.empty { padding: 22px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }

/* One story */
.crumbs { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 700; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay-dark); text-decoration: underline; }
.story h1 { font-size: clamp(32px, 5.6vw, 52px); line-height: 1.06; }
.story .meta { margin: 0 0 20px; }
.hero { margin: 0 0 24px; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 22px; background: var(--bone); }
.hero figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.lede { margin: 0 0 8px; color: var(--ink); font-size: 20px; line-height: 1.55; }
.story h2 { margin: 30px 0 10px; font-size: 18px; letter-spacing: -.01em; }
.story ul { padding-left: 1.2em; color: var(--body); }
.story li { margin: .4em 0; }
.story li::marker { color: var(--clay); }
.story p { color: var(--body); }
.source { margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: var(--bone); font-weight: 700; }

/* The app */
.app-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin: 44px 0; padding: 26px 28px; border-radius: 26px; color: #fff9f3; background: #0b0908;
  border: 1px solid rgba(255, 249, 243, .12); }
.app-promo strong { font-size: 20px; letter-spacing: -.02em; }
.app-promo p { margin: 6px 0 0; max-width: 460px; color: rgba(255, 249, 243, .72); font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { padding: 11px 16px; border-radius: 14px; color: #fff9f3; background: rgba(255, 249, 243, .08);
  border: 1px solid rgba(255, 249, 243, .22); text-decoration: none; font-size: 14px; font-weight: 800; }
.store:hover { color: #fff9f3; background: var(--clay); border-color: var(--clay); }

/* About and links */
.about h2 { margin: 36px 0 10px; font-size: 18px; }
.about ul { padding-left: 1.2em; color: var(--body); }
.about li::marker { color: var(--clay); }
.more { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.more a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.more a:hover { border-color: var(--clay); color: var(--clay-dark); }
.related p a { font-weight: 800; }

/* Footer */
.site-footer { max-width: 860px; margin: 0 auto; padding: 28px 20px 48px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.site-footer nav a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { color: var(--clay-dark); }
.site-footer p { margin: 6px 0; }

@media (max-width: 640px) {
  .top { padding: 10px 12px; }
  .bar { padding: 10px 12px; border-radius: 22px; }
  .top nav a { padding: 6px 8px; font-size: 10px; }
  main.news { padding: 24px 16px 56px; }
  .story-card { grid-template-columns: 1fr; }
  .lede { font-size: 18px; }
  .app-promo { padding: 22px 20px; }
}
