/*
Theme Name: JobsWaleBhaiya GP Child
Template: generatepress
Version: 2.1.0
Description: Safe child theme scaffold for JobsWaleBhaiya redesign.
Author: JobsWaleBhaiya
Text Domain: jobswalebhaiya-gp-child
*/

/* === V2 REDESIGN STYLES === */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Noto Sans', sans-serif; background: #f4f6fb; color: #1a1f36; }
  a { text-decoration: none; color: inherit; }
  ::-webkit-scrollbar { height: 4px; width: 4px; }
  ::-webkit-scrollbar-track { background: #f4f6fb; }
  ::-webkit-scrollbar-thumb { background: #c5cae9; border-radius: 4px; }

  /* TICKER */
  .ticker-wrap { background: #1a237e; color: #fff; font-size: 12px; padding: 6px 0; overflow: hidden; white-space: nowrap; }
  .ticker-track { display: inline-block; animation: ticker 32s linear infinite; padding-left: 100%; }
  @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

  /* NAV */
  nav { background: #fff; box-shadow: 0 2px 12px #1a237e18; position: sticky; top: 0; z-index: 100; }
  .nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 62px; gap: 12px; }
  .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .logo-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg,#1a237e,#3b5bdb); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; font-weight: 900; }
  .logo-text-top { font-weight: 800; font-size: 15px; color: #1a237e; line-height: 1; }
  .logo-text-bot { font-weight: 700; font-size: 13px; color: #f8961e; line-height: 1; }
  .nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-link { background: transparent; border: none; border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: #374151; cursor: pointer; white-space: nowrap; transition: all .15s; font-family: 'Noto Sans', sans-serif; }
  .nav-link:hover, .nav-link.active { background: #1a237e; color: #fff; font-weight: 700; }
  .nav-social { display: flex; gap: 8px; flex-shrink: 0; }
  .btn-yt { background: #ff0000; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
  .btn-tg { background: #0088cc; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; }

  /* HERO */
  .hero { background: linear-gradient(135deg,#1a237e 0%,#283593 60%,#1a237e 100%); color: #fff; padding: 52px 20px 60px; position: relative; overflow: hidden; }
  .hero::before { content:''; position:absolute; top:-60px; right:-60px; width:300px; height:300px; border-radius:50%; background:#f8961e18; }
  .hero::after { content:''; position:absolute; bottom:-80px; left:-40px; width:220px; height:220px; border-radius:50%; background:#ffffff0a; }
  .hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
  .hero-badge { display: inline-block; background: #f8961e; color: #fff; border-radius: 20px; padding: 3px 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(26px,4vw,42px); font-weight: 900; line-height: 1.2; margin-bottom: 10px; text-shadow: 0 2px 20px #00000040; }
  .hero h1 span { color: #f8961e; }
  .hero p { font-size: 15px; color: #c5cae9; margin-bottom: 28px; max-width: 520px; }
  .search-bar { display: flex; max-width: 540px; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 32px #00000030; }
  .search-bar input { flex: 1; border: none; padding: 14px 18px; font-size: 14px; outline: none; font-family: 'Noto Sans', sans-serif; color: #1a1f36; }
  .search-bar button { background: #f8961e; color: #fff; border: none; padding: 0 22px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Noto Sans', sans-serif; white-space: nowrap; }
  .hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
  .stat { display: flex; align-items: center; gap: 9px; }
  .stat-icon { font-size: 24px; }
  .stat-val { font-weight: 800; font-size: 19px; line-height: 1; }
  .stat-lbl { font-size: 11px; color: #9fa8da; }

  /* CATEGORY PILLS */
  .cats { background: #fff; border-bottom: 1px solid #e8ecf4; padding: 0 20px; }
  .cats-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
  .cats-inner::-webkit-scrollbar { display: none; }
  .cat-pill { background: #f4f6fb; color: #374151; border: 1px solid #e0e4f0; border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all .15s; font-family: 'Noto Sans', sans-serif; }
  .cat-pill.active, .cat-pill:hover { background: #1a237e; color: #fff; border-color: #1a237e; font-weight: 700; }

  /* LAYOUT */
  .main { max-width: 1180px; margin: 0 auto; padding: 28px 20px; display: flex; gap: 24px; align-items: flex-start; }
  .feed { flex: 1; min-width: 0; }
  .sidebar { width: 280px; min-width: 280px; }

  /* CARDS */
  .card { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; margin-bottom: 20px; overflow: hidden; }
  .card-header { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f2f8; }
  .card-header.gradient { background: linear-gradient(90deg,#1a237e,#3b5bdb); }
  .card-header.gradient .card-title { color: #fff; }
  .card-header.gradient .card-more { color: #9fa8da; }
  .card-title { font-weight: 800; font-size: 15px; color: #1a237e; }
  .card-more { font-size: 12px; color: #3b5bdb; font-weight: 600; }
  .card-body { padding: 12px 16px 6px; }

  /* JOB ITEM */
  .job-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 10px; background: #fff; border: 1px solid #e8ecf4; cursor: pointer; transition: all .18s; margin-bottom: 8px; }
  .job-item:hover { background: #f0f4ff; border-color: #3b5bdb; }
  .job-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 8px; background: linear-gradient(135deg,#3b5bdb22,#f8961e22); display: flex; align-items: center; justify-content: center; font-size: 17px; }
  .job-content { flex: 1; min-width: 0; }
  .job-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
  .badge { border-radius: 4px; font-size: 10px; font-weight: 700; padding: 2px 7px; letter-spacing: .05em; text-transform: uppercase; }
  .badge-new { background: #22c55e22; color: #16a34a; border: 1px solid #22c55e44; }
  .badge-updated { background: #f59e0b22; color: #b45309; border: 1px solid #f59e0b44; }
  .badge-state { background: #e8ecf4; color: #6b7280; }
  .job-title { font-weight: 600; font-size: 13.5px; color: #1a1f36; line-height: 1.4; }
  .job-meta { font-size: 11.5px; color: #6b7280; margin-top: 3px; }
  .job-arrow { font-size: 18px; color: #d1d5db; align-self: center; transition: color .18s; }
  .job-item:hover .job-arrow { color: #3b5bdb; }

  /* LIST ITEM */
  .list-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #fafbff; border: 1px solid #e8ecf4; cursor: pointer; transition: all .18s; margin-bottom: 7px; }
  .list-item:hover { background: #f0f4ff; border-color: #3b5bdb44; }
  .list-arrow { font-size: 14px; color: #9ca3af; }
  .list-item:hover .list-arrow { color: #3b5bdb; }
  .list-title { flex: 1; font-size: 13px; font-weight: 500; color: #1a1f36; }

  /* 2 COL GRID */
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

  /* YOJANA CARD */
  .yojana-header { background: linear-gradient(90deg,#fff8f0,#fff); }
  .yojana-title { color: #92400e !important; }
  .yojana-more { color: #f8961e !important; }

  /* SIDEBAR */
  .community-card { background: linear-gradient(135deg,#1a237e,#3b5bdb); border-radius: 14px; padding: 20px 18px; color: #fff; margin-bottom: 16px; text-align: center; }
  .community-icon { font-size: 30px; margin-bottom: 6px; }
  .community-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
  .community-sub { font-size: 12px; color: #c5cae9; margin-bottom: 16px; }
  .btn-social { display: block; border-radius: 8px; padding: 10px; font-weight: 700; font-size: 13px; margin-bottom: 8px; color: #fff; transition: opacity .15s; }
  .btn-social:hover { opacity: .88; }
  .btn-tele { background: #0088cc; }
  .btn-wa { background: #25d366; }
  .btn-youtube { background: #ff0000; }

  .quick-card { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; overflow: hidden; margin-bottom: 16px; }
  .quick-card .card-header { padding: 12px 16px; }
  .quick-body { padding: 10px 12px; }
  .quick-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: #fafbff; border: 1px solid #f0f2f8; color: #374151; font-size: 13px; font-weight: 500; margin-bottom: 6px; transition: all .15s; }
  .quick-link:hover { background: #f0f4ff; border-color: #3b5bdb44; color: #1a237e; }
  .quick-link-arrow { margin-left: auto; color: #d1d5db; }

  .exam-card { background: #fff8f0; border-radius: 14px; border: 1px solid #fde68a; overflow: hidden; }
  .exam-header { padding: 12px 16px; border-bottom: 1px solid #fde68a; }
  .exam-title { font-weight: 800; font-size: 14px; color: #92400e; }
  .exam-body { padding: 12px 14px; }
  .exam-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #fde68a55; }
  .exam-row:last-child { border-bottom: none; }
  .exam-name { font-size: 13px; font-weight: 600; color: #1a1f36; }
  .exam-date { font-size: 11px; color: #92400e; }
  .exam-status { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
  .status-active { background: #22c55e22; color: #16a34a; }
  .status-upcoming { background: #f59e0b22; color: #b45309; }

  /* FOOTER */
  footer { background: #1a237e; color: #c5cae9; padding: 44px 20px 20px; margin-top: 8px; }
  .footer-inner { max-width: 1180px; margin: 0 auto; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .footer-logo-icon { width: 36px; height: 36px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #1a237e; font-weight: 900; }
  .footer-brand { font-weight: 800; font-size: 15px; color: #fff; }
  .footer-tagline { font-size: 11px; color: #9fa8da; }
  .footer-desc { font-size: 13px; line-height: 1.7; color: #9fa8da; max-width: 280px; margin-bottom: 14px; }
  .footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
  .footer-social-btn { font-size: 11px; font-weight: 600; color: #9fa8da; padding: 4px 10px; border: 1px solid #283593; border-radius: 20px; transition: all .15s; }
  .footer-social-btn:hover { color: #fff; border-color: #5c6bc0; }
  .footer-col-title { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 12px; }
  .footer-link { display: block; color: #9fa8da; font-size: 13px; margin-bottom: 8px; transition: color .15s; }
  .footer-link:hover { color: #fff; }
  .footer-bottom { border-top: 1px solid #283593; padding-top: 18px; font-size: 12px; color: #7986cb; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .sidebar { display: none; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-social .btn-tg { display: none; }
  }
  @media (max-width: 600px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
  }

/* === V2 POST STYLES === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans', sans-serif; background: #f4f6fb; color: #1a1f36; font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-thumb { background: #c5cae9; border-radius: 4px; }

/* TICKER */
.ticker { background: #1a237e; color: #fff; font-size: 12px; padding: 5px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: tick 30s linear infinite; padding-left: 100%; }
@keyframes tick { to { transform: translateX(-100%); } }

/* NAV */
nav { background: #fff; box-shadow: 0 2px 12px #1a237e18; position: sticky; top: 0; z-index: 200; }
.nav-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-box { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg,#1a237e,#3b5bdb); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 18px; }
.logo-name { font-weight: 800; font-size: 14px; color: #1a237e; line-height: 1; }
.logo-sub { font-weight: 700; font-size: 12px; color: #f8961e; line-height: 1; }
.nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-a { padding: 5px 11px; border-radius: 6px; font-size: 13px; font-weight: 500; color: #374151; transition: all .15s; white-space: nowrap; }
.nav-a:hover { background: #1a237e; color: #fff; }
.nav-social { display: flex; gap: 7px; flex-shrink: 0; }
.btn-yt { background: #ff0000; color: #fff; border-radius: 6px; padding: 5px 11px; font-size: 12px; font-weight: 700; }
.btn-tg { background: #0088cc; color: #fff; border-radius: 6px; padding: 5px 11px; font-size: 12px; font-weight: 700; }

/* BREADCRUMB */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid #e8ecf4; padding: 0 20px; }
.breadcrumb { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 9px 0; font-size: 12px; color: #6b7280; flex-wrap: wrap; }
.breadcrumb a { color: #3b5bdb; }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: #d1d5db; }

/* LAYOUT */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 20px; display: flex; gap: 26px; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; }
.sidebar { width: 290px; min-width: 290px; position: sticky; top: 74px; }

/* POST HEADER */
.post-header { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; padding: 24px 24px 20px; margin-bottom: 18px; }
.post-meta-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { border-radius: 5px; font-size: 10px; font-weight: 700; padding: 3px 9px; letter-spacing: .06em; text-transform: uppercase; }
.tag-state { background: #1a237e; color: #fff; }
.tag-cat { background: #3b5bdb22; color: #3b5bdb; border: 1px solid #3b5bdb33; }
.tag-new { background: #22c55e22; color: #16a34a; border: 1px solid #22c55e44; }
.tag-hot { background: #ef444422; color: #b91c1c; border: 1px solid #ef444433; }
.post-title { font-size: clamp(20px, 3vw, 28px); font-weight: 900; color: #1a1f36; line-height: 1.3; margin-bottom: 14px; }
.post-meta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: #6b7280; padding-top: 14px; border-top: 1px solid #f0f2f8; }
.meta-item { display: flex; align-items: center; gap: 5px; }
.meta-icon { font-size: 14px; }
.post-updated { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 6px; padding: 3px 10px; font-size: 11px; font-weight: 600; }

/* QUICK INFO CARD */
.quick-info { background: linear-gradient(135deg,#1a237e,#283593); border-radius: 14px; padding: 20px; margin-bottom: 18px; color: #fff; }
.qi-title { font-size: 14px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.qi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qi-item { background: #ffffff18; border-radius: 9px; padding: 11px 13px; }
.qi-label { font-size: 10px; color: #9fa8da; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.qi-val { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.qi-val.highlight { color: #fbbf24; }

/* ALERT BOX */
.alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid; }
.alert-deadline { background: #fff7ed; border-color: #fed7aa; }
.alert-deadline .alert-icon { font-size: 20px; }
.alert-deadline strong { color: #c2410c; }
.alert-deadline p { font-size: 13px; color: #7c3a0e; margin-top: 2px; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; }
.alert-info .alert-icon { font-size: 20px; }
.alert-info p { font-size: 13px; color: #1e40af; margin-top: 2px; }

/* ARTICLE BODY */
.article-body { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; padding: 26px 26px 20px; margin-bottom: 18px; }
.article-body h2 { font-size: 18px; font-weight: 800; color: #1a237e; margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #e8ecf4; display: flex; align-items: center; gap: 8px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 15px; font-weight: 700; color: #1a1f36; margin: 18px 0 10px; }
.article-body p { color: #374151; margin-bottom: 12px; font-size: 14.5px; line-height: 1.75; }
.article-body strong { color: #1a1f36; }

/* TABLES */
.tbl-wrap { overflow-x: auto; margin-bottom: 16px; border-radius: 10px; border: 1px solid #e0e4f0; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead { background: #1a237e; color: #fff; }
thead th { padding: 11px 14px; font-weight: 700; text-align: left; }
tbody tr { border-bottom: 1px solid #f0f2f8; }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: #f8f9ff; }
tbody td { padding: 10px 14px; color: #374151; vertical-align: top; }
tbody td:first-child { font-weight: 600; color: #1a1f36; }
.total-row { background: #1a237e11 !important; font-weight: 700 !important; }
.total-row td { color: #1a237e !important; font-weight: 700 !important; }

/* HIGHLIGHT ROW */
.date-row-urgent td { color: #b91c1c !important; font-weight: 600; }

/* STEP LIST */
.steps { list-style: none; margin: 0 0 16px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #e8ecf4; font-size: 14px; color: #374151; }
.steps li:last-child { border-bottom: none; }
.step-num { width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: linear-gradient(135deg,#1a237e,#3b5bdb); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }

/* ELIGIBILITY LIST */
.eli-list { list-style: none; margin: 0 0 16px; }
.eli-list li { padding: 8px 0 8px 24px; position: relative; font-size: 14px; color: #374151; border-bottom: 1px solid #f0f2f8; }
.eli-list li:last-child { border-bottom: none; }
.eli-list li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* APPLY SECTION */
.apply-section { background: linear-gradient(135deg,#1a237e,#3b5bdb); border-radius: 14px; padding: 22px; margin-bottom: 18px; text-align: center; color: #fff; }
.apply-section h2 { font-size: 18px; font-weight: 800; margin-bottom: 6px; color: #fff; border: none; padding: 0; }
.apply-section p { font-size: 13px; color: #c5cae9; margin-bottom: 18px; }
.apply-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-apply { background: #f8961e; color: #fff; border-radius: 9px; padding: 12px 28px; font-size: 14px; font-weight: 800; display: inline-block; transition: all .18s; box-shadow: 0 4px 14px #f8961e50; }
.btn-apply:hover { background: #e07b0a; transform: translateY(-1px); }
.btn-notif { background: #ffffff22; color: #fff; border: 1px solid #ffffff44; border-radius: 9px; padding: 12px 20px; font-size: 14px; font-weight: 700; display: inline-block; transition: all .18s; }
.btn-notif:hover { background: #ffffff33; }

/* SHARE */
.share-bar { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; padding: 16px 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 700; color: #374151; flex-shrink: 0; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { border-radius: 7px; padding: 7px 14px; font-size: 12px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: none; font-family: 'Noto Sans', sans-serif; transition: opacity .15s; }
.share-btn:hover { opacity: .85; }
.s-wa { background: #25d366; }
.s-tg { background: #0088cc; }
.s-tw { background: #1da1f2; }
.s-copy { background: #6366f1; }

/* RELATED */
.related { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; overflow: hidden; }
.related-header { padding: 14px 20px; border-bottom: 1px solid #f0f2f8; font-weight: 800; font-size: 15px; color: #1a237e; }
.related-list { padding: 10px 16px; }
.related-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 10px; border-radius: 8px; cursor: pointer; transition: background .15s; border-bottom: 1px solid #f4f6fb; }
.related-item:last-child { border-bottom: none; }
.related-item:hover { background: #f0f4ff; }
.ri-dot { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: #3b5bdb; margin-top: 7px; }
.ri-title { font-size: 13px; font-weight: 500; color: #1a1f36; line-height: 1.5; }
.ri-meta { font-size: 11px; color: #9ca3af; margin-top: 2px; }

/* ===== SIDEBAR ===== */
.s-card { background: #fff; border-radius: 14px; border: 1px solid #e8ecf4; overflow: hidden; margin-bottom: 16px; }
.s-head { padding: 13px 16px; border-bottom: 1px solid #f0f2f8; font-weight: 800; font-size: 14px; color: #1a237e; display: flex; align-items: center; gap: 7px; }
.s-body { padding: 14px 14px 8px; }

/* Countdown */
.countdown-card { background: linear-gradient(135deg,#b91c1c,#ef4444); border-radius: 14px; padding: 18px; margin-bottom: 16px; color: #fff; text-align: center; }
.cd-label { font-size: 11px; font-weight: 700; color: #fecaca; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.cd-title { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.cd-boxes { display: flex; gap: 8px; justify-content: center; }
.cd-box { background: #ffffff22; border-radius: 8px; padding: 10px 12px; min-width: 52px; }
.cd-num { font-size: 22px; font-weight: 900; line-height: 1; }
.cd-unit { font-size: 10px; color: #fecaca; font-weight: 600; margin-top: 3px; }

/* Key Details in sidebar */
.kd-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #f4f6fb; font-size: 13px; }
.kd-row:last-child { border-bottom: none; }
.kd-key { color: #6b7280; font-weight: 500; }
.kd-val { font-weight: 700; color: #1a1f36; text-align: right; max-width: 55%; }
.kd-val.urgent { color: #b91c1c; }
.kd-val.green { color: #16a34a; }

/* CTA sidebar */
.cta-card { background: linear-gradient(135deg,#1a237e,#3b5bdb); border-radius: 14px; padding: 18px; margin-bottom: 16px; color: #fff; text-align: center; }
.cta-emoji { font-size: 28px; margin-bottom: 8px; }
.cta-title { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.cta-sub { font-size: 12px; color: #c5cae9; margin-bottom: 14px; }
.cta-btn { display: block; border-radius: 8px; padding: 9px; font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 7px; transition: opacity .15s; }
.cta-btn:hover { opacity: .88; }
.cta-tg { background: #0088cc; }
.cta-wa { background: #25d366; }

/* Alert Timeline */
.timeline { padding: 10px 14px; }
.tl-item { display: flex; gap: 12px; padding-bottom: 14px; position: relative; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 11px; top: 24px; width: 2px; bottom: 0; background: #e8ecf4; }
.tl-dot { width: 24px; height: 24px; min-width: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.tl-dot.done { background: #22c55e22; color: #16a34a; border: 2px solid #22c55e; }
.tl-dot.active { background: #1a237e; color: #fff; border: 2px solid #1a237e; }
.tl-dot.pending { background: #f4f6fb; color: #9ca3af; border: 2px solid #e8ecf4; }
.tl-content { flex: 1; }
.tl-event { font-size: 13px; font-weight: 600; color: #1a1f36; }
.tl-date { font-size: 11px; color: #6b7280; margin-top: 2px; }
.tl-date.urgent { color: #b91c1c; font-weight: 600; }

/* GEO SIGNAL */
.geo-bar { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 11px 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.geo-flag { font-size: 20px; }
.geo-text { font-size: 12.5px; color: #15803d; font-weight: 600; }
.geo-text span { color: #166534; font-weight: 800; }

/* RESPONSIVE */
@media (max-width: 900px) { .sidebar { display: none; } }
@media (max-width: 600px) {
  .nav-links { display: none; }
  .qi-grid { grid-template-columns: 1fr; }
  .apply-btns { flex-direction: column; align-items: stretch; }
  .article-body { padding: 18px 16px; }
  .post-header { padding: 18px 16px; }
}

/* PRINT / SEO INVISIBLE */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* Hide old header and footer to prevent duplication */
.fresh-header-wrapper, .site-header, .site-footer, .site-info { display: none !important; }


/* PHASE 3P POLISH */
.jwb-author-box { display: flex; align-items: center; background: var(--base-2); padding: 20px; border-radius: 8px; margin: 30px 0; border-left: 4px solid var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.jwb-author-box .author-avatar img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }
.jwb-author-box .author-info { margin-left: 16px; }
.jwb-author-box .author-name { margin: 0 0 4px 0; font-size: 18px; font-weight: 700; color: var(--contrast); }
.jwb-author-box .author-desc { margin: 0; font-size: 14px; color: var(--contrast-2); line-height: 1.5; }
@media(max-width: 600px) { .jwb-author-box { flex-direction: column; text-align: center; } .jwb-author-box .author-info { margin-left: 0; margin-top: 12px; } }
.mid-post-related { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; margin: 24px 0; }
.mid-post-related h3 { margin-top: 0; font-size: 16px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; margin-bottom: 12px; }
.mid-post-related ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.mid-post-related li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.mid-post-related li::before { content: '�'; position: absolute; left: 0; color: var(--accent); font-weight: bold; font-size: 18px; line-height: 1; top: 0px; }
.mid-post-related a { color: #2563eb; font-weight: 600; text-decoration: none; }
.mid-post-related a:hover { text-decoration: underline; }
.read-also-block { background: #eff6ff; border-left: 4px solid #2563eb; padding: 12px 16px; margin: 24px 0; border-radius: 0 8px 8px 0; font-weight: 600; font-size: 15px; }
.read-also-block a { color: #1d4ed8; text-decoration: none; }
.read-also-block a:hover { text-decoration: underline; }
/* Mobile typography fixes for single posts */
@media (max-width: 768px) { .article-body { font-size: 16px !important; line-height: 1.7 !important; padding: 0 4px; } .article-body h2 { font-size: 20px !important; } .article-body h3 { font-size: 18px !important; } .post-title { font-size: 22px !important; line-height: 1.3 !important; } .main { padding-top: 16px !important; } }
/* Fix visual gaps in layout */
.cats { margin-bottom: 12px !important; padding-top: 16px !important; }
.feed .card { margin-bottom: 20px !important; }
.grid-2 { gap: 16px !important; }
.hero { padding: 30px 20px 40px !important; }

