/**
 * Blog archive — hero, sticky id bar, filter sidebar, featured + grid + load-more.
 * Conditionally enqueued on is_home() / is_post_type_archive('post') /
 * is_category() / is_tag() / our four custom blog taxonomies.
 *
 * Keeps page-specific selectors prefixed with `.blog-` / `.filter-` /
 * `.post-hero` so they don't collide with shop or homepage rules.
 */

/* ── STICKY PAGE ID BAR ── */
.page-id-bar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--charcoal);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 40px;
}
.page-id-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-id-divider {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}
.page-id-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ── HERO ── */
.post-hero {
  background: var(--bg);
  padding: 56px 40px 16px;   /* flows straight into the search strip below */
  position: relative;        /* scrolls away — never sticky; only the nav + search strip stay pinned */
}
/* Plain cream on every blog archive (blog-archive*.html) — the old /blog/
   hero photo is gone so the header and search strip read as one section. */
.post-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.post-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.post-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
  /* One line: 64px on desktop, scaling down with the window so it never wraps */
  white-space: nowrap;
  font-size: min(64px, calc((100vw - 80px) / 16.4));
}
@media (max-width: 768px) { .post-hero-title { font-size: calc((100vw - 48px) / 16.4); } }
@media (max-width: 600px) { .post-hero-title { white-space: normal; font-size: 40px; } }
.post-hero-title em { font-style: italic; color: var(--terra); }

/* ── HERO SUB + SEARCH (2.1 redline) ──
 * The collective archive leads with a subline and the sitewide pill search bar
 * instead of the old sidebar search box. Same pill pattern as resource-archive:
 * the bar owns the height and radius, the button stretches flush inside it. */
