/* ==========================================================================
   Talent Compliance India — News Pages
   Shared stylesheet
   ========================================================================== */

:root{
  --navy: #0b1f3a;
  --navy-deep: #071426;
  --navy-light: #14315c;
  --orange: #ff7a29;
  --orange-deep: #e8631a;
  --grey-bg: #f4f6f9;
  --card-bg: #ffffff;
  --text-dark: #1b1f27;
  --text-muted: #6b7280;
  --border: #e6e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.06);
  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Segoe UI", "Noto Sans Devanagari", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--grey-bg);
  line-height: 1.65;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

/* ---------- Top brand bar ---------- */
.topbar{
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .tag{ color: #ffb98a; font-weight: 600; }

/* ---------- Header ---------- */
header.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border);
}
header.site-header .wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .logo-mark{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.brand .name{
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.1;
}
.brand .sub{
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .03em;
}
nav.crumbs{
  font-size: 13px;
  color: var(--text-muted);
}
nav.crumbs a{ color: var(--navy-light); font-weight: 600; }
nav.crumbs .sep{ margin: 0 6px; color: #b9c0cc; }

/* ---------- Page container ---------- */
main{
  max-width: var(--maxw);
  margin: 32px auto 64px;
  padding: 0 20px;
}

.article-head{
  margin-bottom: 22px;
}
.category-pill{
  display: inline-block;
  background: rgba(255,122,41,.12);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.article-head h1{
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 10px;
}
.meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.meta-row strong{ color: var(--text-dark); }

/* ---------- Two column layout ---------- */
.story-grid{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: start;
}

/* ---- Left: media gallery ---- */
.media-col{ position: sticky; top: 20px; }

.main-visual{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.visual-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(150deg, var(--ph-color, var(--navy)), var(--navy-deep));
  text-align: center;
  padding: 20px;
  transition: background .35s ease;
}
.visual-placeholder svg{ width: 46px; height: 46px; opacity: .85; }
.visual-placeholder span{
  font-size: 14px;
  font-weight: 600;
  max-width: 260px;
  opacity: .95;
}
.visual-placeholder .hint{
  font-size: 11px;
  font-weight: 400;
  opacity: .65;
  margin-top: -6px;
}

.thumb-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.thumb{
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  padding: 0;
  background: none;
  outline-offset: 3px;
}
.thumb .thumb-inner{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 6px;
  background: linear-gradient(150deg, var(--th-color, var(--navy-light)), var(--navy-deep));
}
.thumb .thumb-inner svg{ width: 20px; height: 20px; opacity: .85; }
.thumb.active{
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.thumb:hover .thumb-inner{ filter: brightness(1.08); }

/* ---- Right: content ---- */
.content-col{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.content-col p{
  margin: 0 0 16px;
  font-size: 15.5px;
  color: #2b303b;
}
.content-col p:last-child{ margin-bottom: 0; }

.source-tag{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.source-tag b{ color: var(--navy); }

/* ---------- Other news grid ---------- */
.other-news{
  margin-top: 56px;
}
.other-news h2{
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 4px;
}
.other-news .lede{
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.news-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-card .thumb-box{
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(150deg, var(--card-color, var(--navy)), var(--navy-deep));
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  gap: 6px;
  flex-direction: column;
}
.news-card .thumb-box svg{ width: 24px; height: 24px; opacity: .85; }
.news-card .card-body{ padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.news-card .card-pill{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.news-card h3{
  font-size: 15px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 10px;
}
.news-card .card-excerpt{
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.news-card .read-more{
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-light);
}
.news-card.current{
  border-color: var(--orange);
  cursor: default;
}
.news-card.current:hover{ transform: none; box-shadow: var(--shadow-sm); }
.news-card.current .card-pill{ color: var(--navy); }
.news-card.current .card-pill::after{ content: " · अभी पढ़ रहे हैं"; color: var(--text-muted); font-weight: 600; }
