/* HIRE ONE Blog — scoped to .hireone-blog-app so it never bleeds into the theme. */

/* ── Box-sizing reset ── */
.hireone-blog-app *,
.hireone-blog-app *::before,
.hireone-blog-app *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── App container + CSS custom properties ── */
.hireone-blog-app {
  /* ── Core palette ── */
  --ho-bg:               #0f1117;
  --ho-surface:          #161b27;
  --ho-surface-card:     #1a2035;
  --ho-surface-glass:    rgba(22, 27, 39, 0.72);
  --ho-surface-alt:      #0d1120;
  --ho-border:           rgba(255,255,255,0.08);
  --ho-border-glow:      rgba(255, 91, 31, 0.3);

  /* ── Text ── */
  --ho-text:             #f0f2f7;
  --ho-text-muted:       #8a93ab;
  --ho-text-dim:         #525c73;

  /* ── Accent (orange) ── */
  --ho-accent:           #ff5b1f;
  --ho-accent-hover:     #ff7040;
  --ho-accent-glow:      rgba(255, 91, 31, 0.18);

  /* ── Shape ── */
  --ho-radius:           14px;
  --ho-radius-sm:        8px;
  --ho-radius-pill:      999px;

  /* ── Shadow ── */
  --ho-shadow-card:      0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.35);
  --ho-shadow-glow:      0 0 0 3px var(--ho-accent-glow);
  --ho-shadow-glass:     0 8px 32px rgba(0,0,0,0.45);

  /* ── Typography ── */
  --ho-font-heading: "Plus Jakarta Sans", sans-serif;
  --ho-font:         "DM Sans", sans-serif;

  /* ── Animation timing ── */
  --ho-dur-fast:         150ms;
  --ho-dur-normal:       250ms;
  --ho-dur-slow:         400ms;
  --ho-ease:             cubic-bezier(0.4, 0, 0.2, 1);
  --ho-ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Grid ── */
  --ho-grid-cols:        3;

  /* ── Base app styles ── */
  font-family: var(--ho-font);
  color: var(--ho-text);
  background: var(--ho-bg);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.55;
  box-sizing: border-box;
}

/* ── Inner content wrapper — centred and padded ── */
.hireone-blog-app .ho-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* ── SSR content — visible to crawlers, hidden after React mounts ── */
.hireone-blog-app .ho-ssr-content {
  display: block;
}

/* Once React adds .ho-hydrated, hide the static SSR shell */
.hireone-blog-app.ho-hydrated .ho-ssr-content {
  display: none;
}

/* ── Utility: eyebrow label ── */
.hireone-blog-app .ho-eyebrow {
  color: var(--ho-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Utility: accent text span (used in hero h1 for "HIRE ONE" branding) ── */
.hireone-blog-app .ho-accent-text {
  color: var(--ho-accent);
}

/* ── Back button ── */
.hireone-blog-app .ho-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--ho-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
}

.hireone-blog-app .ho-back:hover {
  color: var(--ho-accent-hover);
}

/* ── Hero section ── */
.hireone-blog-app .ho-hero {
  position: relative;
  padding: 80px 20px 64px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,91,31,0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(59,130,246,0.06) 0%, transparent 50%),
              var(--ho-bg);
  overflow: hidden;
}

/* Dot-grid overlay using radial-gradient (no image assets) */
.hireone-blog-app .ho-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hireone-blog-app .ho-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.hireone-blog-app .ho-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ho-text);
  margin: 0;
}

.hireone-blog-app .ho-hero__subtitle {
  color: var(--ho-text-muted);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 560px;
  margin: 0;
  line-height: 1.65;
}

.hireone-blog-app .ho-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ── Stat card ── */
.hireone-blog-app .ho-stat-card {
  background: var(--ho-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
  padding: 20px 28px;
  text-align: center;
  min-width: 140px;
  box-shadow: var(--ho-shadow-glass);
}

.hireone-blog-app .ho-stat-card__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--ho-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hireone-blog-app .ho-stat-card__label {
  font-size: 12px;
  color: var(--ho-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Featured post card ── */
.hireone-blog-app .ho-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--ho-radius);
  overflow: hidden;
  background: var(--ho-surface-card);
  border: 1px solid var(--ho-border);
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hireone-blog-app .ho-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--ho-shadow-card);
}

.hireone-blog-app .ho-featured__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ho-surface-alt);
}

.hireone-blog-app .ho-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.hireone-blog-app .ho-featured:hover .ho-featured__img img {
  transform: scale(1.04);
}

