/* ============================================================
   ParkingUnit · Redesign · Content pages
   blog · blog-post · help (napoveda) · page (long-form FAQ)
   ============================================================ */

/* --- Blog list (mockup BlogListPage) --- */
.blog-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 28px;
}
.cat-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pu-line);
  background: var(--pu-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--pu-ink-2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-pill:hover {
  border-color: var(--pu-accent);
  color: var(--pu-accent-2);
}
.cat-pill.active {
  background: var(--pu-accent);
  color: #fff;
  border-color: var(--pu-accent);
}
.cat-pill .ct {
  font-family: var(--pu-f-mono);
  font-size: 11px;
  opacity: .7;
}
.cat-pill.active .ct { opacity: .9; }

.cat-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--pu-accent-soft);
  color: var(--pu-accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.blog-feature:hover {
  border-color: var(--pu-accent);
  box-shadow: var(--pu-shadow-1);
}
.bf-photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg,
              color-mix(in oklab, var(--pu-accent) 10%, var(--pu-bg-alt)),
              var(--pu-bg-alt));
  position: relative;
  overflow: hidden;
}
.bf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-body {
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.bf-body h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
.bf-body h2 a { color: var(--pu-ink); text-decoration: none; }
.bf-body h2 a:hover { color: var(--pu-accent-2); }
.bf-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pu-ink-2);
}
.bf-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  flex-wrap: wrap; gap: 14px;
  padding-top: 6px;
}
.bf-meta .bc-meta-text {
  font-size: 13px;
  color: var(--pu-muted);
}
.bf-cta {
  font-size: 14px;
  color: var(--pu-accent-2);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.bf-cta:hover { color: var(--pu-accent); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: var(--pu-accent);
  transform: translateY(-2px);
  box-shadow: var(--pu-shadow-1);
}
.bc-photo {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg,
              color-mix(in oklab, var(--pu-accent) 8%, var(--pu-bg-alt)),
              var(--pu-bg-alt));
  position: relative;
  overflow: hidden;
}
.bc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-body {
  padding: 20px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bc-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.bc-body h3 a { color: var(--pu-ink); text-decoration: none; }
.bc-body h3 a:hover { color: var(--pu-accent-2); }
.bc-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pu-muted);
}
.bc-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--pu-muted);
  margin-top: auto; padding-top: 10px;
}
.bc-meta .dot { opacity: .5; }

@media (max-width: 960px) {
  .blog-feature { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr 1fr; }
  .bf-body      { padding: 24px; }
}
@media (max-width: 640px) {
  .blog-grid    { grid-template-columns: 1fr; }
  .bf-body h2   { font-size: 22px; }
}

/* --- Legacy blog layout (still used for non-redesign fallbacks) --- */
.pu-blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--pu-sp-8);
  margin-top: var(--pu-sp-6);
}
.pu-blog-side { display: flex; flex-direction: column; gap: var(--pu-sp-6); }
.pu-blog-side__widget {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: var(--pu-sp-5);
}
.pu-blog-side__widget h3 {
  margin: 0 0 var(--pu-sp-3);
  font-size: var(--pu-fs-md);
  font-weight: var(--pu-fw-bold);
}
.pu-blog-side__list { display: flex; flex-direction: column; gap: var(--pu-sp-2); }
.pu-blog-side__list a {
  display: flex;
  justify-content: space-between;
  font-size: var(--pu-fs-sm);
  color: var(--pu-ink-2);
  padding: 4px 0;
}
.pu-blog-side__list a:hover { color: var(--pu-accent-2); }
.pu-blog-side__list a span { color: var(--pu-muted); }

.pu-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pu-sp-2);
  margin-bottom: var(--pu-sp-6);
}
.pu-blog-cat {
  padding: 6px 14px;
  border-radius: var(--pu-radius-pill);
  border: 1px solid var(--pu-line);
  background: var(--pu-card);
  font-size: var(--pu-fs-sm);
  color: var(--pu-ink-2);
  font-weight: var(--pu-fw-medium);
}
.pu-blog-cat:hover, .pu-blog-cat.is-active {
  border-color: var(--pu-accent);
  color: var(--pu-accent-2);
}
.pu-blog-cat.is-active {
  background: var(--pu-accent-soft);
}

