/* ==========================================================================
   TrustyRic — Components CSS
   Header, Footer, Cards, Hero, Email Capture, History, Reviews
   ========================================================================== */

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo__img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu a {
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--cream);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hamburger {
  display: none;
  color: var(--cream);
  padding: var(--space-2);
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-block: var(--space-12);
  overflow: hidden;
}

.hero__bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  max-width: 540px;
}

.hero__eyebrow {
  margin-bottom: var(--space-6);
}

.hero__heading {
  margin-bottom: var(--space-6);
}

.hero__subtext {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  color: var(--cream);
  font-weight: 700;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero__photo-wrap {
  position: relative;
  height: 600px;
  border-radius: var(--radius-xl);
}

.hero__photo-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.1);
}

.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.hero__photo-initials {
  font-family: var(--font-head);
  font-size: var(--text-6xl);
  color: var(--text-muted);
}

.hero__photo-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(237, 232, 220, 0.1);
  pointer-events: none;
}

.hero__floating-tag {
  position: absolute;
  bottom: 10%;
  left: -20px;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cream);
  box-shadow: var(--shadow-card);
}

/* ── Post Card (Motivation) ─────────────────────────────────────────────── */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.post-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-surface);
}

.post-thumbnail,
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail {
  transform: scale(1.05);
}

.post-thumbnail--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--bg-surface), var(--bg-card));
}

.post-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card__meta {
  margin-bottom: var(--space-3);
}

.post-card__title {
  margin-bottom: var(--space-3);
}

.post-card__title a {
  color: var(--cream);
}