.hireone-blog-app .ho-featured__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hireone-blog-app .ho-featured__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ho-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hireone-blog-app .ho-featured__excerpt {
  color: var(--ho-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hireone-blog-app .ho-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ho-accent);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}

/* Responsive: stack on mobile */
@media (max-width: 767px) {
  .hireone-blog-app .ho-featured {
    grid-template-columns: 1fr;
  }

  .hireone-blog-app .ho-featured__body {
    padding: 24px 20px;
  }
}

/* ── Post grid ── */
.hireone-blog-app .ho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ── Post card ── */
.hireone-blog-app .ho-card {
  display: flex;
  flex-direction: column;
  background: var(--ho-surface-card);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hireone-blog-app .ho-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ho-shadow-card);
  border-color: var(--ho-border-glow);
}

.hireone-blog-app .ho-card__media {
  aspect-ratio: 16/9;
  background: var(--ho-surface-alt);
  overflow: hidden;
}

.hireone-blog-app .ho-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.hireone-blog-app .ho-card:hover .ho-card__media img {
  transform: scale(1.04);
}

/* ── Card body grows to fill ── */
.hireone-blog-app .ho-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hireone-blog-app .ho-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ho-text-muted);
  flex-wrap: wrap;
}

/* Category pill using --cat-color CSS variable */
.hireone-blog-app .ho-card__cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--ho-radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(var(--cat-color-r, 255), var(--cat-color-g, 91), var(--cat-color-b, 31), 0.15);
  /* Fallback using CSS variable directly for modern browsers */
  background-color: color-mix(in srgb, var(--cat-color, var(--ho-accent)) 15%, transparent);
  color: var(--cat-color, var(--ho-accent));
}

/* The SSR and React both use --cat-color inline style */
.hireone-blog-app [style*="--cat-color"] .ho-card__cat-pill,
.hireone-blog-app .ho-card__cat-pill[style*="--cat-color"] {
  background: rgba(0,0,0,0); /* reset, real bg comes from JS/SSR inline */
}

/* Better approach: use the CSS var directly on the pill */
.hireone-blog-app .ho-card__cat-pill {
  background: color-mix(in srgb, var(--cat-color, #ff5b1f) 15%, transparent);
  color: var(--cat-color, var(--ho-accent));
}

.hireone-blog-app .ho-card__read-time {
  color: var(--ho-text-dim);
  font-size: 11px;
}

.hireone-blog-app .ho-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ho-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hireone-blog-app .ho-card__excerpt {
  color: var(--ho-text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.hireone-blog-app .ho-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ho-border);
}

.hireone-blog-app .ho-card__foot img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.hireone-blog-app .ho-card__foot span {
  font-size: 12px;
  color: var(--ho-text-muted);
  font-weight: 500;
}

/* ── Toolbar ── */
.hireone-blog-app .ho-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--ho-border);
}

/* ── Search input ── */
.hireone-blog-app .ho-search {
  position: relative;
  flex: 1 1 100%;
  max-width: 100%;
}

.hireone-blog-app .ho-search input {
  width: 100%;
  padding: 12px 40px 12px 44px;
  border-radius: var(--ho-radius-sm);
  border: 1px solid var(--ho-border);
  background: var(--ho-surface-alt);
  font: inherit;
  font-size: 14px;
  color: var(--ho-text);
  transition: border-color 150ms, box-shadow 150ms;
}

.hireone-blog-app .ho-search input::placeholder {
  color: var(--ho-text-dim);
}

.hireone-blog-app .ho-search input:focus {
  outline: none;
  border-color: var(--ho-accent);
  box-shadow: var(--ho-shadow-glow);
  animation: ho-pulse-glow 1.5s ease infinite;
}

.hireone-blog-app .ho-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ho-text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
}

.hireone-blog-app .ho-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ho-text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color 150ms;
}

.hireone-blog-app .ho-search__clear:hover {
  color: var(--ho-text);
}

/* Search spinner */
.hireone-blog-app .ho-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,91,31,0.2);
  border-top-color: var(--ho-accent);
  animation: ho-spin 700ms linear infinite;
  display: inline-block;
}

/* ── Category chips ── */
.hireone-blog-app .ho-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
  margin-top: 12px;
}

.hireone-blog-app .ho-chip-row::-webkit-scrollbar {
  display: none;
}

