/* ============================================================
   PUBLIC OF INDIA — Main Stylesheet v10
   Clean, editorial, no dark mode, no lang toggle
============================================================ */

:root {
  --red:    #b91c1c;
  --red2:   #dc2626;
  --ink:    #0f172a;
  --muted:  #64748b;
  --rule:   #e2e8f0;
  --soft:   #f8fafc;
  --paper:  #faf9f7;
  --card:   #ffffff;
  --shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow2:0 8px 40px rgba(0,0,0,.12);
}

*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.serif  { font-family: 'Playfair Display', serif; }
.hindi  { font-family: 'Noto Sans Devanagari', sans-serif !important; }
.muted  { color: var(--muted); }
.bg-soft{ background: var(--soft); }

/* ── TOP STRIP ── */
.topstrip {
  background: #0b1220;
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 2px solid var(--red);
}
.ts-text { opacity: .75; }
.ts-link { color: #fff; font-weight: 700; transition: opacity .2s; }
.ts-link:hover { opacity: .75; }
.badge-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(185,28,28,.2);
  border: 1px solid rgba(185,28,28,.4);
  color: #fff; padding: 3px 10px; border-radius: 999px;
  font-weight: 800; font-size: .68rem; letter-spacing: .5px;
  white-space: nowrap;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444; flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(239,68,68,.2);
  animation: dotpulse 2s infinite;
}
@keyframes dotpulse { 0%,100%{box-shadow:0 0 0 5px rgba(239,68,68,.2)} 50%{box-shadow:0 0 0 8px rgba(239,68,68,.08)} }

/* ── TICKER ── */
.poi-ticker {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0;
  overflow: hidden;
}
.ticker-label {
  background: var(--red); color: #fff;
  font-weight: 900; font-size: .7rem; letter-spacing: 1px;
  padding: 6px 14px; white-space: nowrap; flex-shrink: 0;
  margin-right: 12px;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickscroll 40s linear infinite;
}
.ticker-track span {
  display: inline-block;
  padding: 0 32px;
  font-size: .8rem; font-weight: 600; color: var(--muted);
  border-right: 1px solid var(--rule);
}
@keyframes tickscroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── HEADER / NAV ── */
.poi-header {
  background: #fff;
  border-bottom: 2px solid var(--rule);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 70px;
}
.brand-link { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand-icon  { height: 50px; width: 50px; border-radius: 10px; object-fit: cover; }
.brand-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.1rem; line-height: 1.1; color: var(--ink); }
.brand-sub   { font-size: .65rem; color: var(--muted); font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.main-nav    { display: flex; flex: 1; margin-left: .5rem; }
.navlink {
  padding: .35rem .85rem; font-size: .8rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .4px;
  border-bottom: 2.5px solid transparent; transition: all .15s;
  white-space: nowrap;
}
.navlink:hover, .navlink.active { color: var(--red); border-bottom-color: var(--red); }
.header-actions { display: flex; gap: .5rem; align-items: center; margin-left: auto; flex-shrink: 0; }
.mobile-menu-btn {
  background: none; border: 1.5px solid var(--rule); color: var(--ink);
  padding: .4rem .55rem; border-radius: 6px; cursor: pointer; transition: all .2s;
}
.mobile-menu-btn:hover { border-color: var(--red); color: var(--red); }
.mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  border-top: 1px solid var(--rule); background: #fff;
}
.mobile-menu.open { max-height: 400px; }
.mobile-navlink {
  display: block; padding: .75rem 0; font-size: .9rem; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--rule); letter-spacing: .2px;
}
.mobile-navlink:hover { color: var(--red); }