.pu-blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--pu-sp-6);
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  overflow: hidden;
  margin-bottom: var(--pu-sp-8);
}
.pu-blog-featured__img {
  background: var(--pu-bg-alt);
  min-height: 280px;
}
.pu-blog-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pu-blog-featured__body {
  padding: var(--pu-sp-6) var(--pu-sp-6) var(--pu-sp-6) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--pu-sp-3);
}
.pu-blog-featured__cat {
  font-family: var(--pu-f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pu-accent-2);
  font-weight: var(--pu-fw-semibold);
}
.pu-blog-featured__title {
  margin: 0;
  font-size: var(--pu-fs-2xl);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pu-blog-featured__title a { color: var(--pu-ink); }
.pu-blog-featured__title a:hover { color: var(--pu-accent-2); }
.pu-blog-featured__excerpt { color: var(--pu-muted); margin: 0; }

.pu-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pu-sp-6);
}

/* --- Blog post (mockup BlogPostPage) --- */
.blog-post { padding: 48px 0 24px; }
.blog-post .crumbs { margin-bottom: 18px; }
.blog-post .cat-tag { display: inline-block; }
.post-h {
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 14px 0;
  text-wrap: balance;
  max-width: 840px;
}
.post-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--pu-ink-2);
  max-width: 740px;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}
.post-meta-date { font-size: 13px; color: var(--pu-muted); }
.share { display: flex; align-items: center; gap: 8px; }
.share-label { font-size: 12px; color: var(--pu-muted); }
.share-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--pu-line);
  display: grid; place-items: center;
  color: var(--pu-ink-2);
  background: var(--pu-card);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.share-btn:hover { border-color: var(--pu-accent); color: var(--pu-accent-2); }

.post-cover {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  margin-bottom: 40px;
  background: linear-gradient(160deg,
              color-mix(in oklab, var(--pu-accent) 12%, var(--pu-bg-alt)),
              var(--pu-bg-alt));
  overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pu-ink-2);
  max-width: 760px;
}
/* Inherit existing pu-article__body article-body typography */
.post-content.pu-article__body { color: var(--pu-ink-2); }
.post-content > p:first-of-type {
  font-size: 19px;
  line-height: 1.55;
  color: var(--pu-ink);
  font-weight: 500;
}