.post-hero-sub {
  font-family: var(--ff-mono);
  font-size: 17px;
  color: var(--ink);
  margin-top: 16px;
  line-height: 1.65;
  /* Centered inside the wider (1100px) hero — without auto margins the 860px
   * box hugged the left and the line sat ~48px off-center. */
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── SEARCH STRIP: under the header, pinned under the nav while scrolling ──
 * `top` is set to the nav's height by assets/js/blog-hero.js. */
.search-strip {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.search-strip .archive-search-bar {
  width: 100%;
  max-width: 680px;
  height: 44px;
  min-width: 0;
  border-color: var(--border);
  box-shadow: 0 2px 10px rgba(28,26,24,0.06);
}
.search-strip .archive-search-bar input::placeholder { color: var(--stone); }
.search-tip {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  flex-shrink: 0;
}
.demo-divider { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 320px; width: 100%; }
.demo-divider-line { flex: 1; height: 1px; background: var(--border); }
.demo-divider-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.demo-divider-toggle:hover { color: var(--mascot); }
.demo-divider-toggle .chevron { transition: transform 0.2s ease; }
.demo-divider-toggle.open .chevron { transform: rotate(180deg); }
.search-demo-panel {
  width: 100%;
  max-width: 560px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.search-demo-panel.open { max-height: 360px; margin-top: 4px; }
@media (max-width: 600px) {
  .search-strip { padding: 18px 16px 10px; }
  .search-strip .archive-search-bar { flex: none; }
  .search-strip .demo-divider { display: none; }
}

/* ── ABOUT THE TEACHERSTORE BLOG (global blog sidebar) ── */
.sidebar-about { padding: 0 0 24px; border-bottom: 1px solid var(--border); text-align: center; margin-bottom: 24px; }
.sidebar-about-mark { display: block; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.sidebar-about-name { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.sidebar-about-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--mascot); margin: 2px 0 12px; }
.sidebar-about-bio { font-size: 12px; color: var(--ink); line-height: 1.65; margin: 0; }
.archive-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
  height: 52px;
  padding: 0 0 0 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.archive-search-bar:focus-within { border-color: var(--fri-yay); box-shadow: 0 0 0 3px rgba(196,95,78,0.08); }
.archive-search-bar > span { color: var(--stone); font-size: 15px; display: flex; align-items: center; }
.archive-search-bar input {
  border: none;
  outline: none;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.archive-search-bar input::placeholder { color: var(--dust); }
/* Visual placeholders for future AI search — inert by design. */
.archive-search-mic,
.archive-search-camera {
  background: none;
  border: none;
  color: var(--stone);
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
  transition: color 0.2s;
}
.archive-search-mic:hover,
.archive-search-camera:hover { color: var(--ink); }
.archive-search-btn {
  align-self: stretch;
  height: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0 32px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  flex-shrink: 0;
}
.archive-search-btn:hover { background: var(--mascot); }
/* Phones: tighten the bar so the placeholder isn't clipped to a few letters
 * (the 32px-a-side button alone took a third of a 375px screen). Matches the
 * shop search bar's phone sizing. */
@media (max-width: 560px) {
  .archive-search-bar { gap: 6px; padding-left: 16px; }
  .archive-search-mic, .archive-search-camera { padding: 4px 5px; }
  .archive-search-btn { padding: 0 16px; }
}


.post-hero-quote {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.post-hero-quote-text {
  font-family: var(--ff-body);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 780px;
}
.post-hero-quote-attr {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── MAIN LAYOUT ── */
.blog-archive-wrap { background: var(--white); border-bottom: 1px solid var(--border); }
.blog-archive-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 40px 56px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 80px;
  align-items: start;
}
/* Sidebar stays first in the DOM (unchanged tab order), but sits visually in
 * the right column; content fills the wide left column. */
.blog-archive-inner > .blog-content { order: 1; }
.blog-archive-inner > .blog-sidebar { order: 2; }

/* ── RIGHT SIDEBAR (minimal filter) ── */
.blog-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: none;
}
.blog-sidebar::-webkit-scrollbar { display: none; }

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 16px;
  margin-bottom: 28px;
  transition: all 0.2s var(--ease-out);
}
.filter-search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,115,90,0.08); }
.filter-search input {
  border: none;
  outline: none;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  flex: 1;
  min-width: 0;
}
.filter-search input::placeholder { color: var(--dust); }
.filter-search-btn {
  background: var(--charcoal);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.filter-search-btn:hover { background: #333; }

.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s;
  margin-bottom: 20px;
  background: none;
  border: none;
  font-family: var(--ff-body);
  padding: 0;
}
.filter-clear:hover { color: var(--terra-hover); }
.filter-clear[hidden] { display: none !important; }

/* Minimal pill filter groups (right sidebar). Each pill wraps a hidden
 * checkbox so blog.js keeps driving the same AJAX filter — clicking the pill
 * toggles the checkbox, and :has() paints the checked state. */
.sidebar-section {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
}
.sidebar-section:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-section-title {
  flex-basis: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.sidebar-cat-pill {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 12px;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.sidebar-cat-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.sidebar-cat-pill:hover { border-color: var(--ink); }
.sidebar-cat-pill:focus-within { box-shadow: 0 0 0 3px rgba(28,26,24,0.12); }
.sidebar-cat-pill.all-pill { font-family: inherit; background: none; }
.sidebar-cat-pill.active,
.sidebar-cat-pill:has(input:checked) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── BLOG CONTENT ── */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.blog-count { font-size: 12px; color: var(--stone); }
.blog-count strong { color: var(--ink); font-weight: 600; }
.blog-sort {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.blog-sort:focus { border-color: var(--terra); }

/* position: relative anchors the absolute-positioned .ts-grid-loader so it
 * overlays the entire content column (toolbar + featured + grid) during
 * AJAX, no matter how tall the result set is. */
.blog-content { min-width: 0; position: relative; }
.blog-featured-wrap { transition: opacity 0.2s var(--ease-out); }
.blog-featured-wrap[aria-busy="true"] { opacity: 0.45; pointer-events: none; }

/* ── FEATURED CARD ──
 * Article wrapper, not a single anchor — only the image, title, and "Read
 * Post →" link route to the post. Category eyebrow links route to the term
 * archive. */
.blog-featured-wrap:empty { display: none; }
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  color: inherit;
}
.blog-featured-img {
  aspect-ratio: 16/10;
  background: var(--ivory);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  border-top: 3px solid var(--charcoal);
}
.blog-featured-img-link { display: block; width: 100%; height: 100%; }
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.blog-featured-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mascot);
}
.blog-featured-cat .blog-card-cat-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.blog-featured-cat .blog-card-cat-link:hover { color: var(--mascot); }
.blog-featured-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  line-height: 1.25;
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.blog-featured-title:hover { color: var(--terra); }
.blog-featured-title em { font-style: normal; }
.blog-featured-excerpt { font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.blog-featured-meta { font-size: 11px; color: var(--dust); letter-spacing: 0.02em; }
.blog-featured-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
  align-self: flex-start;
  text-decoration: underline;
}
.blog-featured-link:hover { color: var(--terra-hover); }

/* ── GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
  min-height: 200px;
  transition: opacity 0.2s var(--ease-out);
}
.blog-grid[aria-busy="true"] { opacity: 0.45; pointer-events: none; }
/* TS-ARCHIVE-GRID v1 — 2 large featured posts on top, then a 4-column grid
 * (issue #28). Same block as the 9 reference archives (blog / video / podcast;
 * the TV + podcast copies live in their generated tv-*.css / podcast-*.css).
 * Adapted to the theme card: padding sits on .blog-card-body, not on each
 * line. Scoped to .blog-content so other pages' .blog-grid rows are untouched. */
.blog-content .blog-featured-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.blog-content .blog-card--featured .blog-card-img { aspect-ratio: 16 / 10; }
.blog-content .blog-card--featured .blog-card-body { padding: 22px 24px; gap: 10px; }
.blog-content .blog-card--featured .blog-card-cat { font-size: 10px; }
.blog-content .blog-card--featured .blog-card-title { font-size: 24px; line-height: 1.2; letter-spacing: -0.045em; }
.blog-content .blog-card--featured .blog-card-title span { -webkit-line-clamp: 3; line-clamp: 3; }
.blog-content .blog-card--featured .blog-card-excerpt { font-size: 14px; -webkit-line-clamp: 3; line-clamp: 3; flex: 0 0 auto; }
.blog-content .blog-card--featured .blog-card-author-av { width: 28px; height: 28px; font-size: 13px; }
.blog-content .blog-card--featured .blog-card-author-name { font-size: 13px; }
.blog-content .blog-card--featured .blog-card-meta { font-size: 12px; }
.blog-content .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px; }
.blog-content .blog-grid .blog-card-cat { font-size: 9px; }
.blog-content .blog-grid .blog-card-title { font-size: 15px; }
.blog-content .blog-grid .blog-card-excerpt { font-size: 12px; }
@media (max-width: 1100px) { .blog-content .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) { .blog-content .blog-featured-row { grid-template-columns: minmax(0, 1fr); gap: 20px; } .blog-content .blog-card--featured .blog-card-title { font-size: 21px; } }
@media (max-width: 560px) { .blog-content .blog-grid { grid-template-columns: minmax(0, 1fr) !important; } }
/* /TS-ARCHIVE-GRID */

/* ── GRID CARD ──
 * Article wrapper, but the whole surface behaves as one link: .blog-card-title
 * projects a stretched-link ::after over the card. The border stays visible on
 * hover (2.1 redline) — only lift + shadow change. Category term anchors and
 * the Save button are raised above the overlay so they stay clickable. */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #d8d4ce;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  color: inherit;
  cursor: pointer;
  animation: fadeUp 0.4s var(--ease-out) both;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  aspect-ratio: 16/10;
  background: var(--ivory);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  gap: 8px;
}
.blog-card-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mascot);
  /* Above the title's stretched-link overlay so term archives stay clickable. */
  position: relative;
  z-index: 2;
  align-self: flex-start;
}
.blog-card-cat-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.blog-card-cat-link:hover { color: var(--terra-hover); }
.blog-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.35;
  text-decoration: none;
}
/* The 2-line clamp lives on the inner span, not the anchor: the anchor must
 * stay free of overflow:hidden so its stretched-link ::after isn't clipped. */