.post-card__title a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-card__excerpt {
  margin-bottom: var(--space-6);
  flex-grow: 1;
  font-size: var(--text-sm);
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

/* ── Review Card ────────────────────────────────────────────────────────── */
.review-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.review-card__thumb {
  position: relative;
  aspect-ratio: 1;
  padding: var(--space-6);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.review-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.review-card:hover .review-card__img {
  transform: scale(1.05);
}

.review-card__img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.review-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.review-card__name {
  color: var(--cream);
  font-size: var(--text-lg);
}

.rating-badge {
  display: inline-flex;
  align-items: baseline;
  background: var(--bg-surface);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: var(--text-lg);
  border: 1px solid var(--border);
}

.rating-badge span {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-family: var(--font-body);
  font-weight: 400;
  margin-left: 2px;
}

.rating--high { color: var(--success); border-color: rgba(34, 197, 94, 0.2); }
.rating--mid { color: var(--warning); border-color: rgba(245, 158, 11, 0.2); }
.rating--low { color: var(--danger); border-color: rgba(239, 68, 68, 0.2); }

.review-card__summary {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.review-card__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── History Card ───────────────────────────────────────────────────────── */
.history-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
  position: relative;
  padding: var(--space-6);
}

.history-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.history-card__period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.history-card__year {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  color: var(--cream);
  font-weight: 600;
}

.history-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.history-card__title {
  margin-bottom: var(--space-3);
}

.history-card__title a {
  color: var(--cream);
}

.history-card__title a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.history-card__excerpt {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.history-card__truth {
  background: var(--bg-surface);
  border-left: 3px solid var(--primary);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.history-card__truth-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.history-card__truth p {
  font-size: var(--text-sm);
  color: var(--text);
  margin: 0;
  font-style: italic;
}

.history-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-weight: 500;
  margin-top: auto;
}

/* ── Sponsor System ─────────────────────────────────────────────────────── */
.sponsor-strip {
  background: var(--sponsor-bg);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-2);
}

.sponsor-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.sponsor-strip__label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sponsor-strip__logo {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.sponsor-strip__name {
  color: var(--cream);
  font-size: var(--text-sm);
}

.sponsor-strip__tagline {
  color: var(--text-muted);
  font-size: var(--text-sm);
  display: none;
}

.sponsor-strip__cta {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsor-card__label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.sponsor-card__logo {
  max-width: 140px;
  height: auto;
  margin-bottom: var(--space-4);
}

.sponsor-card__name {
  font-size: var(--text-xl);
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.sponsor-card__tagline {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.sponsor-card__disclosure {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--space-4);
}

.sponsor-block {
  margin-block: var(--space-10);
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sponsor-block__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.sponsor-block__label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sponsor-block__content {
  flex-grow: 1;
}

.sponsor-block__logo {
  max-width: 120px;
  margin-bottom: var(--space-2);
}

.sponsor-block__content p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* ── Email Capture ──────────────────────────────────────────────────────── */
.email-capture {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.email-capture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.email-capture__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.email-capture__headline {
  font-size: var(--text-2xl);
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.email-capture__subtext {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.email-capture__form {
  position: relative;
}

.email-capture__honeypot {
  display: none !important;
}

.email-capture__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.email-capture__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  transition: all var(--transition);
}

.email-capture__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.email-capture__btn {
  width: 100%;
  justify-content: center;
}

.email-capture__message {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  min-height: 20px;
}

.email-capture__message.success { color: var(--success); }
.email-capture__message.error { color: var(--danger); }

.email-capture--inline {
  padding: var(--space-6);
}

.email-capture--footer {
  background: transparent;
  border: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-block: var(--space-12);
}
.email-capture--footer::before { display: none; }
.email-capture--footer .email-capture__inner { max-width: 600px; }
.email-capture--footer .email-capture__fields { flex-direction: row; }
.email-capture--footer .email-capture__input--name { display: none; }
.email-capture--footer .email-capture__btn { width: auto; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.footer-divider {
  height: 1px;
  background: var(--border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: var(--space-12);
  padding-block: var(--space-12);
}

.footer-brand__tagline {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  color: var(--cream);
  margin-block: var(--space-4 var(--space-2));
}

.footer-nav {
  display: flex;
  gap: var(--space-12);
}

.footer-nav__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav a {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-sponsor {
  background: var(--bg-card);
  padding: var(--space-6);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.footer-sponsor__logo {
  margin-block: var(--space-2 var(--space-4));
}

.footer-sponsor__name {
  display: block;
  color: var(--cream);
  margin-block: var(--space-2 var(--space-4));
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-6);
  border-top: 1px solid var(--border);
}

.footer-bottom a {
  color: var(--text-faint);
}

.footer-bottom a:hover {
  color: var(--text-muted);
}

/* ── Reviews Archive ────────────────────────────────────────────────────── */
.archive-header {
  padding-block: var(--space-12 var(--space-8));
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, transparent, rgba(11, 15, 26, 0.5));
}

.reviews-filter-bar {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-4);
}

.reviews-filter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.reviews-search {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.reviews-search svg {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.reviews-search__input {
  width: 100%;
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-10);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--cream);
  font-size: var(--text-sm);
}

.reviews-search__input:focus {
  outline: none;
  border-color: var(--accent);
}

.reviews-filter-btns {
  display: flex;
  gap: var(--space-2);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.reviews-loading {
  text-align: center;
  padding: var(--space-12);
}

.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ── Single Review ──────────────────────────────────────────────────────── */
.single-review .review-header {
  padding-block: var(--space-12);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.review-header__meta {
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.review-header__title {
  margin-bottom: var(--space-4);
}

.review-header__summary {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.review-product-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-block: var(--space-12);
  align-items: center;
}

.review-product-info__img-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-product-info__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.review-product-info__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.review-score-block__bar {
  margin-top: var(--space-3);
}

.review-score-bar {
  height: 8px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.review-score-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.review-score-bar__fill[data-rating="10"],
.review-score-bar__fill[data-rating="9"],
.review-score-bar__fill[data-rating="8"] { background: var(--success); }

.review-score-bar__fill[data-rating="3"],
.review-score-bar__fill[data-rating="2"],
.review-score-bar__fill[data-rating="1"] { background: var(--danger); }

.review-affiliate-btn {
  width: 100%;
  justify-content: center;
  padding-block: var(--space-4);
  font-size: var(--text-lg);
}

.review-disclosure {
  text-align: center;
}

/* ── Single History ─────────────────────────────────────────────────────── */
.single-history .history-header {
  padding-block: var(--space-12);
  text-align: center;
}

.history-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.history-header__period {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream);
  font-size: var(--text-lg);
  padding-left: var(--space-3);
  border-left: 1px solid var(--border);
}

.history-header__thumb {
  margin-top: var(--space-8);
}

.post-hero-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.history-structure {
  margin-top: var(--space-12);
}

.history-section {
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-12);
}

.history-section::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: -40px;
  width: 2px;
  background: var(--border);
}

.history-section:last-child::before {
  display: none;
}

.history-section__label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-head);
  font-size: var(--text-xl);
  color: var(--cream);
  margin-bottom: var(--space-6);
}

.history-section__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-body);
  position: absolute;
  left: 0;
  z-index: 2;
}

.history-truth-block {
  margin-top: var(--space-12);
  padding: var(--space-1);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
}

.history-truth-block__inner {
  background: var(--bg-card);
  padding: var(--space-8);
  border-radius: calc(var(--radius-lg) - 1px);
}

.history-truth-block__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.history-truth-block__quote {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.history-truth-block__quote p {
  font-size: var(--text-2xl);
  color: var(--cream);
  line-height: 1.4;
}

/* ── Pagination ─────────────────────────────────────────────────────────── */
.pagination {
  margin-top: var(--space-12);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: var(--text-sm);
  transition: all var(--transition);
}

.page-numbers:hover {
  border-color: var(--accent);
  color: var(--cream);
}

.page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Category Filter ────────────────────────────────────────────────────── */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.category-filter .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Post Layout ────────────────────────────────────────────────────────── */
.post-header {
  padding-block: var(--space-12 var(--space-8));
  text-align: center;
}

.post-header__meta {
  margin-bottom: var(--space-6);
}

.post-header__title {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.post-header__thumb {
  margin-top: var(--space-10);
}

.post-email-capture {
  margin-block: var(--space-12);
}

/* ── Responsive adjustments ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__photo-wrap { height: 400px; max-width: 600px; margin-inline: auto; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header__actions .btn { display: none; }
  .hamburger { display: block; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: var(--space-8) var(--space-6);
    border-bottom: 1px solid var(--border);
    clip-path: inset(0 0 100% 0);
    transition: clip-path var(--transition-slow);
  }
  .nav-menu.is-open { clip-path: inset(0 0 0 0); }
  
  .hero__heading { font-size: var(--text-4xl); }
  .hero__stats { flex-wrap: wrap; }
  
  .review-product-info { grid-template-columns: 1fr; gap: var(--space-6); }
  
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-nav { flex-direction: column; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  
  .reviews-filter-bar__inner { flex-direction: column; align-items: stretch; }
  .reviews-search { max-width: 100%; }
  .reviews-filter-btns { justify-content: center; }
}
