/*
Theme Name: JobInKenya
Theme URI: https://jobinkenya.co.ke 
Author: JobInKenya Team
Author URI: https://jobinkenya.co.ke 
Description: A cutting-edge WordPress theme for Kenya's premier job portal. Features custom post types for jobs and companies, advanced search and filtering, Schema.org integration for Google Jobs, and a premium modern design.
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: jobinkenya
Tags: jobs, employment, companies, career, recruitment, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* -------------------------------------------------------------------------- */
/*  Design Tokens                                                             */
/* -------------------------------------------------------------------------- */
:root {
  /* Core palette – slightly richer than before */
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --secondary: #059669;
  --accent: #f59e0b;

  /* Neutral slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic */
  --bg: var(--slate-50);
  --surface: #ffffff;
  --text: var(--slate-800);
  --muted: var(--slate-500);
  --border: var(--slate-200);

  /* Elevation – airy but grounded */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
  --shadow-sm: 0 1px 3px -1px rgb(0 0 0 / 0.07);
  --shadow-md: 0 4px 6px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.03);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -2px rgb(0 0 0 / 0.03);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

/* -------------------------------------------------------------------------- */
/*  Reset & base                                                              */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

/* -------------------------------------------------------------------------- */
/*  Typography – tighter scale & fluid headings                               */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.65em;
  color: var(--slate-900);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1em; }

/* -------------------------------------------------------------------------- */
/*  Layout helpers                                                            */
/* -------------------------------------------------------------------------- */
.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, 92vw);
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/*  Header – glassy sticky bar                                                */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration) var(--ease);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-logo a {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 0.25rem 0;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration) var(--ease);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after { width: 100%; }

/* -------------------------------------------------------------------------- */
/*  Hero – vibrant gradient & airy search                                     */
/* -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
}

.hero-content h1 { color: inherit; margin-bottom: 0.5em; }
.hero-content p { font-size: 1.25rem; opacity: 0.9; max-width: 680px; margin: 0 auto 2rem; }

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.search-form input,
.search-form select {
  flex: 1 1 220px;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color var(--duration) var(--ease);
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(29 78 216 / 0.12);
}

.search-form button {
  padding: 0.875rem 2.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.search-form button:hover { background: var(--primary-dark); }

/* -------------------------------------------------------------------------- */
/*  Job / Company cards – soft lift on hover                                  */
/* -------------------------------------------------------------------------- */
.jobs-grid,
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin: 3rem 0;
}

.job-card,
.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
  top: 0;
}

.job-card:hover,
.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.job-title { font-size: 1.25rem; margin-bottom: 0.25rem; }
.company-name { color: var(--muted;); font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }

.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.meta-tag {
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.job-description { color: var(--muted); line-height: 1.65; }

.job-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.salary { font-weight: 700; color: var(--secondary); }

.btn-apply {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background var(--duration) var(--ease);
}

.btn-apply:hover { background: var(--primary-dark); color: #fff; }

/* -------------------------------------------------------------------------- */
/*  Single job – spacious & scannable                                         */
/* -------------------------------------------------------------------------- */
.job-single {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.job-single-header { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; margin-bottom: 2rem; }

.job-single-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.meta-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.meta-value { font-weight: 600; color: var(--text); }

.job-content h3 { margin-top: 2rem; }
.job-content ul { margin-left: 1.25rem; }
.job-content li + li { margin-top: 0.5rem; }

.apply-section {
  background: var(--slate-100);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin-top: 3rem;
}

.apply-section .btn-apply { padding: 1rem 3rem; font-size: 1.125rem; }

/* -------------------------------------------------------------------------- */
/*  Company blocks                                                            */
/* -------------------------------------------------------------------------- */
.company-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem;
  background: #fff;
}

.company-single-logo { width: 120px; height: 120px; }

.open-positions {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/*  Filters – pill style                                                      */
/* -------------------------------------------------------------------------- */
.filters-section {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax 200px, 1fr);
  gap: 1.25rem;
}

.filter-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.875rem; }
.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color var(--duration) var(--ease);
}
.filter-group input:focus,
.filter-group select:focus { outline: none; border-color: var(--primary); }

