/*
Theme Name: BioShampoos Botanical Lab
Theme URI: https://bioshampoos.com
Author: Camille Verdier — BioShampoos Botanical Lab
Description: Ultra-Modern Botanical Apothecary & Organic Salon WordPress Theme for BioShampoos.com (@bioshampoos · 1.46M+ Monthly Views) — Optimized for HB Agency & 4-Page Lookbook Pagination.
Version: 2.1.0
Text Domain: bioshampoos
*/

:root {
  --brand-primary: #1d3d2d;
  --brand-primary-dark: #13281d;
  --brand-accent: #9c7138;
  --brand-accent-light: #f6efe3;
  --bg: #f9fbf8;
  --surface: #ffffff;
  --surface-alt: #f0f5ee;
  --ink: #13241b;
  --ink-soft: #354c3f;
  --ink-muted: #60786a;
  --sage: #2d5a43;
  --sage-dark: #1d3d2d;
  --sage-light: #e4efe8;
  --amber: #9c7138;
  --amber-light: #f6efe3;
  --gold: #9c7138;
  --pin-red: #e60023;
  --border: #d8e4dc;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(19, 36, 27, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.78;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
}
a { color: inherit; text-decoration: none; transition: all 0.18s ease; }
a:hover { color: var(--sage); }
img { max-width: 100%; height: auto; display: block; }