.hireone-blog-app .ho-chip {
  border: 1px solid var(--ho-border);
  background: transparent;
  color: var(--ho-text-muted);
  padding: 7px 16px;
  border-radius: var(--ho-radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 150ms, color 150ms, background 150ms;
  font-family: var(--ho-font);
}

.hireone-blog-app .ho-chip:hover {
  border-color: var(--ho-accent);
  color: var(--ho-accent);
}

.hireone-blog-app .ho-chip.is-active {
  background: var(--ho-accent);
  color: #fff;
  border-color: var(--ho-accent);
}

/* ── PostMeta (author + date + reading time) ── */
.hireone-blog-app .ho-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ho-text-muted);
}

.hireone-blog-app .ho-post-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.hireone-blog-app .ho-post-meta__name {
  color: var(--ho-text);
  font-weight: 600;
}

.hireone-blog-app .ho-post-meta__sep {
  opacity: 0.4;
}

/* ── Animation keyframes ── */
@keyframes ho-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ho-skel-dark {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes ho-spin {
  to { transform: rotate(360deg); }
}

@keyframes ho-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--ho-accent-glow); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}

@keyframes ho-float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-6px); }
}

/* ── Fade-up entrance animation class ── */
.hireone-blog-app .ho-anim--fade-up {
  animation: ho-fade-up 350ms ease-out both;
}

/* ── Skeleton shimmer ── */
.hireone-blog-app .ho-skel {
  background: linear-gradient(
    90deg,
    var(--ho-surface-alt) 25%,
    rgba(255,255,255,0.04) 37%,
    var(--ho-surface-alt) 63%
  );
  background-size: 400% 100%;
  animation: ho-skel-dark 1.6s ease infinite;
  border-radius: 6px;
}

.hireone-blog-app .ho-skel--dark {
  background: linear-gradient(
    90deg,
    #131827 25%,
    #1e2540 37%,
    #131827 63%
  );
  background-size: 400% 100%;
  animation: ho-skel-dark 1.6s ease infinite;
}

/* ── Empty / error / loading states ── */
.hireone-blog-app .ho-empty,
.hireone-blog-app .ho-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--ho-text-muted);
  border: 1px dashed var(--ho-border);
  border-radius: var(--ho-radius);
  background: var(--ho-surface-alt);
}

.hireone-blog-app .ho-error {
  padding: 24px 20px;
  text-align: center;
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--ho-radius);
  background: rgba(248,113,113,0.06);
}

/* ── CTA button ── */
.hireone-blog-app .ho-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ho-accent);
  color: #fff;
  border: 0;
  padding: 12px 24px;
  border-radius: var(--ho-radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms;
}

.hireone-blog-app .ho-cta:hover {
  background: var(--ho-accent-hover);
  color: #fff;
}

/* ── Newsletter CTA ── */
.hireone-blog-app .ho-newsletter {
  background: var(--ho-surface-card);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius);
  padding: 48px 40px;
  text-align: center;
  margin-top: 48px;
}

.hireone-blog-app .ho-newsletter__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ho-text);
  margin-bottom: 10px;
}

.hireone-blog-app .ho-newsletter__sub {
  color: var(--ho-text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.hireone-blog-app .ho-newsletter__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.hireone-blog-app .ho-newsletter__form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--ho-radius-sm);
  border: 1px solid var(--ho-border);
  background: var(--ho-surface-alt);
  font: inherit;
  font-size: 14px;
  color: var(--ho-text);
  transition: border-color 150ms, box-shadow 150ms;
}

.hireone-blog-app .ho-newsletter__form input::placeholder {
  color: var(--ho-text-dim);
}

.hireone-blog-app .ho-newsletter__form input:focus {
  outline: none;
  border-color: var(--ho-accent);
  box-shadow: var(--ho-shadow-glow);
}