/* -------------------------------------------------------------------------- */
/*  Footer – dark mode slate                                                  */
/* -------------------------------------------------------------------------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax 240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 { color: #fff; margin-bottom: 1rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section li + li { margin-top: 0.5rem; }
.footer-section a { color: var(--slate-400); }
.footer-section a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* -------------------------------------------------------------------------- */
/*  Utility helpers                                                           */
/* -------------------------------------------------------------------------- */
.section-padding { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* -------------------------------------------------------------------------- */
/*  Responsive tweaks                                                         */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .search-form { flex-direction: column; }
  .main-navigation ul { flex-direction: column; gap: 0.75rem; }
  .jobs-grid,
  .companies-grid { grid-template-columns: 1fr; }
  .job-single-meta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .job-card,
  .company-card { padding: 1.25rem; }
}
/* ----------  HERO  ---------- */
.hero{
  position:relative;
  padding:clamp(4rem, 10vw, 8rem) 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  z-index:0;
}
.hero__bg::after{          /* subtle mesh */
  content:"";
  position:absolute;
  inset:0;
  background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"%3E%3Cfilter id="a"%3E%3CfeTurbulence type="fractalNoise" baseFrequency=".8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23a)" opacity=".1"/%3E%3C/svg%3E');
}
.hero__text{position:relative;z-index:1;}
.hero__title{margin-bottom:.5em;color:inherit;}
.hero__strapline{font-size:clamp(1.1rem, 2.5vw, 1.5rem);opacity:.9;}
.hero__typed{color:inherit;}
.hero__cursor{animation:blink 1s infinite;}

@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}

