/* Trademark index — styles.
   Palette and type lifted from the existing site's variables so these pages
   read as part of iserdindia.org rather than a bolted-on tool. */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --coral: #E8503A;
  --coral-dark: #c93e2a;
  --coral-bg: #FDF0EE;
  --coral-light: #fde8e5;
  --bg: #f9fafb;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #2d2d2d;
  --black: #1a1a2e;
  --muted: #6b7280;

  --ok: #157f52;
  --ok-bg: #e7f5ee;
  --warn: #9a5b00;
  --warn-bg: #fdf3e2;
}

*, *::before, *::after { box-sizing: border-box; }

body.tm-page {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 'Nunito Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tm-page > * { max-width: 62rem; margin-inline: auto; }

/* --- headings ------------------------------------------------------------ */
h1, h2, h3 { font-family: 'Nunito', sans-serif; color: var(--black); line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 900; margin: .4rem 0 .9rem; }
h1 em { color: var(--coral); font-style: normal; }
h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 .85rem; }
h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 .5rem; }

a { color: var(--coral-dark); }
a:hover { color: var(--coral); }

.muted { color: var(--muted); }
.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;
}

/* --- chrome -------------------------------------------------------------- */
.crumbs {
  padding: 1.4rem 0 .2rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.crumbs a { text-decoration: none; }

.eyebrow {
  margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--coral);
}

.tm-hero { padding: .5rem 0 1.75rem; border-bottom: 1px solid var(--border); }

section { padding: 1.9rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }

/* --- chips / status ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips li {
  padding: .3rem .75rem; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); font-size: .8rem; font-weight: 700;
}
.chips li.status, span.status {
  background: var(--coral-bg); border-color: var(--coral-light); color: var(--coral-dark);
}
.chips li.status.terminal, span.status.terminal {
  background: var(--ok-bg); border-color: #cde9db; color: var(--ok);
}

/* --- freshness -----------------------------------------------------------
   Three tones so an old record cannot quietly look current. The stale tone is
   deliberately loud: these pages are read by applicants working out whether a
   deadline is running. */
.freshness { font-size: .88rem; margin: 0 0 .9rem; color: var(--muted); }
.freshness time { font-weight: 700; }
.freshness.fresh time  { color: var(--ok); }
.freshness.recent time { color: var(--text); }
.freshness.stale  time { color: var(--warn); }

/* --- alerts -------------------------------------------------------------- */
.alert {
  margin: 1.5rem 0; padding: 1rem 1.15rem; border-radius: 12px;
  background: var(--warn-bg); border: 1px solid #f2dcb4; color: #6b4200;
}
.alert strong { display: block; font-family: 'Nunito', sans-serif; font-size: 1.02rem; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.deadline { margin: .55rem 0 0; font-weight: 800; color: var(--warn); }

/* --- definition lists ---------------------------------------------------- */
dl.facts {
  display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: .1rem 1.25rem; margin: 0;
}
dl.facts dt {
  padding: .55rem 0; font-size: .78rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--border);
}
dl.facts dd {
  padding: .55rem 0; margin: 0; font-weight: 600; color: var(--black);
  border-top: 1px solid var(--border);
}
@media (max-width: 34rem) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dd { border-top: 0; padding-top: 0; }
}

/* --- timeline ------------------------------------------------------------ */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--coral-light); }
.timeline li { position: relative; padding: 0 0 1.1rem .35rem; }
.timeline li::before {
  content: ''; position: absolute; left: -1.62rem; top: .45rem;
  width: .62rem; height: .62rem; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 3px var(--coral-bg);
}
.timeline time { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); }
.timeline span { font-weight: 700; color: var(--black); }

/* --- cards --------------------------------------------------------------- */
.cards {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.cards a {
  display: block; height: 100%; padding: .85rem 1rem; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); transition: border-color .15s, transform .15s;
}
.cards a:hover { border-color: var(--coral); transform: translateY(-2px); }
.cards strong { display: block; font-family: 'Nunito', sans-serif; color: var(--black); }
.cards span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.cards span.status { display: inline-block; margin-top: .35rem; padding: .12rem .5rem;
  border-radius: 999px; font-size: .72rem; font-weight: 800; }
.cards .score { float: right; font-weight: 900; color: var(--coral); }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.cards.compact a { padding: .55rem .75rem; font-size: .88rem; font-weight: 700; }

/* --- forms / buttons ----------------------------------------------------- */
button, .tm-search button {
  font: 800 .92rem 'Nunito', sans-serif; cursor: pointer;
  padding: .6rem 1.15rem; border: 0; border-radius: 999px;
  background: var(--coral); color: #fff; transition: background .15s;
}
button:hover { background: var(--coral-dark); }

input, textarea {
  font: 400 1rem 'Nunito Sans', sans-serif; width: 100%; max-width: 32rem;
  padding: .6rem .85rem; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
label { font-size: .82rem; font-weight: 800; color: var(--muted); }

.tm-search { display: flex; gap: .6rem; margin-top: 1.1rem; max-width: 34rem; }
.tm-search input { flex: 1; }

/* --- pager --------------------------------------------------------------- */
.pager { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 0; font-weight: 700; }
.pager span { color: var(--muted); font-weight: 600; font-size: .88rem; }

/* --- footer -------------------------------------------------------------- */
.disclaimer {
  padding-top: 1.6rem; margin-top: 1rem; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--muted);
}
.disclaimer p { margin: 0 0 .5rem; }