.hireone-blog-app .ho-newsletter__form button {
  padding: 12px 22px;
  background: var(--ho-accent);
  color: #fff;
  border: 0;
  border-radius: var(--ho-radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms;
}

.hireone-blog-app .ho-newsletter__form button:hover {
  background: var(--ho-accent-hover);
}

.hireone-blog-app .ho-newsletter__success {
  color: #4ade80;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 0;
}

.hireone-blog-app .ho-newsletter__error {
  color: #f87171;
  font-size: 13px;
  margin-top: 10px;
}

/* ── Preloader skeleton ── */
.hireone-blog-app .ho-preloader {
  padding: 80px 0 64px;
}

.hireone-blog-app .ho-card--skeleton {
  pointer-events: none;
}

/* ── Pagination (improved) ── */
.hireone-blog-app .ho-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.hireone-blog-app .ho-pagination button {
  min-width: 40px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--ho-radius-sm);
  border: 1px solid var(--ho-border);
  background: var(--ho-surface-card);
  color: var(--ho-text-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms;
}

.hireone-blog-app .ho-pagination .ho-page-prev,
.hireone-blog-app .ho-pagination .ho-page-next {
  padding: 0 20px;
  font-weight: 600;
  font-size: 13px;
}

.hireone-blog-app .ho-pagination button:hover:not(:disabled) {
  border-color: var(--ho-accent);
  color: var(--ho-accent);
}

.hireone-blog-app .ho-pagination button.is-active {
  background: var(--ho-accent);
  color: #fff;
  border-color: var(--ho-accent);
}

.hireone-blog-app .ho-pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hireone-blog-app .ho-page-ellipsis {
  padding: 0 4px;
  color: var(--ho-text-dim);
}

/* ── Detail view ── */
.hireone-blog-app .ho-detail {
  max-width: 780px;
  margin: 0 auto;
}

.hireone-blog-app .ho-detail__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--ho-radius);
  margin: 20px 0 32px;
  background: var(--ho-surface-alt);
  display: block;
}

.hireone-blog-app .ho-detail h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--ho-text);
}

/* ── Post content typography ── */
.hireone-blog-app .ho-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ho-text);
}

.hireone-blog-app .ho-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
  color: var(--ho-text);
}

.hireone-blog-app .ho-content h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--ho-text);
}

.hireone-blog-app .ho-content p { margin: 0 0 20px; }

.hireone-blog-app .ho-content a {
  color: var(--ho-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hireone-blog-app .ho-content a:hover { color: var(--ho-accent-hover); }

.hireone-blog-app .ho-content img,
.hireone-blog-app .ho-content iframe,
.hireone-blog-app .ho-content video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

.hireone-blog-app .ho-content blockquote {
  border-left: 4px solid var(--ho-accent);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: var(--ho-text-muted);
  font-style: italic;
  background: var(--ho-surface-alt);
  border-radius: 0 10px 10px 0;
}

.hireone-blog-app .ho-content ul,
.hireone-blog-app .ho-content ol { padding-left: 24px; margin: 0 0 20px; }

.hireone-blog-app .ho-content li { margin-bottom: 8px; }

.hireone-blog-app .ho-content code {
  background: var(--ho-surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--ho-text);
}

.hireone-blog-app .ho-content pre {
  background: #0a0d14;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid var(--ho-border);
}

.hireone-blog-app .ho-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ── Responsive breakpoints ── */

/* Desktop: 3-col */
@media (min-width: 1024px) {
  .hireone-blog-app .ho-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* Tablet: 2-col */
@media (min-width: 641px) and (max-width: 1023px) {
  .hireone-blog-app .ho-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hireone-blog-app .ho-inner {
    padding: 0 24px 48px;
  }
}

/* Mobile: 1-col */
@media (max-width: 640px) {
  .hireone-blog-app .ho-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hireone-blog-app .ho-inner {
    padding: 0 16px 40px;
  }

  .hireone-blog-app .ho-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 16px;
  }

  .hireone-blog-app .ho-search {
    max-width: none;
  }

  .hireone-blog-app .ho-hero {
    padding: 48px 16px 36px;
  }

  .hireone-blog-app .ho-hero__title {
    font-size: 28px;
  }

  .hireone-blog-app .ho-hero__subtitle {
    font-size: 14px;
  }

  .hireone-blog-app .ho-card__body {
    padding: 16px;
  }

  .hireone-blog-app .ho-pagination {
    gap: 4px;
  }

  .hireone-blog-app .ho-pagination .ho-page-prev,
  .hireone-blog-app .ho-pagination .ho-page-next {
    padding: 0 12px;
    font-size: 12px;
  }

  .hireone-blog-app .ho-pagination .ho-page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ── Post detail overlay ── */
.hireone-blog-app .ho-detail-overlay {
  position: fixed;
  inset: 0;
  background: var(--ho-bg);
  overflow-y: auto;
  z-index: 9999;
  padding: 40px 20px 80px;
}

.hireone-blog-app .ho-detail-overlay .ho-detail {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Font overrides ── */
.hireone-blog-app h1,
.hireone-blog-app h2,
.hireone-blog-app h3,
.hireone-blog-app h4,
.hireone-blog-app .ho-hero__title,
.hireone-blog-app .ho-card__title,
.hireone-blog-app .ho-featured__title,
.hireone-blog-app .ho-detail h1,
.hireone-blog-app .ho-newsletter__title {
  font-family: var(--ho-font-heading);
}