/* ----------  SEARCH  ---------- */
.search-hero{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  max-width:820px;
  margin:2.5rem auto 0;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.25);
  padding:.75rem;
  border-radius:.75rem;
}
.search-hero__group{flex:1 1 220px;position:relative;}
.search-hero__input,
.search-hero__select{
  width:100%;
  padding:.875rem 1rem .875rem 2.75rem;
  border:none;
  border-radius:.5rem;
  font-size:1rem;
  background:#fff;
  color:var(--text);
  transition:box-shadow .2s;
}
.search-hero__input:focus,
.search-hero__select:focus{
  outline:none;
  box-shadow:0 0 0 3px rgb(29 78 216 /.35);
}
.search-hero__icon{
  position:absolute;
  left:1rem;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  fill:var(--muted);
}
.search-hero__btn{
  padding:.875rem 2.5rem;
  border:none;
  border-radius:.5rem;
  background:#fff;
  color:var(--primary);
  font-weight:600;
  cursor:pointer;
  transition:background .2s,color .2s;
}
.search-hero__btn:hover{background:var(--primary-dark);color:#fff;}

/* ----------  TILES  ---------- */
.tile-grid{
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.tile{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  padding:1.5rem;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:.75rem;
  color:inherit;
  transition:transform .25s,box-shadow .25s;
  position:relative;
  top:0;
}
.tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.tile__head{display:flex;justify-content:space-between;align-items:center;}
.tile__title{font-size:1.125rem;margin:0;}
.tile__count{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-size:.75rem;font-weight:600;
  padding:.25rem .625rem;
  border-radius:999px;
}
.tile__desc{font-size:.875rem;color:var(--muted);flex:1 0 auto;}
.tile__arrow{margin-left:auto;margin-top:.75rem;font-size:1.25rem;color:var(--primary);}

/* ----------  LOGO MARQUEE  ---------- */
.logo-marquee{
  display:flex;
  gap:2rem;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:1rem 0 2rem;
}
.logo-marquee__img{
  height:48px;width:auto;
  object-fit:contain;
  filter:grayscale(100%) opacity(.7);
  transition:filter .3s,transform .3s;
  scroll-snap-align:start;
}
.logo-marquee__img:hover{filter:none;transform:scale(1.05);}

/* ----------  COUNTER  ---------- */
.counter{background:var(--slate-900);color:#fff;padding:3rem 0;}
.counter__wrap{display:flex;flex-wrap:wrap;gap:2rem;text-align:center;justify-content:center;}
.counter__item{flex:1 1 200px;}
.counter__num{display:block;font-size:clamp(2rem,5vw,3rem);font-weight:700;color:var(--accent);}
.counter__label{font-size:.875rem;letter-spacing:.05em;text-transform:uppercase;opacity:.7;}

/* ----------  SKELETON  ---------- */
.skeleton{height:180px;border-radius:.75rem;background:linear-gradient(90deg,var(--slate-200) 25%,var(--slate-100) 50%,var(--slate-200) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ----------  BUTTONS  ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.75rem;border-radius:.5rem;font-weight:600;transition:all .2s;cursor:pointer;border:none;}
.btn--primary{background:var(--primary);color:#fff;}
.btn--primary:hover{background:var(--primary-dark);}
.btn--large{padding:1rem 3rem;font-size:1.125rem;}
.mt-3{margin-top:3rem;}
/* ========================================================================
   DEMO FALLBACK GUARD – makes PHP fallback tiles identical to REST tiles
   ======================================================================== */
#job-shelf:has(.tile--demo) .skeleton,
#job-shelf .skeleton {
  display: none;
}

/* ensure fallback tiles use same visual system */
#job-shelf .tile--demo,
#job-shelf .tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: inherit;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
  top: 0;
}

#job-shelf .tile--demo:hover,
#job-shelf .tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

#job-shelf .tile--demo .tile__head,
#job-shelf .tile .tile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#job-shelf .tile--demo .tile__title,
#job-shelf .tile .tile__title {
  font-size: 1.125rem;
  margin: 0;
}

#job-shelf .tile--demo .tile__count,
#job-shelf .tile .tile__count {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

#job-shelf .tile--demo .tile__desc,
#job-shelf .tile .tile__desc {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1 0 auto;
  margin: 0;
}

#job-shelf .tile--demo .tile__arrow,
#job-shelf .tile .tile__arrow {
  margin-left: auto;
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: var(--primary);
}

/* hide skeleton once REST fills shelf */
#job-shelf:not(:empty) .skeleton {
  display: none;
}
<!-- =====  ARCHIVE-JOB STYLES – append to style.css  ===== -->
<style>
/* ----------  ARCHIVE HERO  ---------- */
.archive-hero{
  background:linear-gradient(135deg,var(--primary) 0%,#3b82f6 100%);
  color:#fff;
  padding:clamp(3rem,8vw,5rem) 0;
  text-align:center;
}
.archive-hero__title{font-size:clamp(2rem,5vw,3rem);margin:0 0 .25em;}
.archive-hero__strap{font-size:1.125rem;opacity:.9;margin:0;}

/* ----------  FILTER SIDEBAR  ---------- */
.archive-filter{
  background:var(--surface);
  border-bottom:1px solid var(--border);
  padding:2rem 0;
  position:sticky;
  top:76px;                 /* height of your header */
  z-index:40;
}
.filter-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.25rem;
  align-items:end;
}
.filter-group label{
  display:block;
  margin-bottom:.5rem;
  font-weight:600;
  font-size:.875rem;
  color:var(--slate-700);
}
.filter-group input,
.filter-group select{
  width:100%;
  padding:.75rem 1rem;
  border:1px solid var(--border);
  border-radius:.5rem;
  font-size:1rem;
  background:#fff;
  transition:border-color .2s;
}
.filter-group input:focus,
.filter-group select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgb(29 78 216 /.12);
}

/* ----------  RESULTS GRID  ---------- */
.archive-results{padding:3rem 0;}
.jobs-grid{margin-top:0;}          /* remove top gap */
.no-results{
  text-align:center;
  padding:3rem 0;
  color:var(--muted);
  font-size:1.125rem;
}

