
/* =====================================
   NEXTROLEHUB COMPLETE DESIGN SYSTEM
   JOBS + ARTICLES + SCHOLARSHIPS
===================================== */

/* GLOBAL */
html { scroll-behavior: smooth; }
.site-info { display: none; }

/* =====================================
   JOB PAGE — OPTION B: GROUPED CARDS
===================================== */
body.single-job_listing,
body.single-job { background: #f8fafc !important; }

body.single-job_listing .entry-content,
body.single-job .entry-content,
body.single-job_listing .job-content,
body.single-job .job-content {
  max-width: 900px !important;
  margin: auto !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #334155 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

body.single-job_listing h1,
body.single-job h1 {
  color: #0f172a !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.single-job_listing hr,
body.single-job hr,
body.single-job_listing .wp-block-separator,
body.single-job .wp-block-separator { display: none !important; }

.jb-dashboard {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 28px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  margin-bottom: 24px !important;
}
.jb-dashboard h2 { font-size: 1.5rem !important; font-weight: 700 !important; color: #0f172a !important; margin-bottom: 8px !important; }
.jb-dashboard p { color: #475569 !important; font-size: 15px !important; margin-bottom: 16px !important; }

.jb-btn-row { display: flex !important; gap: 10px !important; flex-wrap: wrap !important; align-items: center !important; }
.jb-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 6px !important; padding: 11px 20px !important; border-radius: 8px !important;
  font-size: 14px !important; font-weight: 600 !important; border: none !important;
  cursor: pointer !important; text-decoration: none !important; font-family: inherit !important;
  line-height: 1 !important; transition: opacity 0.2s, transform 0.2s !important;
}
.jb-btn:hover { opacity: 0.88 !important; transform: translateY(-1px) !important; }
.jb-btn.green { background: #22c55e !important; color: #ffffff !important; }
.jb-btn.amber { background: #f59e0b !important; color: #ffffff !important; }
.jb-btn.outline { background: #ffffff !important; color: #0056b3 !important; border: 1.5px solid #0056b3 !important; }
a.jb-btn, a.jb-btn:hover, a.jb-btn:focus, a.jb-btn:visited, a.jb-btn:active { text-decoration: none !important; }
a.jb-btn.green, a.jb-btn.green:hover, a.jb-btn.green:visited { color: #ffffff !important; }
a.jb-btn.amber, a.jb-btn.amber:hover, a.jb-btn.amber:visited { color: #ffffff !important; }
a.jb-btn.outline, a.jb-btn.outline:hover, a.jb-btn.outline:visited { color: #0056b3 !important; }
.jb-btn-row p { display: contents !important; margin: 0 !important; padding: 0 !important; }
.jb-btn br { display: none !important; }

.jb-toc { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; padding: 20px 24px !important; margin-bottom: 24px !important; }
.jb-toc-title { font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.07em !important; color: #64748b !important; margin-bottom: 10px !important; }
.jb-toc ul { list-style: none !important; padding: 0 !important; columns: 2 !important; column-gap: 24px !important; }
.jb-toc li { margin-bottom: 6px !important; }
.jb-toc a { color: #0056b3 !important; text-decoration: none !important; font-size: 14px !important; font-weight: 500 !important; }
.jb-toc a:hover { text-decoration: underline !important; }

.jb-group-card { background: #ffffff !important; border-radius: 12px !important; padding: 32px !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important; margin-bottom: 24px !important; }
.jb-card-label { display: inline-block !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; color: #94a3b8 !important; margin-bottom: 20px !important; }
.jb-group-card .jb-inner-section { margin-bottom: 32px !important; padding-bottom: 28px !important; border-bottom: 1px solid #f1f5f9 !important; }
.jb-group-card .jb-inner-section:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; border-bottom: none !important; }

.jb-section-header { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 14px !important; }
.jb-section-header svg { width: 24px !important; height: 24px !important; color: #0056b3 !important; flex-shrink: 0 !important; }
.jb-section-header h2 { font-size: 1.7rem !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 !important; padding: 0 !important; border: none !important; }

.jb-overview-list { list-style: none !important; padding: 0 !important; }
.jb-overview-list li { display: flex !important; padding: 7px 0 !important; border-bottom: 1px solid #f1f5f9 !important; font-size: 15px !important; margin-bottom: 0 !important; }
.jb-overview-list li:last-child { border-bottom: none !important; }
.jb-ov-label { width: 170px !important; flex-shrink: 0 !important; font-weight: 600 !important; color: #64748b !important; font-size: 14px !important; }
.jb-ov-value { color: #1e293b !important; font-weight: 500 !important; }

.jb-group-card p { margin-bottom: 14px !important; color: #334155 !important; }
.jb-group-card ul { padding-left: 20px !important; margin-bottom: 16px !important; }
.jb-group-card li { margin-bottom: 8px !important; color: #334155 !important; }
.jb-group-card li::marker { color: #0056b3 !important; }
.jb-group-card h3 { font-size: 1.25rem !important; font-weight: 600 !important; color: #1e293b !important; margin-top: 18px !important; margin-bottom: 8px !important; }
.jb-group-card strong { color: #0f172a !important; }
.jb-group-card a { color: #0056b3 !important; text-decoration: none !important; }
.jb-group-card a:hover { text-decoration: underline !important; }

.jb-apply-cta { background: #0b3d91 !important; border-radius: 10px !important; padding: 24px 28px !important; text-align: center !important; margin-bottom: 24px !important; }
.jb-apply-cta p { color: #cbd5e1 !important; font-size: 14px !important; margin-bottom: 12px !important; }
.jb-apply-cta a { display: inline-flex !important; align-items: center !important; gap: 8px !important; background: #22c55e !important; color: #ffffff !important; padding: 14px 32px !important; border-radius: 8px !important; font-size: 16px !important; font-weight: 600 !important; text-decoration: none !important; }
.jb-apply-cta a:hover { opacity: 0.9 !important; }
.jb-apply-cta a:visited, .jb-apply-cta a:focus, .jb-apply-cta a:active { color: #ffffff !important; text-decoration: none !important; }

@media (max-width: 768px) {
  body.single-job_listing h1, body.single-job h1 { font-size: 28px !important; }
  .jb-dashboard { padding: 20px !important; }
  .jb-group-card { padding: 20px !important; }
  .jb-toc ul { columns: 1 !important; }
  .jb-overview-list li { flex-direction: column !important; gap: 2px !important; }
  .jb-ov-label { width: auto !important; }
  .jb-section-header h2 { font-size: 1.4rem !important; }
}
@media (max-width: 600px) {
  .jb-btn-row { flex-direction: column !important; align-items: stretch !important; }
  .jb-btn { width: 100% !important; justify-content: center !important; }
}

/* =====================================
   ARTICLE DESIGN SYSTEM
===================================== */
.entry-content, .post-content { font-family: Arial, Helvetica, sans-serif; color: #334155; font-size: 17px; line-height: 1.75; }
.entry-title, .post-title { font-size: 42px; font-weight: 800; color: #0f172a; }

.article-hero { background: linear-gradient(135deg, #0b3d91, #0056b3); color: white; padding: 28px 22px; border-radius: 18px; margin: 18px 0; box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.article-hero h1, .article-hero h2, .article-hero p, .article-hero strong { color: white !important; }

.entry-content h2 { color: #0b3d91; font-size: 30px; margin-top: 25px; margin-bottom: 12px; padding-left: 12px; border-left: 5px solid #22c55e; }
.entry-content h3 { color: #0056b3; font-size: 23px; margin-top: 18px; }

.article-card { background: white; padding: 20px; margin: 18px 0; border-radius: 16px; box-shadow: 0 5px 18px rgba(0,0,0,.08); }
.highlight-box { background: #eff6ff; border-left: 5px solid #2563eb; padding: 20px; margin: 18px 0; border-radius: 12px; }
.tip-box { background: #ecfdf5; border-left: 5px solid #22c55e; padding: 20px; margin: 18px 0; border-radius: 12px; }
.toc-box { background: #f8fafc; padding: 18px; margin: 18px 0; border-radius: 14px; border-left: 5px solid #0056b3; }
.toc-box ul { margin: 0; padding-left: 20px; }
.toc-box li { margin-bottom: 6px; }
.toc-box a { color: #0056b3; text-decoration: none; }
.cta-box { background: #ecfdf5; border: 2px solid #22c55e; padding: 22px; margin: 22px 0; text-align: center; border-radius: 16px; }
.cta-button { display: inline-block; background: #22c55e; color: white !important; padding: 12px 25px; border-radius: 25px; text-decoration: none; font-weight: bold; }
.faq-box { background: #f8fafc; padding: 20px; margin: 18px 0; border-radius: 14px; }
.faq-box h3 { color: #0056b3; }
.author-box { background: #f1f5f9; padding: 20px; margin: 25px 0; border-radius: 16px; border-top: 5px solid #0056b3; }

.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th { background: #0b3d91; color: white; padding: 12px; }
.entry-content td { padding: 12px; border-bottom: 1px solid #ddd; }
.entry-content p { margin-bottom: 12px; }
.entry-content ul, .entry-content ol { margin-top: 8px; margin-bottom: 12px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { max-width: 100%; border-radius: 15px; }

@media (max-width: 768px) {
  .entry-title, .post-title { font-size: 30px; }
  .entry-content { font-size: 16px; }
  .article-card, .article-hero, .highlight-box, .tip-box, .toc-box, .cta-box, .faq-box, .author-box { padding: 15px; margin: 14px 0; }
}

/* =====================================
   SCHOLARSHIPS ARCHIVE PAGE
===================================== */
.sch-hero {
  background: linear-gradient(165deg, #0b2547 0%, #0f3060 50%, #0b2040 100%);
  padding: 90px 24px 100px;
  position: relative;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.sch-hero::before { content: ''; position: absolute; top: -40%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%); border-radius: 50%; }
.sch-hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%); border-radius: 50%; }
.sch-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.sch-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: #86efac; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 28px; }
.sch-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 800; color: #f8fafc; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.sch-hero h1 span { color: #86efac; }
.sch-hero-desc { font-size: 1.05rem; color: #cbd5e1; max-width: 620px; margin: 0 auto 36px; line-height: 1.6; }
.sch-stats { display: flex; justify-content: center; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.sch-stat { text-align: center; }
.sch-stat-num { font-size: 2rem; font-weight: 700; color: #f8fafc; }
.sch-stat-label { font-size: 0.85rem; color: #94a3b8; margin-top: 4px; letter-spacing: 0.02em; }

/* Search/CTA email in hero */
.sch-hero .sch-cta-email { max-width: 520px !important; margin: 0 auto !important; }

/* Scholarship Listings */
.sch-listings-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 24px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.sch-listings-wrap h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: #1e293b; border-left: none !important; padding-left: 0 !important; }

/* Scholarship listings: keep default grid, bigger text */
.sch-listings-wrap .job_listings li.job_listing h3,
.sch-listings-wrap .job_listings li.job_listing .position h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
.sch-listings-wrap .job_listings li.job_listing .location {
  font-size: 1rem !important;
}
.sch-listings-wrap .job_listings li.job_listing .meta,
.sch-listings-wrap .job_listings li.job_listing .meta li {
  font-size: 0.92rem !important;
}
.sch-listings-wrap h2 {
  border-left: none !important;
  padding-left: 0 !important;
}

/* Scholarship CTA */
.sch-cta { max-width: 1100px; margin: 0 auto; padding: 16px 24px 64px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.sch-cta-box { background: linear-gradient(145deg, #0f2b4a, #143760); border-radius: 24px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
.sch-cta-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%); border-radius: 50%; }
.sch-cta-box h2 { font-size: 1.6rem; font-weight: 700; color: #f8fafc; margin-bottom: 12px; position: relative; border-left: none !important; padding-left: 0 !important; }
.sch-cta-box p { color: #cbd5e1; margin-bottom: 28px; font-size: 1rem; position: relative; }
.sch-cta-email { display: flex; max-width: 420px; margin: 0 auto; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 5px; position: relative; }
.sch-cta-email input { flex: 1; border: none; outline: none; background: transparent; padding: 14px 18px; font-size: 0.9rem; color: #f1f5f9; }
.sch-cta-email input::placeholder { color: #94a3b8; }
.sch-cta-email button { background: #22c55e; color: #052e16; border: none; padding: 14px 22px; border-radius: 9px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.sch-cta-email button:hover { background: #16a34a; }

@media (max-width: 768px) {
  .sch-hero { padding: 56px 20px 72px; }
  .sch-stats { gap: 28px; }
  .sch-listings-wrap { padding: 36px 20px; }
  .sch-cta { padding: 16px 20px 48px; }
  .sch-cta-box { padding: 40px 24px; }
  .sch-cta-email { flex-direction: column; }
  .sch-cta-email button { width: 100%; }
}

/* =====================================
   SCHOLARSHIP SINGLE POST
===================================== */
.sch-post { max-width: 860px; margin: 0 auto; padding: 40px 24px; }

.sch-header { background: linear-gradient(155deg, #0f2b4a 0%, #1a4070 60%, #0d3562 100%); border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden; margin-bottom: 32px; }
.sch-header::before { content: ''; position: absolute; top: -30%; right: -15%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 65%); border-radius: 50%; }
.sch-header::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 65%); border-radius: 50%; }
.sch-header-content { position: relative; z-index: 1; }
.sch-header-badges { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.sch-hbadge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sch-hbadge.funded { background: rgba(34,197,94,0.15); color: #86efac; }
.sch-hbadge.deadline { background: rgba(251,191,36,0.15); color: #fcd34d; }
.sch-hbadge.women { background: rgba(168,85,247,0.15); color: #d8b4fe; }
.sch-hbadge.partial { background: rgba(59,130,246,0.15); color: #93c5fd; }
.sch-hbadge.masters { background: rgba(236,72,153,0.15); color: #f9a8d4; }
.sch-hbadge.intl { background: rgba(20,184,166,0.15); color: #5eead4; }
.sch-hbadge.undergrad { background: rgba(249,115,22,0.15); color: #fdba74; }
.sch-hbadge.govt { background: rgba(99,102,241,0.15); color: #a5b4fc; }

.sch-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: #f8fafc; line-height: 1.25; margin-bottom: 12px; }
.sch-header-org { font-size: 1rem; color: #94a3b8; margin-bottom: 24px; }
.sch-header-org strong { color: #cbd5e1; }
.sch-header-meta { display: flex; flex-wrap: wrap; gap: 20px; }
.sch-hmeta { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #cbd5e1; }
.sch-hmeta-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

.sch-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.sch-fact { background: #ffffff; border: 1px solid #f1f5f9; border-radius: 14px; padding: 20px; text-align: center; }
.sch-fact-icon { font-size: 1.5rem; margin-bottom: 8px; }
.sch-fact-value { font-size: 1.1rem; font-weight: 700; color: #0f2b4a; margin-bottom: 4px; }
.sch-fact-label { font-size: 0.78rem; color: #64748b; }

.sch-section { background: #ffffff; border: 1px solid #f1f5f9; border-radius: 16px; padding: 32px; margin-bottom: 20px; }
.sch-section h2 { font-size: 1.2rem; font-weight: 700; color: #0f2b4a; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sch-section h2 .sec-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.sec-icon.blue { background: #eff6ff; }
.sec-icon.green { background: #ecfdf5; }
.sec-icon.purple { background: #f5f3ff; }
.sec-icon.orange { background: #fff7ed; }
.sec-icon.red { background: #fef2f2; }
.sch-section p { color: #475569; margin-bottom: 12px; font-size: 0.95rem; }
.sch-section ul { list-style: none; padding: 0; }
.sch-section ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #475569; font-size: 0.95rem; }
.sch-section ul li::before { content: '\2713'; position: absolute; left: 0; color: #22c55e; font-weight: 700; font-size: 0.9rem; }
.sch-section h3 { font-size: 0.95rem; font-weight: 600; margin-top: 20px; margin-bottom: 12px; color: #334155; }

.uni-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.uni-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8fafc; border-radius: 10px; font-size: 0.88rem; color: #334155; font-weight: 500; }
.uni-item .uni-num { width: 24px; height: 24px; background: #0f2b4a; color: #f8fafc; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }

.benefit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.benefit-card { text-align: center; padding: 24px 16px; background: linear-gradient(145deg, #ecfdf5, #f0fdf4); border-radius: 14px; }
.benefit-card .bc-icon { font-size: 2rem; margin-bottom: 10px; }
.benefit-card .bc-text { font-size: 0.88rem; font-weight: 600; color: #166534; }

.sch-apply-section { background: linear-gradient(145deg, #ecfdf5, #dcfce7); border: 2px solid #bbf7d0; border-radius: 16px; padding: 36px; text-align: center; margin-bottom: 20px; }
.sch-apply-section h2 { font-size: 1.3rem; font-weight: 700; color: #166534; margin-bottom: 8px; justify-content: center; }
.sch-apply-section p { color: #15803d; margin-bottom: 20px; font-size: 0.95rem; }
.sch-apply-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: #16a34a; color: #ffffff; border-radius: 12px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; margin-bottom: 16px; }
.sch-apply-btn:hover { background: #15803d; transform: translateY(-1px); }
.sch-apply-btn:visited, .sch-apply-btn:focus, .sch-apply-btn:active { color: #ffffff; text-decoration: none; }
.sch-apply-alt { font-size: 0.85rem; color: #475569; }
.sch-apply-alt a { color: #0f2b4a; font-weight: 600; text-decoration: none; }

.sch-warning { background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.sch-warning-icon { font-size: 1.3rem; flex-shrink: 0; }
.sch-warning p { font-size: 0.88rem; color: #991b1b; margin: 0; font-weight: 500; }

.sch-info { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.sch-info-icon { font-size: 1.3rem; flex-shrink: 0; }
.sch-info p { font-size: 0.88rem; color: #1e40af; margin: 0; font-weight: 500; }

.sch-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.sch-contact-item { padding: 16px 20px; background: #f8fafc; border-radius: 10px; text-align: center; }
.sch-contact-item .ci-icon { font-size: 1.2rem; margin-bottom: 6px; }
.sch-contact-item .ci-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.sch-contact-item .ci-value { font-size: 0.9rem; font-weight: 600; color: #0f2b4a; }
.sch-contact-item a { color: #0f2b4a; text-decoration: none; }

.sch-timeline { display: grid; gap: 12px; }
.sch-timeline-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #f8fafc; border-radius: 10px; }
.sch-timeline-item .tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.sch-timeline-item .tl-dot.past { background: #94a3b8; }
.sch-timeline-item .tl-dot.active { background: #f59e0b; }
.sch-timeline-item .tl-date { font-size: 0.82rem; font-weight: 700; color: #0f2b4a; min-width: 110px; }
.sch-timeline-item .tl-label { font-size: 0.88rem; color: #475569; }

/* WordPress fixes (scholarships) */
.sch-header-badges p, .sch-header-meta p, .sch-facts p, .benefit-cards p, .uni-grid p, .sch-contact p { display: contents; }
.sch-apply-section a.sch-apply-btn br { display: none; }
.sch-apply-section a.sch-apply-btn, .sch-apply-section a.sch-apply-btn:hover, .sch-apply-section a.sch-apply-btn:focus, .sch-apply-section a.sch-apply-btn:visited, .sch-apply-section a.sch-apply-btn:active { text-decoration: none !important; }

@media (max-width: 768px) {
  .sch-post { padding: 20px 16px; }
  .sch-header { padding: 36px 24px; border-radius: 16px; }
  .sch-header h1 { font-size: 1.5rem; }
  .sch-section { padding: 24px 20px; }
  .sch-apply-section { padding: 28px 20px; }
  .uni-grid { grid-template-columns: 1fr; }
  .benefit-cards { grid-template-columns: 1fr 1fr; }
  .sch-contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .benefit-cards { grid-template-columns: 1fr; }
  .sch-facts { grid-template-columns: 1fr 1fr; }
}

/* Scholarship post text overrides */
.sch-post .sch-header h1, .sch-post .sch-header .sch-header-content h1, body .sch-header h1 { color: #f8fafc !important; }
.sch-post .sch-header .sch-header-org, body .sch-header .sch-header-org { color: #94a3b8 !important; }
.sch-post .sch-header .sch-header-org strong, body .sch-header .sch-header-org strong { color: #cbd5e1 !important; }
.sch-post .sch-header .sch-hmeta, body .sch-header .sch-hmeta { color: #cbd5e1 !important; }
.sch-post .sch-header .sch-hbadge.funded { color: #86efac !important; }
.sch-post .sch-header .sch-hbadge.deadline { color: #fcd34d !important; }
.sch-post .sch-header .sch-hbadge.women { color: #d8b4fe !important; }
.sch-post .sch-header .sch-hbadge.partial { color: #93c5fd !important; }
.sch-post .sch-header .sch-hbadge.masters { color: #f9a8d4 !important; }
.sch-post .sch-header .sch-hbadge.intl { color: #5eead4 !important; }
.sch-post .sch-header .sch-hbadge.undergrad { color: #fdba74 !important; }
.sch-post .sch-header .sch-hbadge.govt { color: #a5b4fc !important; }

/* Kill Joblook borders on scholarship sections */
.sch-post .sch-section h2, .sch-post .sch-apply-section h2 { border-left: none !important; padding-left: 0 !important; }

/* Hide default WP Job Manager apply button */
.sch-post ~ .job_application, .single-job_listing .application { display: none !important; }

/* Scholarship post full width */
.single-job_listing .site-content, .single-job_listing .content-area, .single-job_listing .entry-content, .single-job_listing article, .single-job_listing .post-inner-content, .single-job_listing .container { max-width: 100% !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body .sch-post { max-width: 1100px !important; margin: 0 auto !important; padding: 48px 32px !important; }
.single-job_listing, .single-job_listing .site-content, .single-job_listing .content-area { background: #ffffff !important; }
.sch-post .sch-section, .sch-post .sch-fact { border: 1px solid #e2e8f0 !important; }

.sch-post .sch-header { padding: 56px 52px !important; border-radius: 24px !important; }
.sch-post .sch-header h1 { font-size: clamp(2.2rem, 5vw, 3rem) !important; }
.sch-post .sch-hbadge { font-size: 0.85rem !important; padding: 8px 18px !important; }
.sch-post .sch-header-org { font-size: 1.15rem !important; }
.sch-post .sch-hmeta { font-size: 1.05rem !important; }
.sch-post .sch-fact-value { font-size: 1.4rem !important; }
.sch-post .sch-fact-label { font-size: 0.9rem !important; }
.sch-post .sch-section { padding: 40px 44px !important; }
.sch-post .sch-section h2 { font-size: 1.5rem !important; }
.sch-post .sch-section p, .sch-post .sch-section ul li, .sch-post .sch-warning p, .sch-post .sch-info p, .sch-post .sch-apply-section p { font-size: 1.1rem !important; line-height: 1.8 !important; }
.sch-post .sch-section h3 { font-size: 1.1rem !important; }
.sch-post .uni-item { font-size: 1rem !important; padding: 14px 18px !important; }
.sch-post .benefit-card .bc-text { font-size: 1rem !important; }
.sch-post .sch-apply-section { padding: 44px !important; }
.sch-post .sch-apply-section h2 { font-size: 1.5rem !important; }
.sch-post .sch-apply-btn { font-size: 1.15rem !important; padding: 18px 44px !important; }
.sch-post .sch-contact-item .ci-value { font-size: 1rem !important; }

@media (max-width: 768px) {
  body .sch-post { padding: 24px 16px !important; }
  .sch-post .sch-header { padding: 36px 24px !important; }
  .sch-post .sch-section { padding: 24px 20px !important; }
}

/* Hide WP Job Manager default title/company */
.sch-post ~ .company, .single-job_listing .entry-header, .single-job_listing header.entry-header, .single-job_listing .job_listing-company, .single-job_listing .entry-title { display: none !important; }

/* Blog grid images */
article .post-thumbnail img, .blog-grid img, article img.wp-post-image { width: 100% !important; height: 220px !important; object-fit: cover !important; border-radius: 8px !important; max-width: 100% !important; }
body .sch-post .sch-section p,
body .sch-post .sch-section ul li,
body .sch-post .sch-warning p,
body .sch-post .sch-info p,
body .sch-post .sch-apply-section p { font-size: 1.25rem !important; line-height: 1.9 !important; }
body .sch-post .sch-fact-label { font-size: 1.05rem !important; }
body .sch-post .sch-fact-value { font-size: 1.55rem !important; }
body .sch-post .benefit-card .bc-text { font-size: 1.15rem !important; }
body .sch-post .sch-timeline-item .tl-label,
body .sch-post .sch-timeline-item .tl-date { font-size: 1.1rem !important; }
body .sch-post .sch-section h2 { font-size: 1.65rem !important; }
body .sch-post .sch-section h3 { font-size: 1.2rem !important; }
body .sch-post .sch-apply-section h2 { font-size: 1.6rem !important; }