.post-side {
  position: sticky;
  top: 96px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.post-side .ps-card {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: 12px;
  padding: 20px;
  display: block;
}
.post-side .ps-card h4,
.post-side .ps-card .ps-card__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pu-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-side .toc {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: toc;
  display: flex; flex-direction: column;
  gap: 8px;
}
.post-side .toc li {
  counter-increment: toc;
  padding-left: 26px;
  position: relative;
  font-size: 13px;
  line-height: 1.4;
}
.post-side .toc li::before {
  content: "0" counter(toc);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--pu-f-mono);
  font-size: 11px;
  color: var(--pu-accent-2);
  font-weight: 700;
}
.post-side .toc a {
  color: var(--pu-ink-2);
  text-decoration: none;
}
.post-side .toc a:hover { color: var(--pu-accent-2); }
.cta-card p {
  font-size: 13px;
  color: var(--pu-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

@media (max-width: 960px) {
  .post-body { grid-template-columns: 1fr; gap: 24px; }
  .post-side { position: static; flex-direction: row; }
  .post-side .ps-card { flex: 1; }
  .post-cover { aspect-ratio: 16 / 9; }
  /* A grid item defaults to min-width:auto, so the 1fr column refused to shrink
     below the article body's widest content (a comparison table) and ballooned
     to ~480px inside a 390px viewport — body text then ran off the right edge
     (the page can't scroll: html/body are overflow-x:clip). min-width:0 lets the
     column shrink to the viewport; the table keeps its own overflow-x:auto scroll. */
  .post-body > .post-content,
  .post-body > .post-side { min-width: 0; }
}
@media (max-width: 640px) {
  .post-side { flex-direction: column; }
  .post-h { font-size: clamp(26px, 6vw, 34px); }
  .post-lead { font-size: 16px; }
  /* Break long unbreakable strings (URLs, technical terms) instead of overflowing. */
  .post-content, .pu-article__body, .pu-page-content .pu-article__body {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* --- Blog post (single article) [legacy] --- */
.pu-article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--pu-sp-8);
  align-items: flex-start;
  margin-top: var(--pu-sp-6);
}
.pu-article-toc {
  position: sticky;
  top: 92px;
  background: var(--pu-bg-soft);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: var(--pu-sp-4) var(--pu-sp-5);
}
.pu-article-toc h4 {
  margin: 0 0 var(--pu-sp-3);
  font-size: var(--pu-fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pu-muted);
  font-weight: var(--pu-fw-bold);
}
.pu-article-toc ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: var(--pu-sp-2);
}
.pu-article-toc li a {
  font-size: var(--pu-fs-sm);
  color: var(--pu-ink-2);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
.pu-article-toc li a:hover { color: var(--pu-accent-2); }

.pu-article {
  max-width: 760px;
}
.pu-article h1 {
  margin: 0 0 var(--pu-sp-4);
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.pu-article__cover {
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  overflow: hidden;
  margin: var(--pu-sp-4) 0 var(--pu-sp-6);
  aspect-ratio: 16 / 9;
  background: var(--pu-bg-alt);
}
.pu-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.pu-article__meta {
  display: flex;
  gap: var(--pu-sp-3);
  font-size: var(--pu-fs-sm);
  color: var(--pu-muted);
  margin-bottom: var(--pu-sp-4);
}
.pu-article__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pu-ink-2);
}
.pu-article__body h2 {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: var(--pu-sp-8) 0 var(--pu-sp-3);
  color: var(--pu-ink);
}
.pu-article__body h3 {
  font-size: 22px;
  margin: var(--pu-sp-6) 0 var(--pu-sp-2);
  color: var(--pu-ink);
}
.pu-article__body p { margin: 0 0 var(--pu-sp-4); }
.pu-article__body img { border-radius: var(--pu-radius); margin: var(--pu-sp-3) 0; max-width: 100%; }
.pu-article__body a { color: var(--pu-accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.pu-article__body a:hover { color: var(--pu-accent); text-decoration-thickness: 2px; }
.pu-article__body ul, .pu-article__body ol { margin: 0 0 var(--pu-sp-4) var(--pu-sp-6); }
.pu-article__body li { margin-bottom: var(--pu-sp-2); }
.pu-article__body blockquote {
  border-left: 4px solid var(--pu-accent);
  background: var(--pu-accent-soft);
  padding: var(--pu-sp-4) var(--pu-sp-5);
  margin: var(--pu-sp-4) 0;
  border-radius: 0 var(--pu-radius) var(--pu-radius) 0;
  font-style: italic;
}

/* In-article CTA buttons (legacy bootstrap classes from /admin TinyMCE) */
.pu-article__body a.btn,
.pu-article__body a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  margin: var(--pu-sp-3) 0;
  font-weight: var(--pu-fw-bold);
  font-size: var(--pu-fs-md);
  line-height: 1.2;
  color: #fff;
  background: var(--pu-accent);
  border: 1px solid var(--pu-accent);
  border-radius: var(--pu-radius);
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .05s;
}
.pu-article__body a.btn:hover,
.pu-article__body a.btn-primary:hover {
  background: var(--pu-accent-2);
  border-color: var(--pu-accent-2);
  color: #fff;
}
.pu-article__body a.btn:active,
.pu-article__body a.btn-primary:active { transform: translateY(1px); }

/* Inline figures (image + caption) */
.pu-article__body figure {
  margin: var(--pu-sp-6) 0;
}
.pu-article__body figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  margin: 0;
}
.pu-article__body figcaption {
  margin-top: var(--pu-sp-2);
  font-size: var(--pu-fs-sm);
  color: var(--pu-muted);
  text-align: center;
  line-height: 1.5;
}

/* CTA block (sales-pitch paragraph + button) */
.pu-article__body .pu-article-cta {
  background: var(--pu-accent-soft);
  border-left: 4px solid var(--pu-accent);
  border-radius: var(--pu-radius);
  padding: var(--pu-sp-5) var(--pu-sp-6);
  margin: var(--pu-sp-6) 0;
}
.pu-article__body .pu-article-cta p { margin-bottom: var(--pu-sp-3); }
.pu-article__body .pu-article-cta p:last-child { margin-bottom: 0; }
.pu-article__body .pu-article-cta a.btn,
.pu-article__body .pu-article-cta a.btn-primary { margin: 0; }

/* Tables inside article body */
.pu-article__body .table-responsive {
  overflow-x: auto;
  margin: var(--pu-sp-4) 0;
  border-radius: var(--pu-radius);
  border: 1px solid var(--pu-line);
}
.pu-article__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--pu-fs-sm);
  background: var(--pu-card, #fff);
}
.pu-article__body table thead th {
  background: var(--pu-bg-soft);
  color: var(--pu-ink);
  font-weight: var(--pu-fw-bold);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--pu-line);
  white-space: nowrap;
}
.pu-article__body table tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--pu-line);
  color: var(--pu-ink-2);
  vertical-align: top;
}
.pu-article__body table tbody tr:nth-child(odd) td {
  background: var(--pu-bg-alt);
}
.pu-article__body table tbody tr:hover td {
  background: var(--pu-accent-soft);
}
/* DB-authored article tables are usually NOT wrapped in .table-responsive,
   so a wide comparison table (e.g. "Orientační srovnávací tabulka cen")
   overflowed the viewport and the last column got cut off. On narrow screens
   turn the bare table into its own horizontal-scroll container. */