/* ----------  PAGINATION  ---------- */
.pagination{
  display:flex;
  justify-content:center;
  margin-top:3rem;
}
.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.5rem;height:2.5rem;
  margin:0 .25rem;
  border-radius:.375rem;
  background:var(--slate-100);
  color:var(--slate-700);
  font-weight:600;
  transition:background .2s,color .2s;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover{
  background:var(--primary);
  color:#fff;
}
</style>
<!-- =====  APPEND TO STYLE.CSS  ===== -->
<style>
/* ----------  COMPANY PILLS (logo-agnostic)  ---------- */
.company-pills{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:center;
  padding:1rem 0 2rem;
}
.company-pill{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  padding:.5rem 1rem;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--text);
  font-weight:500;
  transition:transform .2s,box-shadow .2s;
}
.company-pill:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}
.company-pill__initial{
  display:grid;
  place-content:center;
  width:40px;height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-weight:700;
  font-size:1.125rem;
}
.company-pill__logo{
  width:40px;height:40px;
  object-fit:contain;
  border-radius:50%;
  border:1px solid var(--border);
  padding:4px;
  background:#fff;
}
.company-pill__name{font-size:.875rem;}
</style>
/* ----------  ARCHIVE PAGINATION – horizontal pills  ---------- */
.pagination{
  display:flex;
  justify-content:center;
  gap:.5rem;
  margin-top:3rem;
}
.pagination > *{          /* kills any rogue <ul> bullets */
  list-style:none;
  display:flex;
  gap:.5rem;
  margin:0;
  padding:0;
}
.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.5rem;height:2.5rem;
  border-radius:.375rem;
  background:var(--slate-100);
  color:var(--slate-700);
  font-weight:600;
  transition:background .2s,color .2s;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover{
  background:var(--primary);
  color:#fff;
}
/* ==========  BLACK CENTRE FOOTER  ========== */
.footer-black{
  margin-top:auto;
  background:#000;
  color:#e2e8f0;
  padding:2rem 0 1rem;
  font-size:.875rem;
  text-align:center;
}
.footer-black__bar{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:1rem;
}
.footer-black__nav{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
}
.footer-black__nav a,
.footer-black__chip{
  color:#cbd5e1;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.4rem .9rem;
  border-radius:999px;
  background:#111;
  transition:background .2s;
}
.footer-black__nav a:hover,
.footer-black__chip:hover{background:#222;}
.footer-black__social{
  display:flex;
  justify-content:center;
  gap:1rem;
  margin:1rem 0;
}
.footer-black__social a{
  color:#94a3b8;
  transition:color .2s;
}
.footer-black__social a:hover{color:#fff;}
.footer-black__copy{
  opacity:.7;
  font-size:.75rem;
}
@media (max-width:600px){
  .footer-black__bar{flex-direction:column;}
}
<!-- =====  APPEND TO STYLE.CSS  ===== -->
<style>
/* ----------  CLEAN SINGLE POST  ---------- */
.single-clean{ background:var(--slate-50); }
.post-hero{
  background:linear-gradient(135deg,var(--primary) 0%,#3b82f6 100%);
  color:#fff;
  padding:clamp(3rem,8vw,5rem) 0;
  text-align:center;
}
.post-hero__title{font-size:clamp(2rem,5vw,3rem);margin:0 0 .25em;}
.post-hero__meta{font-size:1rem;opacity:.9;margin:0;}
.post-content{ padding:3rem 0; }
.post-image{ margin:0 0 2rem; border-radius:.75rem; overflow:hidden; }
.post-image img{ width:100%; height:auto; }
.post-body{ max-width:680px; margin:0 auto; font-size:1.125rem; line-height:1.7; color:var(--text); }
.post-body h2,.post-body h3,.post-body h4{ margin-top:2rem; margin-bottom:1rem; }
.post-body ul,.post-body ol{ margin-left:1.5rem; }
.post-body li+li{ margin-top:.5rem; }