/*
Theme Name: Pinboard Journal
Theme URI: https://example.invalid/pinboard-journal
Author: The Crochet Journal
Description: A colourful, Pinterest-style theme for step-by-step tutorial sites. Masonry pin boards with Save buttons, a category mega menu, a mobile drawer, a rich homepage and tutorial pages with step lists, quick facts and photo viewer. Brand, colours and homepage text are editable in Customize → Pinboard Journal. Compatible with The Crochet Journal article markup (cj-* classes).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: pinboard-journal
Tags: blog, grid-layout, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Design tokens — change colours here or in Customize → Brand & colours
   ========================================================================== */
:root {
  --pj-accent: #D62F63;          /* buttons, Save, highlights (overridden by Customizer) */
  --pj-ink: #2A1A33;             /* headings, dark bands, footer */
  --pj-ground: #FFF9F3;          /* page background */
  --pj-text: #3A2C42;
  --pj-muted: #4A3B52;
  --pj-soft-text: #6B5C72;
  --pj-line: #F1E4DA;
  --pj-line-strong: #E7D7CB;
  --pj-white: #FFFFFF;
  --pj-butter: #FFE89A;
  --pj-butter-strong: #FFC93C;
  --pj-pink: #FFD6E3;
  --pj-lilac: #E3DAFF;
  --pj-mint: #C9F0DE;
  --pj-peach: #FFD9C7;
  --pj-sky: #D4E9FF;
  --pj-display: "Fraunces", Georgia, "Times New Roman", serif;
  --pj-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pj-radius: 24px;
  --pj-radius-sm: 16px;
  --pj-wrap: 1280px;
  --pj-gutter: clamp(16px, 3vw, 24px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
html.pj-no-scroll { overflow: hidden; }
body { margin: 0; background: var(--pj-ground); color: var(--pj-text); font: 17px/1.65 var(--pj-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--pj-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--pj-accent); }
h1, h2, h3, h4 { color: var(--pj-ink); line-height: 1.15; margin: 0; }
h1, h2 { font-family: var(--pj-display); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pj-accent); outline-offset: 3px; border-radius: 6px; }
mark { background: var(--pj-butter); color: inherit; border-radius: 14px; padding: 0 .18em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--pj-ink); color: #fff; padding: 12px 20px; border-radius: 999px; }
.pj-wrap { width: 100%; max-width: var(--pj-wrap); margin: 0 auto; padding-inline: var(--pj-gutter); }
.pj-narrow { max-width: 900px; }
.pj-section { padding-block: clamp(48px, 7vw, 80px); }
.pj-band { padding-block: clamp(56px, 8vw, 88px); }
.pj-band--white { background: var(--pj-white); border-block: 1px solid var(--pj-line); }
.pj-center { display: flex; justify-content: center; margin-top: 40px; }
.pj-center-title { text-align: center; margin-bottom: 28px; }
.pj-icon { flex-shrink: 0; }

/* ==========================================================================
   3. Shared components: buttons, chips, kickers, section heads
   ========================================================================== */
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.pj-btn:hover { transform: translateY(-1px); }
.pj-btn--dark { background: var(--pj-ink); color: #fff; }
.pj-btn--dark:hover { color: #fff; background: #000; }
.pj-btn--accent { background: var(--pj-accent); color: #fff; }
.pj-btn--accent:hover { color: #fff; filter: brightness(.92); }
.pj-btn--outline { background: #fff; color: var(--pj-ink); border-color: var(--pj-ink); }
.pj-btn--butter { background: var(--pj-butter); color: var(--pj-ink); }
.pj-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pj-badge { align-self: flex-start; background: var(--pj-mint); color: #0E5E4F; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.pj-kicker { margin: 0 0 6px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #B8204F; }
.pj-chip { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 800; line-height: 1.3; padding: 5px 11px; border-radius: 999px; background: var(--chip, var(--pj-peach)); color: var(--pj-ink); text-decoration: none; }
a.pj-chip:hover { color: var(--pj-ink); filter: brightness(.96); }
.pj-chip--white { --chip: #fff; }
.pj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; border-radius: 999px; background: var(--chip, #F6EFE9); color: var(--pj-ink); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pj-pill:hover { color: var(--pj-ink); filter: brightness(.95); }
.pj-pill.is-current { box-shadow: inset 0 0 0 2px var(--pj-ink); }
.pj-pill--dark { background: var(--pj-ink); color: #fff; }
.pj-pill--dark:hover { color: #fff; }
.pj-count { font-weight: 700; opacity: .75; }
.pj-section-head { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.pj-section-sub { margin: 8px 0 0; color: var(--pj-muted); max-width: 560px; }
.pj-more { font-weight: 800; }
.pj-intro { max-width: 720px; margin-bottom: 36px; }
.pj-intro h2 { margin-bottom: 12px; }
.pj-intro p:last-child { color: var(--pj-muted); margin: 0; }
.pj-intro--center { margin-inline: auto; text-align: center; max-width: 760px; }
.pj-lead { font-size: 20px; line-height: 1.6; color: var(--pj-muted); max-width: 620px; }
.pj-icon-tile { width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--pj-ink); flex-shrink: 0; }
.pj-grid-3, .pj-grid-4 { display: grid; gap: 20px; }
.pj-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pj-grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pj-info-card { border-radius: var(--pj-radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pj-info-card h3 { font-size: 22px; }
.pj-info-card p { margin: 0; font-size: 15px; color: var(--pj-muted); }
.pj-info-card .pj-best { font-size: 14px; font-weight: 800; }
.pj-info-card--outline { background: #fff; border: 1.5px solid var(--pj-line); }
.pj-big-num { font-family: var(--pj-display); font-size: 40px; font-weight: 700; line-height: 1; }

/* ==========================================================================
   4. Header, announcement, ribbon, mega menu, drawer
   ========================================================================== */
.pj-announce { background: var(--pj-ink); color: #FFF3E6; font-size: 14px; font-weight: 700; }
.pj-announce .pj-wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; align-items: center; text-align: center; padding-block: 10px; }
.pj-announce a { color: var(--pj-butter-strong); }
.pj-header { background: #fff; border-bottom: 1px solid var(--pj-line); position: relative; z-index: 40; }
.pj-header-row { display: flex; align-items: center; gap: 16px 28px; padding-block: 16px; }
.pj-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pj-ink); flex-shrink: 0; }
.pj-brand:hover { color: var(--pj-ink); }
.pj-logo-mark { width: 48px; height: 48px; border-radius: 999px; background: var(--pj-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pj-logo-img { width: 48px; height: 48px; object-fit: contain; }
.pj-brand-name { font-family: var(--pj-display); font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.pj-brand-name em { color: var(--pj-accent); }
.pj-nav { display: flex; align-items: center; gap: 2px; font-weight: 800; font-size: 16px; }
.pj-nav-trigger, .pj-menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 999px; text-decoration: none; color: var(--pj-ink); background: none; border: 0; font-weight: 800; }
.pj-nav-trigger { background: #FFE3EC; }
.pj-nav-trigger[aria-expanded="true"] { background: var(--pj-ink); color: #fff; }
.pj-nav-trigger[aria-expanded="true"] .pj-icon { transform: rotate(180deg); }
.pj-menu > li > a:hover { background: #F6EFE9; color: var(--pj-ink); }
.pj-menu, .pj-menu ul { list-style: none; margin: 0; padding: 0; }
.pj-menu { display: flex; align-items: center; gap: 2px; }
.pj-menu > li { position: relative; display: flex; align-items: center; }
.pj-sub-toggle { border: 0; background: none; padding: 8px 6px; margin-left: -10px; border-radius: 999px; color: var(--pj-ink); }
.pj-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(42, 26, 51, .16); padding: 8px; display: none; z-index: 50; }
.pj-menu li:hover > .sub-menu, .pj-menu li:focus-within > .sub-menu, .pj-menu li.is-open > .sub-menu { display: block; }
.pj-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.pj-menu .sub-menu a:hover { background: #F6EFE9; color: var(--pj-ink); }
.pj-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pj-search { display: flex; align-items: center; gap: 8px; background: #F6EFE9; border-radius: 999px; padding: 0 16px; color: var(--pj-soft-text); min-height: 46px; }
.pj-search input { border: 0; background: transparent; width: 180px; min-width: 0; padding: 10px 0; font-size: 15px; color: var(--pj-ink); }
.pj-search input::placeholder { color: var(--pj-soft-text); opacity: 1; }
.pj-search input:focus { outline: none; }
.pj-search:focus-within { box-shadow: 0 0 0 3px var(--pj-accent); }
.pj-follow { min-height: 46px; padding-inline: 18px; font-size: 15px; }
.pj-burger, .pj-icon-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: #F6EFE9; color: var(--pj-ink); align-items: center; justify-content: center; }
.pj-icon-btn { display: inline-flex; }
.pj-ribbon { border-top: 1px solid var(--pj-line); }
.pj-ribbon-row { display: flex; gap: 10px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.pj-ribbon-row--wrap { flex-wrap: wrap; overflow: visible; padding-block: 16px 0; }

.pj-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding-top: 10px; }
.pj-mega[hidden] { display: none; }
.pj-mega-panel { background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(42, 26, 51, .2); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 32px; }
.pj-mega-panel > * { flex: 1 1 0; min-width: 0; }
.pj-mega-panel > .pj-mega-col--cats { flex-grow: 1.3; }
.pj-mega-title { font-family: var(--pj-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-soft-text); margin: 0 0 14px; font-weight: 800; }
.pj-mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pj-mega-col--cats a { display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 16px; text-decoration: none; color: var(--pj-ink); }
.pj-mega-col--cats a:hover { background: var(--soft); color: var(--pj-ink); }
.pj-swatch { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; }
.pj-mega-cat { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pj-mega-cat strong { font-size: 16px; }
.pj-mega-cat span { font-size: 13px; color: var(--pj-muted); font-weight: 600; }
.pj-mega-links { gap: 12px !important; font-size: 16px; font-weight: 700; }
.pj-mega-links a { text-decoration: none; }
.pj-mega-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pj-mega-posts a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--pj-ink); font-weight: 700; font-size: 15px; line-height: 1.3; }
.pj-mega-posts img { width: 56px; height: 72px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.pj-mega-feature { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 360px; text-decoration: none; color: var(--pj-ink); background: var(--pj-peach); }
.pj-mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-mega-feature-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--pj-butter); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 14px; }
.pj-mega-feature-card .pj-kicker { color: var(--pj-ink); font-size: 12px; margin: 0; }
.pj-mega-feature-card strong { font-family: var(--pj-display); font-size: 22px; line-height: 1.15; }
.pj-mega-foot { flex: 1 1 100% !important; display: flex; justify-content: flex-end; border-top: 1px solid var(--pj-line); padding-top: 16px; }

.pj-drawer { position: fixed; inset: 0; z-index: 100; }
.pj-drawer[hidden] { display: none; }
.pj-drawer-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 51, .45); }
.pj-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--pj-ground); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.pj-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--pj-line); }
.pj-drawer-head .pj-brand-name { font-size: 21px; }
.pj-drawer-head .pj-logo-mark { width: 40px; height: 40px; }
.pj-drawer-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.pj-drawer-body .pj-search { background: #fff; border: 1.5px solid var(--pj-line-strong); }
.pj-drawer-body .pj-search input { width: 100%; }
.pj-drawer-body .pj-mega-title { margin: 0; }
.pj-drawer-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pj-drawer-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--pj-ink); line-height: 1.25; }
.pj-drawer-tiles strong { font-size: 15px; }
.pj-drawer-tiles span { font-size: 13px; color: var(--pj-muted); font-weight: 600; }
.pj-drawer-nav { background: #fff; border-radius: 20px; padding: 4px 16px; }
.pj-drawer-nav .pj-menu { flex-direction: column; align-items: stretch; gap: 0; }
.pj-drawer-nav .pj-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--pj-line); }
.pj-drawer-nav .pj-menu > li:last-child { border-bottom: 0; }
.pj-drawer-nav .pj-menu > li > a { flex: 1; padding: 14px 0; border-radius: 0; font-size: 17px; }
.pj-drawer-nav .pj-menu > li > a:hover { background: none; }
.pj-drawer-nav .sub-menu { position: static; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; width: 100%; }
.pj-drawer-nav .pj-sub-toggle { margin: 0; }
.pj-drawer-foot { display: flex; gap: 10px; padding: 14px 16px; background: #fff; border-top: 1px solid var(--pj-line); }
.pj-drawer-foot .pj-btn { flex: 1; }

/* ==========================================================================
   5. Pin cards & boards (masonry)
   ========================================================================== */
.pj-board { columns: 5 210px; column-gap: 20px; }
.pj-card { break-inside: avoid; display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.pj-card[hidden] { display: none; }
.pj-card-media { position: relative; border-radius: 20px; overflow: hidden; background: #F3E9E1; }
.pj-card-media > a:not(.pj-save) { display: block; height: 100%; }
.pj-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pj-card:hover .pj-card-media img { transform: scale(1.03); }
.pj-card-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--pj-accent); }
.pj-card-title { font-family: var(--pj-body); font-size: 16px; line-height: 1.3; font-weight: 800; }
.pj-card-title a { text-decoration: none; }
.pj-card-title a:hover { text-decoration: underline; }
.pj-card-excerpt { font-size: 14px; color: var(--pj-muted); margin: 0; }
.pj-save { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--pj-accent); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 14px; line-height: 1; padding: 11px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.pj-card:hover .pj-save, .pj-has-save:hover .pj-save, .pj-article-hero:hover .pj-save, .pj-save:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .pj-save { opacity: 1; transform: none; } }
.pj-save--lg { top: 18px; right: 18px; font-size: 15px; padding: 13px 20px; opacity: 1; transform: none; }
.pj-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-filter { border: 0; background: #F6EFE9; color: var(--pj-ink); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px; min-height: 44px; }
.pj-filter.is-active { background: var(--pj-ink); color: #fff; }

/* ==========================================================================
   6. Homepage sections
   ========================================================================== */
.pj-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: clamp(40px, 6vw, 72px) 48px; }
.pj-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pj-hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.02em; }
.pj-hero h1 em { color: var(--pj-accent); }
.pj-hero .pj-lead { margin: 0; }
.pj-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; }
.pj-popular span { font-weight: 800; color: var(--pj-soft-text); margin-right: 2px; }
.pj-popular a { padding: 6px 13px; border: 1.5px solid var(--pj-line-strong); border-radius: 999px; text-decoration: none; font-weight: 700; }
.pj-popular a:hover { border-color: var(--pj-ink); color: var(--pj-ink); }
.pj-collage { flex: 1 1 520px; min-width: 0; display: flex; gap: 16px; align-items: flex-start; }
.pj-collage-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pj-collage-col--offset { padding-top: 56px; }
.pj-collage-img { display: block; border-radius: var(--pj-radius); overflow: hidden; }
.pj-collage-img img { width: 100%; height: 100%; object-fit: cover; }
.pj-stat { border-radius: var(--pj-radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.pj-stat strong { font-family: var(--pj-display); font-size: 34px; line-height: 1; color: var(--pj-ink); }
.pj-stat span { font-size: 14px; font-weight: 700; color: var(--pj-muted); line-height: 1.35; }
.pj-trust { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 56px; }
.pj-trust-item { flex: 1 1 260px; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid var(--pj-line); border-radius: 20px; padding: 20px; }
.pj-trust-item strong { display: block; font-size: 17px; color: var(--pj-ink); }
.pj-trust-item span { font-size: 15px; color: var(--pj-muted); }
.pj-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.pj-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; padding: 20px 12px; border-radius: var(--pj-radius); background: var(--soft); color: var(--pj-ink); transition: transform .15s ease; }
.pj-cat-tile:hover { transform: translateY(-3px); color: var(--pj-ink); }
.pj-cat-img { width: 128px; height: 128px; border-radius: 999px; border: 5px solid var(--ring); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--pj-accent); }
.pj-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.pj-cat-tile strong { font-size: 17px; line-height: 1.25; }
.pj-cat-tile > span:last-child { font-size: 14px; color: var(--pj-muted); line-height: 1.4; }
.pj-split { display: flex; flex-wrap: wrap; gap: 48px; }
.pj-split-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pj-split-copy p { margin: 0; }
.pj-h2-lg { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.05; }
.pj-start-steps { flex: 1.4 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pj-start-steps li { background: #fff; border-radius: var(--pj-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pj-start-steps p { margin: 0; font-size: 15px; color: var(--pj-muted); }
.pj-num { width: 44px; height: 44px; border-radius: 999px; color: #fff; font-family: var(--pj-display); font-weight: 700; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
.pj-collection { border-radius: 32px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.pj-collection-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pj-collection-copy p { margin: 0; color: var(--pj-text); }
.pj-collection-pins { flex: 1.3 1 460px; min-width: 0; display: flex; gap: 16px; align-items: flex-end; }
.pj-collection-pins a { flex: 1 1 0; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.3; }
.pj-collection-pins a > span { display: block; border-radius: 20px; overflow: hidden; }
.pj-collection-pins img { width: 100%; height: 100%; object-fit: cover; }
.pj-spotlight { display: flex; flex-wrap: wrap; gap: 20px; }
.pj-spot-big { flex: 1.4 1 420px; min-width: 0; position: relative; display: block; border-radius: 28px; overflow: hidden; min-height: 520px; color: var(--pj-ink); text-decoration: none; }
.pj-spot-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-spot-card { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--pj-muted); }
.pj-spot-card strong { font-family: var(--pj-display); font-size: 26px; line-height: 1.15; color: var(--pj-ink); }
.pj-spot-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pj-spot-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1.5px solid var(--pj-line); border-radius: var(--pj-radius); padding: 14px; text-decoration: none; color: var(--pj-ink); }
.pj-spot-item img { width: 110px; height: 140px; object-fit: cover; border-radius: 16px; flex-shrink: 0; }
.pj-spot-item strong { display: block; font-size: 18px; line-height: 1.3; }
.pj-spot-item span span { font-size: 15px; color: var(--pj-muted); }
.pj-table-card { flex: 1.3 1 520px; min-width: 0; background: #fff; border-radius: 28px; padding: 8px 24px; overflow-x: auto; }
.pj-table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: 16px; }
.pj-table th { text-align: left; color: #4B2FA6; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 16px 8px 12px; }
.pj-table td { padding: 12px 8px; border-top: 1px solid #EEE8FB; }
.pj-table td:last-child { color: var(--pj-muted); }
.pj-news-boards { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 0; }
.pj-newsletter { flex: 1 1 420px; min-width: 0; background: var(--pj-ink); color: #FFF3E6; border-radius: 32px; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.pj-newsletter h2 { color: #fff; font-size: clamp(30px, 3.4vw, 40px); }
.pj-newsletter p { margin: 0; color: #DCCFE3; }
.pj-newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pj-newsletter-form input { flex: 1 1 200px; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 0; background: #fff; color: var(--pj-ink); min-height: 50px; }
.pj-newsletter-form button { border: 0; padding: 14px 26px; border-radius: 999px; background: var(--pj-butter-strong); color: var(--pj-ink); font-weight: 800; min-height: 50px; }
.pj-boards { flex: 1.2 1 480px; min-width: 0; background: var(--pj-pink); border-radius: 32px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.pj-news-boards--solo .pj-boards { flex-basis: 100%; }
.pj-boards-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.pj-boards-head h2 { font-size: 32px; }
.pj-board-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.pj-board-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--pj-ink); }
.pj-board-tile strong { font-size: 16px; margin-top: 4px; }
.pj-board-tile > span:last-child { font-size: 13px; color: #4F3340; }
.pj-board-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(70px, 8vw, 120px)); gap: 3px; border-radius: 18px; overflow: hidden; background: #fff; }
.pj-board-imgs img { width: 100%; height: 100%; object-fit: cover; }
.pj-board-imgs img:first-child { grid-row: span 2; }
.pj-faq { display: flex; flex-direction: column; gap: 12px; }
.pj-faq details { background: var(--pj-ground); border-radius: 20px; padding: 20px 24px; }
.pj-faq summary { cursor: pointer; font-weight: 800; font-size: 18px; color: var(--pj-ink); }
.pj-faq details p { margin: 12px 0 0; color: var(--pj-muted); }

/* ==========================================================================
   7. Archive & page headers
   ========================================================================== */
.pj-archive-header { background: var(--band); padding-block: 28px 44px; }
.pj-archive-header h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 12px; }
.pj-archive-header .pj-lead { margin: 14px 0 0; }
.pj-count-line { margin: 12px 0 0; font-weight: 800; color: var(--pj-muted); }
.pj-breadcrumbs { font-size: 14px; font-weight: 700; color: var(--pj-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pj-breadcrumbs a { color: var(--pj-muted); text-decoration: none; }
.pj-breadcrumbs a:hover { color: var(--pj-ink); text-decoration: underline; }
.pj-breadcrumbs [aria-current] { color: var(--pj-ink); }
.pj-sep { color: #9A8AA0; margin: 0 6px; }
.pj-pagination { margin-top: 24px; }
.pj-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pj-pagination .page-numbers { min-width: 46px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--pj-line-strong); text-decoration: none; font-weight: 800; }
.pj-pagination .page-numbers.current { background: var(--pj-ink); color: #fff; border-color: var(--pj-ink); }
.pj-empty { text-align: center; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pj-empty .pj-search { width: 100%; max-width: 420px; background: #fff; border: 1.5px solid var(--pj-line-strong); }
.pj-empty .pj-search input { width: 100%; }
.pj-404 { max-width: var(--pj-wrap); }
.pj-404 h1 { font-size: clamp(40px, 6vw, 64px); }
.pj-404 .pj-board { margin-top: 24px; text-align: left; width: 100%; }

/* ==========================================================================
   8. Tutorial page
   ========================================================================== */
.pj-article-header { background: var(--band); padding-block: 28px 56px; }
.pj-article-header-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 28px; }
.pj-article-heading { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pj-article-heading h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; }
.pj-deck { font-size: 20px; line-height: 1.6; color: var(--pj-muted); margin: 0; }
.pj-byline { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 700; color: var(--pj-muted); margin: 0; }
.pj-facts { margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pj-facts div { background: #fff; border-radius: 18px; padding: 14px 16px; }
.pj-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pj-soft-text); }
.pj-facts dd { margin: 4px 0 0; font-weight: 800; font-size: 17px; color: var(--pj-ink); line-height: 1.3; }
.pj-article-hero { flex: 1 1 340px; min-width: 0; max-width: 520px; position: relative; }
.pj-article-hero img { width: 100%; aspect-ratio: 2 / 3; max-height: 680px; object-fit: cover; border-radius: 32px; }
.pj-article-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 56px 32px; }
.pj-article-layout > .pj-entry { flex: 999 1 560px; min-width: 0; max-width: 800px; }
.pj-sidebar { flex: 1 1 280px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; }
.pj-side-title { font-family: var(--pj-body); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-soft-text); margin: 0 0 12px; }
.pj-toc, .pj-side-card { background: #fff; border: 1.5px solid var(--pj-line); border-radius: var(--pj-radius); padding: 22px; }
.pj-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pj-toc a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.3; }
.pj-toc a:hover, .pj-toc a.is-current { background: #FFE3EC; color: var(--pj-ink); }
.pj-toc-num { width: 26px; height: 26px; border-radius: 99px; background: #F1E4DA; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pj-toc a.is-current .pj-toc-num { background: var(--pj-accent); color: #fff; }
.pj-side-news { background: var(--pj-ink); color: #FFF3E6; border-radius: var(--pj-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pj-side-news strong { font-family: var(--pj-display); font-size: 21px; line-height: 1.2; color: #fff; }
.pj-side-news > span { font-size: 15px; color: #DCCFE3; }
.pj-side-news .pj-newsletter-form { flex-direction: column; }
.pj-side-news .pj-newsletter-form input { flex: none; }
.pj-side-widgets { display: flex; flex-direction: column; gap: 16px; }
.pj-widget { background: #fff; border: 1.5px solid var(--pj-line); border-radius: var(--pj-radius); padding: 20px; font-size: 15px; }
.pj-widget h2, .pj-widget .wp-block-heading { font-family: var(--pj-body); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-soft-text); margin: 0 0 10px; }
.pj-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pj-widget a { text-decoration: none; font-weight: 700; }
.pj-widget input[type=search] { width: 100%; min-height: 44px; border: 1.5px solid var(--pj-line-strong); border-radius: 999px; padding: 8px 16px; }
.pj-widget .wp-block-search__button { border: 0; border-radius: 999px; background: var(--pj-ink); color: #fff; padding: 10px 18px; font-weight: 800; }
.pj-in-content { margin: 0; }
.pj-in-content { margin-block: 28px; text-align: center; }
.pj-widget-title { font-family: var(--pj-body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--pj-soft-text); margin-bottom: 8px; }
.pj-save-band { margin-top: 48px; background: var(--pj-pink); border-radius: 32px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.pj-save-band-img { flex: 0 0 200px; width: 200px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 20px; }
.pj-save-band > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.pj-save-band h2 { font-size: 32px; margin: 0 !important; }
.pj-save-band p { margin: 0 !important; color: #4F3340; }
.pj-related { padding-top: 24px; }

/* ---------- 8b. Article body typography & cj-* components ---------- */
.pj-entry { font-size: 18px; line-height: 1.75; }
.pj-entry > * + * { margin-top: 1.1em; }
:where(.pj-entry p) { margin: 0; }
.pj-entry > p:first-child { font-size: 21px; line-height: 1.65; color: var(--pj-ink); }
.pj-entry h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 1.6em 0 .2em; }
.pj-entry h3 { font-size: 22px; }
.pj-entry ul, .pj-entry ol { padding-left: 1.3em; }
.pj-entry li + li { margin-top: .4em; }
.pj-entry > ul:not([class]) { list-style: none; padding: 22px 26px; background: #fff; border: 2px solid var(--pj-peach); border-radius: var(--pj-radius); }
.pj-entry > ul:not([class]) li { position: relative; padding-left: 22px; }
.pj-entry > ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 99px; background: #E2622B; }
.pj-entry img { border-radius: 20px; }
.pj-entry figure figcaption, .pj-entry .wp-caption-text { margin-top: 10px; font-size: 14px; color: var(--pj-soft-text); line-height: 1.5; }
.pj-entry a { color: #B8204F; }
.pj-entry a:hover { color: var(--pj-ink); }
.pj-entry a.pj-btn--accent, .pj-entry a.pj-btn--dark, .pj-entry a.pj-btn--accent:hover, .pj-entry a.pj-btn--dark:hover { color: #fff; }
.pj-entry a.pj-btn--outline { color: var(--pj-ink); }
.pj-entry a.pj-btn { text-decoration: none; }
.pj-table-wrap { background: #fff; border-radius: 18px; overflow-x: auto; margin: 0 0 1.5em; }
.pj-entry table, .cj-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; margin: 0; }
.pj-entry th, .pj-entry td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--pj-line); vertical-align: top; }
.pj-entry th { background: var(--pj-lilac); font-size: 14px; color: var(--pj-ink); }
.pj-intro-dup { display: none; }
.pj-entry > .pj-intro-dup + * { margin-top: 0; }
.cj-quick-facts { display: none; } /* shown in the article header instead */
.cj-callout { background: var(--pj-butter); border-radius: var(--pj-radius); padding: 22px 26px 22px 72px; position: relative; font-size: 17px; line-height: 1.6; color: #3D2E1A; }
.cj-callout::before { content: "!"; position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 99px; background: #fff; color: var(--pj-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--pj-display); }
.cj-callout strong { color: var(--pj-ink); }
.cj-pin { position: relative; max-width: 420px; margin-inline: auto; }
.cj-pin img { width: 100%; border-radius: 24px; }
.cj-pin figcaption { text-align: center; }
/* Numbered steps — works for new spread-out steps (li.cj-step) and older steps (li > strong) */
.cj-steps { list-style: none; padding: 0 !important; counter-reset: pj-step; display: flex; flex-direction: column; gap: 22px; }
.cj-steps > li { counter-increment: pj-step; position: relative; background: #fff; border: 1.5px solid var(--pj-line); border-radius: 28px; padding: 26px 26px 26px 88px; margin: 0 !important; }
.cj-steps > li::before { content: counter(pj-step); position: absolute; left: 24px; top: 22px; width: 46px; height: 46px; border-radius: 999px; background: var(--pj-accent); color: #fff; font-family: var(--pj-display); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.cj-steps > li:nth-child(5n+2)::before { background: #0E8F7A; }
.cj-steps > li:nth-child(5n+3)::before { background: #7B5CE0; }
.cj-steps > li:nth-child(5n+4)::before { background: #C2501E; }
.cj-steps > li:nth-child(5n+5)::before { background: #2F6FB8; }
.cj-steps > li > h3 { margin: 8px 0 14px; font-size: 23px; }
.cj-steps > li > strong:first-child { display: block; font-size: 19px; color: var(--pj-ink); margin: 8px 0 6px; }
.cj-steps > li p + p { margin-top: .8em; }
.cj-steps > li > figure, .cj-steps > li .cj-instruction { margin-top: 16px; }
.cj-substep { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.cj-substep + .cj-substep { border-top: 1.5px dashed var(--pj-line); margin-top: 16px; }
.cj-step-photo, figure.cj-instruction { position: relative; }
.cj-step-photo img, .cj-instruction img { width: 100%; border-radius: 18px; background: #F3E9E1; }
.cj-counts { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cj-counts li { margin: 0 !important; background: var(--pj-mint); color: #0B4A3E; font-size: 14px; font-weight: 800; line-height: 1.35; padding: 6px 12px; border-radius: 999px; }
.cj-panel-reference { font-size: 14px; margin-top: 8px !important; }
.cj-collage { margin-top: 16px; }
.cj-checklist { list-style: none; padding: 26px !important; background: #EAFAF2; border-radius: 28px; display: flex; flex-direction: column; gap: 10px; }
.cj-checklist li { margin: 0 !important; }
.cj-checklist label { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px; cursor: pointer; font-size: 17px; line-height: 1.5; }
.cj-checklist input { width: 22px; height: 22px; accent-color: #0E8F7A; flex-shrink: 0; }
.cj-checklist li:not(:has(label)) { position: relative; background: #fff; border-radius: 16px; padding: 12px 16px 12px 50px; font-size: 17px; line-height: 1.5; }
.cj-checklist li:not(:has(label))::before { content: ""; position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #0E8F7A; }
.cj-credit { display: flex; gap: 10px; align-items: center; background: #fff; border: 1.5px dashed var(--pj-peach); border-radius: 18px; padding: 14px 18px; font-size: 16px; }
.cj-credit::before { content: "▶"; color: var(--pj-accent); font-size: 14px; }
.cj-video { border-radius: 24px; overflow: hidden; background: var(--pj-ink); }
.cj-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.cj-enlarge { display: block; cursor: zoom-in; }
.cj-lightbox { width: min(96vw, 1400px); max-height: 94vh; padding: 16px; border: 0; border-radius: 24px; background: #fff; }
.cj-lightbox::backdrop { background: rgba(20, 12, 26, .85); }
.cj-lightbox-tools { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.cj-lightbox-tools button { border: 0; background: #F6EFE9; padding: 10px 16px; border-radius: 999px; font-weight: 800; min-height: 44px; }
.cj-lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; }
.cj-lightbox.is-zoomed { overflow: auto; }
.cj-lightbox.is-zoomed img { max-height: none; max-width: none; width: 200%; }
.cj-lightbox p { text-align: center; margin: 10px 0 0; font-size: 15px; color: var(--pj-muted); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.pj-footer { background: var(--pj-ink); color: #E9DDEE; line-height: 1.5; margin-top: 40px; }
.pj-stripe { display: flex; height: 10px; }
.pj-stripe span { flex: 1; }
.pj-footer .pj-wrap { padding-block: 64px 32px; }
.pj-footer-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.pj-footer-brand { flex: 1.6 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pj-footer-brand .pj-brand, .pj-footer-brand .pj-brand:hover { color: #fff; }
.pj-footer-brand .pj-brand-name { font-size: 24px; }
.pj-footer-brand .pj-brand-name em { color: #FF8FB1; }
.pj-footer-brand .pj-logo-mark { width: 44px; height: 44px; }
.pj-footer-brand p { margin: 0; font-size: 15px; color: #CDBFD6; max-width: 340px; }
.pj-social { display: flex; gap: 10px; }
.pj-social a { width: 44px; height: 44px; border-radius: 999px; background: #3E2C4A; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pj-social a:hover { background: var(--pj-accent); color: #fff; }
.pj-footer-col { flex: 1 1 170px; min-width: 0; }
.pj-footer-col h2 { font-family: var(--pj-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-butter-strong); margin-bottom: 14px; font-weight: 800; }
.pj-footer-col:nth-of-type(2) h2 { color: #7BD3B5; }
.pj-footer-col:nth-of-type(3) h2 { color: #FF8FB1; }
.pj-footer-col:nth-of-type(4) h2 { color: #B9A6F2; }
.pj-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pj-footer a { color: #E9DDEE; text-decoration: none; }
.pj-footer a:hover { color: #fff; text-decoration: underline; }
.pj-footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #47354F; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 14px; color: #CDBFD6; }
.pj-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.pj-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pj-footer-bottom a { color: #CDBFD6; }
.pj-footer .pj-top { color: var(--pj-butter-strong); font-weight: 800; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .pj-mega-feature { display: none; }
}
@media (max-width: 1080px) {
  .pj-nav, .pj-header-actions .pj-search, .pj-follow, .pj-mega { display: none !important; }
  .pj-burger { display: inline-flex; }
  .pj-sidebar { position: static; max-height: none; max-width: none; flex-basis: 100%; }
  .pj-toc { display: none; }
  .pj-article-layout { gap: 32px; }
  .pj-article-layout > .pj-entry { max-width: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pj-brand-name { font-size: 21px; }
  .pj-logo-mark { width: 40px; height: 40px; }
  .pj-header-row { padding-block: 12px; }
  .pj-announce { font-size: 13px; }
  .pj-collage { gap: 10px; }
  .pj-collage-col { gap: 10px; }
  .pj-collage-col--offset { padding-top: 28px; }
  .pj-collage-img { height: auto !important; aspect-ratio: 3 / 4; }
  .pj-stat { padding: 12px; }
  .pj-stat strong { font-size: 26px; }
  .pj-stat span { font-size: 12px; }
  .pj-board { columns: 2 150px; column-gap: 12px; }
  .pj-card { margin-bottom: 18px; }
  .pj-card-title { font-size: 15px; }
  .pj-save { top: 8px; right: 8px; padding: 9px 12px; font-size: 13px; }
  .pj-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pj-cat-img { width: 96px; height: 96px; }
  .pj-collection-pins { gap: 10px; }
  .pj-collection-pins a > span { height: 200px !important; }
  .pj-spot-big { min-height: 440px; }
  .pj-entry { font-size: 17px; }
  .pj-entry > p:first-child { font-size: 19px; }
  .cj-steps > li { padding: 20px 18px; }
  .cj-steps > li::before { position: static; margin-bottom: 4px; }
  .cj-callout { padding: 18px 18px 18px 62px; }
  .cj-callout::before { left: 16px; }
  .pj-save-band { padding: 22px; }
  .pj-table-card { padding: 4px 10px; }
  .pj-table { min-width: 0; font-size: 14px; }
  .pj-table th, .pj-table td { padding: 10px 6px; }
  .pj-save-band-img { flex-basis: 120px; width: 120px; }
  .pj-article-hero img { max-height: 520px; }
}

/* ==========================================================================
   11. Print — the pattern only
   ========================================================================== */
@media print {
  .pj-announce, .pj-header, .pj-sidebar, .pj-footer, .pj-related, .pj-save-band, .pj-save, .pj-actions, .cj-video, .pj-in-content, .pj-drawer, .pj-breadcrumbs { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .pj-article-header { background: #fff; padding: 0; }
  .pj-article-hero { max-width: 220px; }
  .cj-steps > li { break-inside: avoid; border: 1px solid #ccc; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