@media (max-width: 700px) {
  .pu-article__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* --- Help / napoveda (mockup HelpPage) --- */
.help-search {
  position: relative;
  margin-top: 24px;
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: 14px;
  padding: 6px 6px 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.18);
  max-width: 680px;
}
.help-search svg { color: var(--pu-muted); flex: none; }
.help-search input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--pu-ink);
  width: 100%;
  min-width: 0;
}
.help-search .cta { flex: none; }

.help-quick {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--pu-ink-2);
}
.help-quick > span { font-weight: 600; }
.help-quick a {
  padding: 5px 12px;
  background: var(--pu-accent-soft);
  border-radius: 999px;
  color: var(--pu-accent-2);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.help-quick a:hover { background: var(--pu-accent); color: #fff; }

.help-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hc-card {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hc-card:hover {
  border-color: var(--pu-accent);
  transform: translateY(-2px);
  box-shadow: var(--pu-shadow-1);
  color: inherit;
}
.hc-card .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--pu-accent-soft);
  color: var(--pu-accent-2);
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.hc-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hc-card p {
  margin: 0;
  color: var(--pu-muted);
  font-size: 13px;
  line-height: 1.5;
}
.hc-card .ct {
  margin-top: auto;
  color: var(--pu-accent-2);
  font-weight: 600;
  font-size: 12px;
  padding-top: 10px;
}

/* When the FAQ body uses block-level content, override the default
   .faq-row p selector with a wrapper that keeps the same paddings. */
.faq-row .faq-row__a {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pu-ink-2);
}
.faq-row .faq-row__a > *:first-child { margin-top: 0; }
.faq-row .faq-row__a > *:last-child  { margin-bottom: 0; }

.help-contact {
  margin-top: 32px;
  background: var(--pu-ink);
  color: #fff;
  border-radius: var(--pu-radius-lg);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.help-contact h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}
.help-contact p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.help-contact .hc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.help-contact .ghost-btn {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.help-contact .ghost-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.32);
  color: #fff;
}