.blog-card-title span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Stretched link — makes the entire card one click target for the post while
 * keeping valid markup (no <a> wrapping the Save button or the term links).
 * Deliberately no :hover colour on the title: the card lifts instead. */
.blog-card-title::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card-excerpt {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-meta {
  font-size: 10px;
  color: var(--dust);
  letter-spacing: 0.02em;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-author-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--brown);
  flex-shrink: 0;
  overflow: hidden;
}
.blog-card-author-av img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-author-name { font-size: 11px; color: var(--stone); }

/* NEW badge */
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--charcoal);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* Pinterest save button — base rule moved to main-style.css in the 2.1 pass,
 * because the Pinnable 2×2 gallery puts the same button inside post bodies,
 * where blog.css isn't loaded. Only the card hover-reveal stays here. */
.blog-card .pin-btn{
  border-radius: 500px;
  /* Above the title's stretched-link overlay, or Save would open the post. */
  z-index: 2;
}
 .blog-card:hover .pin-btn,
.blog-featured:hover .pin-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── EMPTY STATE ── */
.blog-grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  color: var(--stone);
  text-align: center;
}
.blog-grid-empty i { font-size: 32px; color: var(--dust); }

/* Loader styles live in base.css under the shared .ts-grid-loader rule —
 * see that file for animation timing + dimming semantics. */

/* ── LOAD MORE ── */
.load-more-wrap { text-align: center; padding: 8px 0 0; }
.load-more-wrap[hidden] { display: none; }
.btn-load-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, opacity 0.2s;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  background: var(--white);
  font-family: var(--ff-body);
}
.btn-load-more:hover { color: var(--ink); border-color: var(--ink); }
.btn-load-more .btn-load-more-spinner { display: none; }
.btn-load-more.is-loading { opacity: 0.65; pointer-events: none; }
.btn-load-more.is-loading .btn-load-more-spinner {
  display: inline-block;
  animation: tsSpin 0.9s linear infinite;
}
@keyframes tsSpin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .blog-archive-inner { grid-template-columns: 1fr 220px; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .post-hero { padding: 56px 24px 16px; }
  .post-hero-quote-text { font-size: 17px; }
  .blog-archive-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px 40px;
    gap: 28px;
  }
  .blog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-id-bar{
    flex-direction: column;
    gap: 0;
  }
  .page-id-bar .page-id-divider{
    display: none !important
  }
}
@media (max-width: 560px) {
  .page-id-bar { padding: 8px 16px; gap: 8px; }
  .page-id-section,
  .page-id-name { font-size: 10px; }
  .post-hero { padding: 40px 16px 12px; }
  .post-hero-quote-text { font-size: 15px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-featured-title { font-size: 22px; }
  .blog-toolbar { gap: 10px; }
}