.topbar {
  background: var(--sage-dark);
  color: #e6f0ea;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 20px;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-links a {
  color: #cfe0d6;
  font-size: 11.5px;
  text-transform: uppercase;
}
.topbar-links a:hover { color: #fff; }
.pin-top-btn {
  background: var(--pin-red);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 11px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pin-top-btn:hover { opacity: 0.92; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-emblem {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid var(--amber);
  box-shadow: 0 4px 12px rgba(45, 90, 67, 0.14);
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--sage-dark);
  line-height: 1.05;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  width: 260px;
}
.search-form input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--ink);
}
.search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--sage);
  font-weight: 700;
}
.nav-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
}
.nav-link {
  padding: 13px 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--sage);
  border-bottom-color: var(--sage);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  margin-bottom: 44px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sage-dark);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(19, 36, 27, 0.94) 15%, rgba(19, 36, 27, 0.45) 70%, transparent 100%);
  padding: 36px 32px;
  color: #fff;
  width: 100%;
}
.cat-pill {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 10px;
}
.hero-overlay p {
  color: #dce8e0;
  font-size: 15px;
  max-width: 640px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.side-card img {
  width: 120px;
  height: 115px;
  object-fit: cover;
  border-radius: 8px;
}
.side-card h3 { font-size: 20px; margin: 4px 0 6px; }
.meta-line { font-size: 12px; color: var(--ink-muted); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--sage);
  padding-bottom: 10px;
  margin: 36px 0 24px;
}
.sec-head h2 { font-size: 30px; letter-spacing: 0.02em; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 26px;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.art-card-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--surface-alt);
}
.art-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--sage);
  margin-bottom: 6px;
}
.art-card-title { font-size: 22px; margin-bottom: 8px; line-height: 1.25; }
.art-card-excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 42px;
  align-items: start;
}
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.article-title { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 14px; }
.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.part-badge {
  background: var(--sage);
  color: #f9fbf8;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Fiche Technique Concurrentielle ("🌿 Camille’s Botanical Haircare & Salon Cheat Sheet") */
.style-spec-card {
  background: linear-gradient(145deg, #f4f9f5, #eaf2ec);
  border: 1px solid #bfd4c6;
  border-left: 5px solid var(--sage);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 26px;
}
.style-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #abc5b4;
}
.style-spec-head h3 {
  font-size: 21px;
  margin: 0;
  color: var(--sage-dark);
}
.style-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.style-spec-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.style-spec-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--amber);
}
.style-spec-item b {
  font-size: 13.5px;
  color: var(--ink);
}
.style-salon-ask {
  background: var(--sage-dark);
  color: #f0f5ee;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 13.5px;
}
.style-salon-ask strong { color: #e2b879; }

.jump-banner {
  background: linear-gradient(135deg, #f5faf6, #e5f0e8);
  border: 1px solid #b5cebe;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.jump-btn {
  background: var(--sage);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
}
.jump-btn:hover { background: var(--sage-dark); }

.dlg-figure {
  position: relative;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.dlg-Lead-img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}
.dlg-figure figcaption {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-pin-img, .fig-pin-btn, .pin-btn {
  background: var(--pin-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
}
.btn-pin-img:hover, .fig-pin-btn:hover, .pin-btn:hover { opacity: 0.9; }
.pin-btn svg { width: 14px; height: 14px; fill: currentColor; }

.dlg-sec-h2 { font-size: 30px; margin: 28px 0 14px; color: var(--sage-dark); }
.dlg-sub-h3 { font-size: 24px; margin: 22px 0 10px; color: var(--amber); }
.article-content p { margin-bottom: 18px; font-size: 17px; color: #1f3026; }
.dlg-callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--sage);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.dlg-callout h3 { font-size: 21px; margin-bottom: 10px; color: var(--sage-dark); }
.dlg-callout ul { padding-left: 20px; }
.dlg-callout li { margin-bottom: 8px; font-size: 15.5px; }

.pagination-box {
  margin: 34px 0 26px;
  padding: 26px;
  background: linear-gradient(145deg, #162e21, #234734);
  color: #fff;
  border-radius: 14px;
  text-align: center;
}
.pagination-box p { color: #cfe0d6; font-size: 14px; margin-bottom: 14px; }
.btn-next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #b58442, #9c7138);
  color: #fff !important;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(156, 113, 56, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-pill {
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  color: #e4efe8 !important;
}
.page-pill.active { background: var(--amber); color: #fff !important; }

.author-box {
  margin-top: 30px;
  padding: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
}
.author-box-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 22px;
  border-bottom: 2px solid var(--sage);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.founder-card {
  text-align: center;
}
.founder-card img {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2.5px solid var(--sage);
}
.btn-pin-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 99px;
  background: var(--pin-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
}
.site-footer {
  background: #13241b;
  color: #cfe0d6;
  padding: 56px 24px 140px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col a { color: #abc4b5; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #829e8d;
}

/* === v3.2 Modern Brand Emblem, Strict SVG & Editorial Pagination UX === */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pin-red, #e60023);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.pin-btn:hover { transform: translateY(-1px); opacity: 0.94; }
.pin-btn svg { width: 15px !important; height: 15px !important; fill: currentColor; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.brand-emblem {
  width: 54px !important;
  height: 54px !important;
  border-radius: 11px !important;
  object-fit: contain !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo:hover .brand-emblem {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

/* --- Archive / Homepage / Category Pagination UX --- */
.archive-pagination-wrap {
  margin: 46px 0 18px;
  padding: 24px 28px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  border-radius: 16px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.06));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.archive-pagination-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-page-badge {
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 999px;
}
.archive-total-count {
  font-size: 12.5px;
  color: var(--ink-muted, #777);
  font-weight: 600;
}
.navigation.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--border, #e5dfd5);
  background: var(--bg, #faf9f6);
  color: var(--ink, #141210);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1;
}
.navigation.pagination a.page-numbers:hover {
  border-color: var(--brand-accent, #b8860b);
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.navigation.pagination .page-numbers.current {
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.navigation.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: 28px;
  padding: 0 4px;
  color: var(--ink-muted, #777);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.navigation.pagination a.prev.page-numbers,
.navigation.pagination a.next.page-numbers {
  padding: 0 20px;
  gap: 8px;
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.navigation.pagination a.prev.page-numbers:hover,
.navigation.pagination a.next.page-numbers:hover {
  background: var(--brand-accent, #b8860b);
  border-color: var(--brand-accent, #b8860b);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.navigation.pagination .pag-arrow {
  font-size: 15px;
  line-height: 1;
}

/* --- Enhanced Multi-Page Single Article Pagination UX --- */
.pagination-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.pagination-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pagination-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-accent, #c9971c), #f3d27a);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.next-page-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  text-align: left;
  color: #ffffff !important;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.next-page-teaser:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}
.next-page-teaser-img {
  width: 68px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.next-page-teaser-kicker {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f3d27a;
  margin-bottom: 3px;
}
.next-page-teaser-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
}
.next-page-teaser-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}
.page-pill.done {
  background: rgba(255, 255, 255, 0.16);
  color: #e2f5ea;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-pin-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(230, 0, 35, 0.9);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-pin-secondary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
@media (max-width: 640px) {
  .archive-pagination-wrap { padding: 18px 14px; }
  .navigation.pagination .page-numbers { min-width: 38px; height: 38px; font-size: 13px; padding: 0 10px; }
  .navigation.pagination a.prev.page-numbers,
  .navigation.pagination a.next.page-numbers { padding: 0 14px; }
  .next-page-teaser { padding: 10px 12px; gap: 12px; }
  .next-page-teaser-img { width: 58px; height: 58px; }
}

/* --- Top Chapter / Multi-Page Switcher Bar on Pages 2..N --- */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  background: var(--surface-alt, #f6f1eb);
  border: 1px solid var(--border, #e5dfd5);
  border-left: 4px solid var(--brand-accent, #b8860b);
  border-radius: 10px;
}
.top-page-bar-left,
.top-page-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-page-status {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink, #141210);
}
.top-page-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  color: var(--ink-soft, #444);
  text-decoration: none;
}
.top-page-dot.done {
  background: var(--brand-accent-light, #f5ebd6);
  color: var(--brand-primary, #141210);
  border-color: var(--brand-accent, #b8860b);
}
.top-page-dot.active {
  background: var(--brand-primary, #141210);
  color: #ffffff !important;
  border-color: var(--brand-primary, #141210);
  pointer-events: none;
}
.top-page-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e5dfd5);
  color: var(--ink, #141210) !important;
  text-decoration: none;
}
.top-page-nav-btn.primary {
  background: var(--brand-primary, #141210);
  border-color: var(--brand-primary, #141210);
  color: #ffffff !important;
}
.top-page-nav-btn:hover {
  border-color: var(--brand-accent, #b8860b);
  transform: translateY(-1px);
}