@media (max-width: 960px) {
  .help-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .help-cats { grid-template-columns: 1fr; }
  .help-contact { flex-direction: column; align-items: stretch; text-align: left; }
}

/* --- Legacy help styles (still used by other surfaces) --- */
.pu-help-search {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: var(--pu-sp-4);
  display: flex;
  align-items: center;
  gap: var(--pu-sp-3);
  margin-bottom: var(--pu-sp-8);
  box-shadow: var(--pu-shadow-1);
}
.pu-help-search > svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--pu-muted);
}
.pu-help-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: var(--pu-fs-md);
  color: var(--pu-ink);
}
.pu-help-search .pu-btn { flex: none; }
.pu-help-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pu-sp-4);
  margin-bottom: var(--pu-sp-8);
}
.pu-help-tile {
  background: var(--pu-card);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: var(--pu-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--pu-sp-2);
  color: var(--pu-ink);
  transition: border-color .15s, transform .15s;
}
.pu-help-tile:hover { border-color: var(--pu-accent); transform: translateY(-2px); color: var(--pu-ink); }
.pu-help-tile__ic {
  width: 48px; height: 48px;
  border-radius: var(--pu-radius);
  background: var(--pu-accent-soft);
  color: var(--pu-accent-2);
  display: grid; place-items: center;
  margin-bottom: var(--pu-sp-2);
}
.pu-help-tile__ic svg { width: 22px; height: 22px; }
.pu-help-tile h3 { margin: 0; font-size: var(--pu-fs-md); font-weight: var(--pu-fw-bold); }
.pu-help-tile p { margin: 0; font-size: var(--pu-fs-sm); color: var(--pu-muted); }

/* --- Page (long-form FAQ / static content) --- */
.pu-static-page { padding: var(--pu-sp-10) 0 var(--pu-sp-12); }
.pu-static-page .pu-breadcrumb { margin-bottom: var(--pu-sp-6); }
.pu-page-content {
  max-width: 800px;
  margin: var(--pu-sp-6) auto 0;
}
.pu-page-content h1 {
  margin: 0 0 var(--pu-sp-4);
  font-size: clamp(28px, 3vw, 40px);
}
.pu-page-content .pu-article__body { /* reuse same long-form styles */ }

/* --- Help: static pages grid --- */
.pu-help-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pu-sp-3);
}
.pu-help-page {
  display: flex;
  align-items: flex-start;
  gap: var(--pu-sp-3);
  background: var(--pu-bg-soft);
  border: 1px solid var(--pu-line);
  border-radius: var(--pu-radius-lg);
  padding: var(--pu-sp-4);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pu-help-page:hover {
  border-color: var(--pu-accent, #E5524F);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.pu-help-page__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pu-accent-soft, rgba(229,82,79,.1));
  color: var(--pu-accent, #E5524F);
  flex: none;
}
.pu-help-page__ic svg { width: 20px; height: 20px; }
.pu-help-page__title {
  margin: 0 0 4px;
  font-size: var(--pu-fs-md);
  font-weight: var(--pu-fw-semibold);
  color: var(--pu-ink);
}
.pu-help-page__excerpt {
  margin: 0;
  font-size: var(--pu-fs-sm);
  color: var(--pu-muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .pu-blog-layout    { grid-template-columns: 1fr; }
  .pu-blog-featured  { grid-template-columns: 1fr; }
  .pu-blog-featured__body { padding: var(--pu-sp-6); }
  .pu-blog-grid      { grid-template-columns: 1fr; }
  .pu-article-layout { grid-template-columns: 1fr; }
  .pu-article-toc    { position: static; }
  .pu-help-tiles     { grid-template-columns: 1fr; }
  .pu-help-pages     { grid-template-columns: 1fr; }
}