/* ── BUTTONS ── */
.btn-poi-red {
  background: var(--red); color: #fff; border: 1.5px solid var(--red);
  font-weight: 700; font-size: .8rem; padding: .45rem 1rem;
  border-radius: 6px; cursor: pointer; transition: background .2s;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.btn-poi-red:hover { background: var(--red2); color: #fff; }
.btn-poi-plain {
  background: #fff; color: var(--ink); border: 1.5px solid var(--rule);
  font-weight: 700; font-size: .8rem; padding: .45rem 1rem;
  border-radius: 6px; cursor: pointer; transition: all .2s;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.btn-poi-plain:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: .3rem .75rem !important; font-size: .75rem !important; }

/* ── CATEGORY PILL ── */
.cat-pill {
  background: var(--red); color: #fff; font-size: .65rem; font-weight: 900;
  letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px;
  border-radius: 3px; display: inline-block;
}
.cat-pill.alt { background: var(--soft); color: var(--muted); }
.lang-badge {
  font-size: .6rem; font-weight: 800; padding: 2px 6px; border-radius: 10px;
  letter-spacing: .3px; vertical-align: middle; display: inline-block;
}
.lang-en { background: rgba(20,160,20,.12); color: #166534; }
.lang-hi { background: rgba(185,28,28,.12); color: var(--red); }

/* ── SECTION HEADING ── */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: .8rem; margin-bottom: 1.4rem;
  border-bottom: 2.5px solid var(--ink);
}
.sec-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 900; }
.sec-sub   { font-size: .72rem; color: var(--muted); margin-top: .2rem; }
.sec-link  { font-size: .75rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .3px; }
.sec-link:hover { text-decoration: underline; }

/* ── NEWS CARDS ── */
.poi-card {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 8px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.poi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }
.card-img { width: 100%; object-fit: cover; }
.card-img-ph {
  width: 100%; background: linear-gradient(135deg,#e2e8f0,#f1f5f9);
  display: flex; align-items: center; justify-content: center;
}
.card-body { padding: .9rem 1rem 1.1rem; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.card-tag  { font-size: .62rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.card-time { font-size: .62rem; color: var(--muted); font-weight: 600; }
.card-title { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; color: var(--ink); }
.card-desc  { font-size: .78rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot  { margin-top: .75rem; display: flex; justify-content: space-between; align-items: center; }
.card-src   { font-size: .62rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.card-readmore { font-size: .72rem; font-weight: 700; color: var(--red); }

/* ── SIDEBAR COMPONENTS ── */
.side-card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.side-head { padding: .85rem 1rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.side-title { font-size: .68rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* Mini list items */
.mini-item { display: flex; gap: .8rem; padding: .65rem 1rem; border-bottom: 1px solid var(--rule); transition: background .15s; }
.mini-item:last-child { border-bottom: none; }
.mini-item:hover { background: var(--soft); }
.mini-thumb { width: 54px; height: 42px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.mini-thumb-ph { width: 54px; height: 42px; border-radius: 5px; background: var(--soft); flex-shrink: 0; }
.mini-title { font-size: .78rem; font-weight: 600; line-height: 1.35; margin-bottom: .15rem; }
.mini-meta  { font-size: .65rem; color: var(--muted); font-weight: 600; }

/* Rank list */
.rank-item { display: flex; gap: .8rem; padding: .65rem 1rem; border-bottom: 1px solid var(--rule); align-items: flex-start; transition: background .15s; cursor: pointer; }
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: var(--soft); }
.rank-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--rule); line-height: 1; flex-shrink: 0; width: 30px; }
.rank-title { font-size: .8rem; font-weight: 600; line-height: 1.35; margin-bottom: .15rem; }
.rank-meta  { font-size: .65rem; color: var(--muted); }

/* CTA box */
.cta-box { background: var(--ink); border-radius: 8px; padding: 1.25rem; color: #fff; }
.cta-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 900; margin-bottom: .3rem; }
.cta-desc  { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; line-height: 1.55; }
.cta-note  { font-size: .62rem; color: rgba(255,255,255,.35); margin-top: .6rem; }

/* ── HERO / FEATURED ── */
.hero-section { padding: 1.5rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.feat-card { background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.feat-img { width: 100%; height: 360px; object-fit: cover; }
.feat-img-ph { width: 100%; height: 360px; background: linear-gradient(135deg, #1e293b, #334155); display: flex; align-items: center; justify-content: center; }
.feat-body { padding: 1.4rem 1.5rem 1.5rem; }
.feat-title { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 900; line-height: 1.22; margin-bottom: .8rem; }
.feat-desc  { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.feat-meta  { display: flex; gap: .75rem; font-size: .72rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; margin-bottom: 1rem; }

/* ── LAYOUT ── */
.content-grid { display: grid; grid-template-columns: 1fr 290px; gap: 1.5rem; align-items: start; }
.news-grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.news-grid-3  { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; }
.india-grid   { display: grid; grid-template-columns: 1fr 290px; gap: 1.5rem; align-items: start; }

/* ── FEATURED STORY (wide) ── */
.newswide {
  background: var(--card); border: 1px solid var(--rule); border-radius: 8px;
  overflow: hidden; cursor: pointer; transition: box-shadow .2s;
}
.newswide:hover { box-shadow: var(--shadow2); }
.newswide .nw-img { width: 100%; height: 260px; object-fit: cover; }
.newswide .nw-body { padding: 1rem 1.1rem 1.2rem; }
.newswide .nw-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: .5rem 0 .4rem; }

/* ── STATES ── */
.state-pill {
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 20px;
  padding: .3rem 1rem; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: all .2s; color: var(--ink); display: inline-block;
}
.state-pill:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ── FORM ELEMENTS ── */
.form-control, .form-select {
  border-color: var(--rule); border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
}
.form-control:focus, .form-select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(185,28,28,.1);
}
.poi-checklist { background: var(--soft); border-radius: 8px; padding: 1rem; border: 1px solid var(--rule); }
.poi-card-form { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 1.5rem; }

/* ── STORY PAGE ── */
.story-header { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.story-content {
  font-size: 1rem; line-height: 1.85; color: var(--ink);
  max-width: 680px;
}
.story-content h3, .story-content h4 { font-family: 'Playfair Display', serif; margin: 1.5rem 0 .6rem; }
.story-content p { margin-bottom: 1rem; }
.story-content blockquote {
  border-left: 3px solid var(--red); padding: .75rem 1rem;
  background: var(--soft); margin: 1.5rem 0; font-style: italic; border-radius: 0 6px 6px 0;
}
.story-media { border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.story-media img, .story-media video { width: 100%; max-height: 500px; object-fit: cover; }

/* ── POLICY PAGE ── */
.policy-content { font-size: .9rem; line-height: 1.8; }
.policy-content h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; color: var(--ink); }
.policy-content p, .policy-content li { color: var(--muted); margin-bottom: .5rem; }
.policy-content ul { padding-left: 1.2rem; }

/* ── MEMBERSHIP ── */
.mem-card { background: var(--card); border: 1.5px solid var(--rule); border-radius: 10px; padding: 1.5rem; transition: box-shadow .2s; }
.mem-card:hover { box-shadow: var(--shadow2); }
.mem-card.featured { border-color: var(--red); }
.mem-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--red); }

/* ── STATES PAGE ── */
.state-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 8px;
  padding: 1rem; cursor: pointer; transition: all .2s; text-align: center;
}
.state-card:hover { border-color: var(--red); box-shadow: var(--shadow2); }
.state-name { font-weight: 700; font-size: .85rem; margin-top: .3rem; }
.state-count { font-size: .72rem; color: var(--muted); }

/* ── PAGE HEADER ── */
.poi-pagehead { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; background: var(--soft); }

/* ── SUBMIT PAGE ── */
.submit-info-box { background: var(--soft); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.submit-workflow { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.workflow-step { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: .25rem .75rem; font-size: .75rem; font-weight: 700; }
.workflow-arrow { color: var(--muted); font-size: .75rem; }

/* ── LATEST PAGE ── */
.filter-bar { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; }

/* ── INDIA NEWS ── */
.india-big { background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.india-big-img { width: 100%; height: 280px; object-fit: cover; }
.india-big-img-ph { width: 100%; height: 280px; background: linear-gradient(135deg, #1e293b, #334155); }
.india-small { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; transition: transform .2s; cursor: pointer; }
.india-small:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.india-small-img { width: 100%; height: 100px; object-fit: cover; }
.india-small-img-ph { width: 100%; height: 100px; background: linear-gradient(135deg, var(--soft), #e2e8f0); }

/* ── FOOTER ── */
.poi-footer { background: #0b1220; color: rgba(255,255,255,.85); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .footer-desc { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.65; max-width: 220px; }
.footer-col-title { font-size: .65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .8rem; }
.footer-link { display: block; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .45rem; transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .72rem; color: rgba(255,255,255,.3); }

/* ── COOKIE BAR ── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #0b1220; border-top: 2px solid var(--red); padding: .85rem 1.5rem; z-index: 2000; }

/* ── ADMIN ── */
.admin-sidebar { background: #0b1220; color: #fff; min-height: 100vh; padding: 1.5rem; }
.admin-nav-link { display: block; color: rgba(255,255,255,.6); padding: .5rem .75rem; border-radius: 6px; font-size: .85rem; font-weight: 600; margin-bottom: .25rem; transition: all .15s; }
.admin-nav-link:hover, .admin-nav-link.active { background: var(--red); color: #fff; }
.admin-stat { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 1.25rem; }
.admin-stat-num { font-size: 2rem; font-weight: 900; font-family: 'Playfair Display', serif; color: var(--red); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 3rem; color: var(--muted); grid-column: 1/-1; }
.empty-state .ei { font-size: 2.5rem; margin-bottom: .75rem; }

/* ── ANIMATION ── */
.fade-up { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-grid, .content-grid, .india-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
  .news-grid-2, .news-grid-3 { grid-template-columns: 1fr; }
  .feat-title { font-size: 1.35rem; }
  .feat-img   { height: 240px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media(max-width:576px){
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner{ height: 60px; }
  .brand-title { font-size: .95rem; }
}
