/* SarkariKhabar AI Post Studio - Frontend Styles */
:root {
  --skp-primary: #0F2F6E;
}

.skp-post-container {
  font-family: 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  max-width: 900px;
  margin: 0 auto 28px;
}

.skp-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--skp-primary);
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
  border: 1px solid #cbd5e1;
}

.skp-banner-scrim {
  background: linear-gradient(95deg, rgba(8, 25, 66, 0.94) 0%, rgba(15, 47, 110, 0.86) 58%, rgba(15, 47, 110, 0.35) 100%);
  padding: 28px 26px;
  color: #ffffff;
}

.skp-banner-brand {
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 4px;
}

.skp-banner-main {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}

.skp-banner-sub {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 800;
  color: #fde047;
  margin-top: 4px;
}

.skp-banner-cta {
  display: inline-block;
  margin-top: 14px;
  background: #facc15;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 16px;
  border-radius: 8px;
}

.skp-banner-footer {
  background: #c81e1e;
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  padding: 9px 14px;
}

.skp-summary-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 18px;
}

.skp-summary-head {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: var(--skp-primary);
  font-weight: 800;
  font-size: 15px;
  padding: 10px 16px;
}

.skp-summary-body {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #1e293b;
}

.skp-summary-body p {
  margin: 0;
}

.skp-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.skp-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 9px;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: opacity 0.15s ease;
}

.skp-cta-btn:hover {
  opacity: 0.92;
}

.skp-cta-green { background: #16803c; }
.skp-cta-blue { background: #1d4ed8; }
.skp-cta-purple { background: #6d28d9; }
.skp-cta-amber { background: #d97706; }

.skp-cta-title {
  font-weight: 800;
  font-size: 15px;
}

.skp-cta-sub {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

.skp-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.skp-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.skp-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.skp-card-head {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
}

.skp-head-navy { background: var(--skp-primary); }
.skp-head-green { background: #157038; }
.skp-head-purple { background: #6d28d9; }
.skp-head-amber { background: #d97706; }

.skp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}

.skp-table th,
.skp-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.skp-table th {
  text-align: left;
  font-weight: 600;
  color: #475569;
}

.skp-table td {
  text-align: right;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.skp-check-list,
.skp-link-list {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
}

.skp-check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.skp-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16803c;
  font-weight: 800;
}

.skp-link-list li {
  border-bottom: 1px solid #f1f5f9;
  padding: 7px 0;
}

.skp-link-list li:last-child {
  border-bottom: none;
}

.skp-link-list a {
  display: flex;
  justify-content: space-between;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.skp-card-pad {
  padding: 14px;
}

.skp-pie-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skp-pie-svg {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.skp-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.skp-pie-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 5px;
}

.skp-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.skp-dept {
  flex: 1;
  font-weight: 600;
}

.skp-num {
  font-variant-numeric: tabular-nums;
}

.skp-pie-total {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
}

.skp-note-bar {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
