:root {
  --bn-paper: #f4ead8;
  --bn-paper-soft: #fbf6ec;
  --bn-ink: #2b2118;
  --bn-brown: #5a3d2b;
  --bn-brown-light: #8a6a4f;
  --bn-amber: #b7792f;
  --bn-sepia: #d8c3a5;
  --bn-border: #c8ad86;
  --bn-muted: #756858;
  --bn-shadow: 0 18px 50px rgba(43, 33, 24, 0.11);
  --bn-radius: 18px;
  --bn-radius-sm: 10px;
  --bn-container: 1160px;
  --bn-narrow: 760px;
}

body.bn-classic-archive {
  background:
    radial-gradient(circle at 10% 10%, rgba(183, 121, 47, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bn-paper-soft), var(--bn-paper));
  color: var(--bn-ink);
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  line-height: 1.78;
}

.bn-classic-archive::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
  background-image:
    linear-gradient(rgba(43, 33, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 33, 24, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

.bn-classic-archive #page,
.bn-classic-archive .site,
.bn-classic-archive .site-main {
  position: relative;
  z-index: 1;
}

.bn-classic-archive h1,
.bn-classic-archive h2,
.bn-classic-archive h3,
.bn-classic-archive h4,
.bn-classic-archive h5,
.bn-classic-archive h6 {
  color: var(--bn-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.bn-classic-archive h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
}

.bn-classic-archive h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.2rem);
}

.bn-classic-archive h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.bn-classic-archive p {
  color: var(--bn-brown);
}

.bn-container {
  width: min(calc(100% - 40px), var(--bn-container));
  margin-inline: auto;
}

.bn-narrow {
  width: min(calc(100% - 40px), var(--bn-narrow));
}

.bn-section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.bn-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.bn-section-heading p:last-child {
  margin-bottom: 0;
}

.bn-eyebrow,
.bn-card-meta,
.bn-memory-card__stamp,
.bn-archive-card__label {
  color: var(--bn-brown-light);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bn-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.bn-card-meta--center {
  justify-content: center;
}

.bn-card-meta span {
  border: 1px solid rgba(90, 61, 43, 0.22);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(251, 246, 236, 0.72);
}

.bn-button,
.bn-classic-archive .wp-block-button__link {
  align-items: center;
  background: var(--bn-amber);
  border: 1px solid rgba(43, 33, 24, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(183, 121, 47, 0.18);
  color: #fff7e7 !important;
  display: inline-flex;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 15px 22px;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.bn-button:hover,
.bn-classic-archive .wp-block-button__link:hover {
  background: #9f6727;
  box-shadow: 0 12px 28px rgba(43, 33, 24, 0.16);
  transform: translateY(-1px);
}

.bn-button--ghost {
  background: transparent;
  border-color: var(--bn-border);
  box-shadow: none;
  color: var(--bn-ink) !important;
}

.bn-button--ghost:hover {
  background: rgba(183, 121, 47, 0.08);
  color: var(--bn-ink) !important;
}

.bn-button--light {
  background: var(--bn-paper-soft);
  color: var(--bn-ink) !important;
}

.bn-text-link {
  color: var(--bn-amber);
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.bn-text-link::after {
  content: " →";
}

.bn-hero {
  border-bottom: 1px solid rgba(90, 61, 43, 0.18);
  padding-top: clamp(72px, 10vw, 120px);
}

.bn-hero__grid,
.bn-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.bn-hero__copy {
  max-width: 700px;
}

.bn-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 0 0 18px;
}

.bn-hero__lead {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 0 0 28px;
}

.bn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bn-photo-frame,
.bn-story-card__image,
.bn-memory-card__photo {
  background: var(--bn-paper-soft);
  border: 1px solid var(--bn-border);
  box-shadow: var(--bn-shadow);
  padding: 10px;
}

.bn-photo-frame {
  transform: rotate(1.2deg);
}

.bn-photo-frame img,
.bn-story-card__image img,
.bn-memory-card__photo img {
  display: block;
  filter: grayscale(35%) sepia(28%) contrast(0.92);
  height: auto;
  width: 100%;
}

.bn-photo-placeholder,
.bn-image-placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(43, 33, 24, 0.12), rgba(183, 121, 47, 0.08)),
    var(--bn-sepia);
  color: rgba(43, 33, 24, 0.56);
  display: flex;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  justify-content: center;
  letter-spacing: -0.04em;
  min-height: 260px;
  text-align: center;
}

.bn-caption,
.bn-small-note,
.bn-disclosure {
  color: var(--bn-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bn-card-grid {
  display: grid;
  gap: 24px;
}

.bn-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bn-story-card,
.bn-archive-card,
.bn-topic-card,
.bn-memory-card,
.bn-newsletter-box,
.bn-soft-shop,
.bn-then-now,
.bn-memory-prompt,
.bn-empty-state {
  background: rgba(251, 246, 236, 0.82);
  border: 1px solid rgba(90, 61, 43, 0.18);
  border-radius: var(--bn-radius);
  box-shadow: 0 14px 40px rgba(43, 33, 24, 0.06);
}

.bn-story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bn-story-card__image {
  border: 0;
  border-bottom: 1px solid rgba(90, 61, 43, 0.14);
  box-shadow: none;
  display: block;
  padding: 0;
  text-decoration: none;
}

.bn-story-card__image img,
.bn-story-card__image .bn-image-placeholder {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.bn-story-card__content {
  padding: 24px;
}

.bn-story-card h3 {
  font-size: 1.42rem;
  margin: 0 0 12px;
}

.bn-story-card h3 a,
.bn-story-card h3 a:visited,
.bn-archive-card,
.bn-topic-card {
  color: var(--bn-ink);
  text-decoration: none;
}

.bn-story-card p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.bn-memories-preview {
  background: rgba(216, 195, 165, 0.24);
  border-bottom: 1px solid rgba(90, 61, 43, 0.12);
  border-top: 1px solid rgba(90, 61, 43, 0.12);
}

.bn-memory-stack {
  display: grid;
  gap: 18px;
}

.bn-memory-card {
  padding: 26px;
  position: relative;
}

.bn-memory-card::before {
  content: "";
  background: rgba(183, 121, 47, 0.16);
  border-radius: 2px;
  height: 38px;
  left: 50%;
  opacity: 0.4;
  position: absolute;
  top: -18px;
  transform: translateX(-50%) rotate(-2deg);
  width: 88px;
}

.bn-memory-card__stamp {
  border-bottom: 1px solid rgba(90, 61, 43, 0.18);
  margin-bottom: 18px;
  padding-bottom: 10px;
}

.bn-memory-card__topic {
  color: var(--bn-amber);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.bn-memory-card blockquote {
  border: 0;
  color: var(--bn-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.58;
  margin: 0;
  padding: 0;
}

.bn-memory-card__credit {
  color: var(--bn-muted);
  font-size: 0.98rem;
  margin: 14px 0 0;
}

.bn-archive-card,
.bn-topic-card {
  display: block;
  padding: 28px;
}

.bn-archive-card:hover,
.bn-topic-card:hover,
.bn-story-card:hover,
.bn-memory-card:hover {
  border-color: rgba(183, 121, 47, 0.44);
}

.bn-archive-card h3,
.bn-topic-card h3 {
  margin: 10px 0;
}

.bn-tv-section {
  background: #2b2118;
  color: var(--bn-paper-soft);
}

.bn-tv-frame {
  background: linear-gradient(145deg, #5a3d2b, #2b2118);
  border: 1px solid rgba(251, 246, 236, 0.18);
  border-radius: 46px;
  box-shadow: inset 0 0 0 12px rgba(216, 195, 165, 0.08), 0 30px 70px rgba(0, 0, 0, 0.28);
  padding: clamp(18px, 4vw, 36px);
  position: relative;
}

.bn-tv-frame::after {
  content: "";
  background: rgba(251, 246, 236, 0.45);
  border-radius: 50%;
  bottom: 22px;
  height: 12px;
  position: absolute;
  right: 32px;
  width: 12px;
}

.bn-tv-screen {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 5px),
    radial-gradient(circle at 50% 50%, rgba(251, 246, 236, 0.14), rgba(0, 0, 0, 0.24)),
    #3c332c;
  border-radius: 28px;
  color: var(--bn-paper-soft);
  min-height: 360px;
  padding: clamp(34px, 8vw, 76px);
  text-align: center;
}

.bn-tv-screen h2,
.bn-tv-screen p,
.bn-tv-screen .bn-eyebrow {
  color: var(--bn-paper-soft);
  margin-inline: auto;
  max-width: 780px;
}

.bn-tv-screen .bn-eyebrow {
  color: rgba(251, 246, 236, 0.78);
}

.bn-topic-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bn-topic-card {
  padding: 24px;
}

.bn-topic-card h3 {
  font-size: 1.18rem;
}

.bn-topic-card p {
  font-size: 0.97rem;
  margin-bottom: 0;
}

.bn-newsletter-box {
  margin-inline: auto;
  max-width: 860px;
  padding: clamp(34px, 6vw, 64px);
  position: relative;
  text-align: center;
}

.bn-newsletter-box::before,
.bn-newsletter-box::after {
  border-top: 1px solid rgba(90, 61, 43, 0.2);
  content: "";
  display: block;
  margin: 0 auto 28px;
  width: 120px;
}

.bn-newsletter-box::after {
  margin: 28px auto 0;
}

.bn-inline-form {
  display: flex;
  gap: 10px;
  margin: 24px auto 0;
  max-width: 640px;
}

.bn-inline-form input,
.bn-memory-form input,
.bn-memory-form textarea,
.bn-memory-form select {
  background: #fffaf0;
  border: 1px solid rgba(90, 61, 43, 0.25);
  border-radius: var(--bn-radius-sm);
  color: var(--bn-ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.bn-inline-form .bn-button {
  white-space: nowrap;
}

.bn-find-list {
  display: grid;
  gap: 12px;
}

.bn-find-list span {
  background: rgba(251, 246, 236, 0.82);
  border: 1px solid rgba(90, 61, 43, 0.18);
  border-radius: 999px;
  color: var(--bn-ink);
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  padding: 16px 20px;
}

.bn-page-hero,
.bn-article-hero {
  border-bottom: 1px solid rgba(90, 61, 43, 0.16);
  padding: clamp(70px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
}

.bn-page-hero h1,
.bn-article-hero h1 {
  margin: 0 auto 16px;
}

.bn-page-content,
.bn-article-body {
  font-size: 1.08rem;
  margin: 0 auto;
  max-width: var(--bn-narrow);
  padding: clamp(54px, 7vw, 84px) 0;
}

.bn-article-deck {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  margin-inline: auto;
  max-width: 760px;
}

.bn-article-image {
  margin: 34px auto 0;
  max-width: 940px;
}

.bn-article-body > p:first-of-type::first-letter {
  color: var(--bn-brown);
  float: left;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 3.35rem;
  line-height: 0.9;
  margin: 0.08em 0.12em 0 0;
}

.bn-article-body h2,
.bn-page-content h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  margin: 1.65em 0 0.58em;
}

.bn-article-body h3,
.bn-page-content h3 {
  font-size: clamp(1.28rem, 1.9vw, 1.58rem);
  line-height: 1.24;
  margin: 1.45em 0 0.55em;
}

.bn-article-body h4,
.bn-page-content h4 {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  margin: 1.35em 0 0.5em;
}

.bn-article-body a:not(.bn-button),
.bn-page-content a:not(.bn-button),
.bn-classic-archive .entry-content a:not(.wp-block-button__link) {
  color: #7a5637 !important;
  text-decoration: underline;
  text-decoration-color: rgba(122, 86, 55, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.bn-article-body a:not(.bn-button):hover,
.bn-page-content a:not(.bn-button):hover,
.bn-classic-archive .entry-content a:not(.wp-block-button__link):hover {
  color: var(--bn-amber) !important;
  text-decoration-color: rgba(183, 121, 47, 0.75);
}

.bn-article-body a:not(.bn-button):visited,
.bn-page-content a:not(.bn-button):visited,
.bn-classic-archive .entry-content a:not(.wp-block-button__link):visited {
  color: #6d4b31 !important;
}

.bn-article-body blockquote,
.bn-page-content blockquote {
  border-left: 4px solid var(--bn-amber);
  color: var(--bn-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.55;
  margin: 36px 0;
  padding: 10px 0 10px 24px;
}

.bn-memory-prompt,
.bn-then-now,
.bn-soft-shop {
  margin: 42px 0;
  padding: clamp(26px, 4vw, 40px);
}

.bn-memory-prompt {
  background:
    linear-gradient(135deg, rgba(183, 121, 47, 0.1), rgba(251, 246, 236, 0.92));
}

.bn-then-now__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.bn-then-now h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.bn-form-section {
  padding-top: 42px;
}

.bn-memory-form {
  background: rgba(251, 246, 236, 0.9);
  border: 1px solid rgba(90, 61, 43, 0.18);
  border-radius: var(--bn-radius);
  box-shadow: var(--bn-shadow);
  padding: clamp(24px, 4vw, 40px);
}

.bn-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.bn-memory-form label {
  color: var(--bn-ink);
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.bn-memory-form span {
  color: var(--bn-muted);
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 6px;
}

.bn-checkbox label {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.bn-checkbox input {
  margin-top: 5px;
  width: auto;
}

.bn-hidden-field {
  left: -9999px;
  position: absolute;
}

.bn-notice {
  border-radius: var(--bn-radius-sm);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.bn-notice--success {
  background: rgba(83, 126, 62, 0.12);
  border: 1px solid rgba(83, 126, 62, 0.25);
  color: #334d27;
}

.bn-notice--error {
  background: rgba(144, 52, 36, 0.1);
  border: 1px solid rgba(144, 52, 36, 0.22);
  color: #642416;
}

.bn-empty-state {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
}

.bn-pagination {
  margin-top: 38px;
  text-align: center;
}

.bn-memory-single__image {
  margin-bottom: 32px;
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

/* Kadence header/footer soft override */
.bn-classic-archive .site-header,
.bn-classic-archive .site-footer {
  background: rgba(244, 234, 216, 0.92);
  border-color: rgba(90, 61, 43, 0.2);
}

.bn-classic-archive .site-branding a.brand,
.bn-classic-archive .site-title,
.bn-classic-archive .site-title a {
  color: var(--bn-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -0.05em;
}

.bn-classic-archive .main-navigation .primary-menu-container > ul > li.menu-item > a,
.bn-classic-archive .footer-navigation .footer-menu-container > ul > li > a {
  color: var(--bn-brown);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bn-classic-archive .main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  color: var(--bn-amber);
}

@media (max-width: 1024px) {
  .bn-card-grid--3,
  .bn-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-hero__grid,
  .bn-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.bn-classic-archive {
    font-size: 16px;
  }

  .bn-page-hero h1,
  .bn-article-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .bn-article-body h2,
  .bn-page-content h2 {
    font-size: 1.75rem;
  }

  .bn-container,
  .bn-narrow {
    width: min(calc(100% - 28px), var(--bn-container));
  }

  .bn-card-grid--3,
  .bn-topic-grid,
  .bn-form-grid,
  .bn-then-now__grid {
    grid-template-columns: 1fr;
  }

  .bn-inline-form {
    flex-direction: column;
  }

  .bn-inline-form .bn-button {
    width: 100%;
  }

  .bn-tv-frame {
    border-radius: 28px;
  }

  .bn-tv-screen {
    border-radius: 18px;
    min-height: auto;
  }
}

/* Main page templates */
.bn-soft-section {
  background: rgba(216, 195, 165, 0.16);
  border-bottom: 1px solid rgba(90, 61, 43, 0.10);
  border-top: 1px solid rgba(90, 61, 43, 0.10);
}

.bn-story-grid,
.bn-memory-grid,
.bn-archive-grid {
  display: grid;
  gap: 24px;
}

.bn-story-grid,
.bn-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bn-memory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.bn-editorial-intro {
  border-bottom: 1px solid rgba(90, 61, 43, 0.18);
  margin-bottom: 34px;
  padding-bottom: 22px;
}

.bn-editorial-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-top: 0;
}

.bn-link-panel {
  background: rgba(251, 246, 236, 0.82);
  border: 1px solid rgba(90, 61, 43, 0.18);
  border-radius: var(--bn-radius);
  box-shadow: 0 14px 40px rgba(43, 33, 24, 0.06);
  display: grid;
  gap: 12px;
  padding: 28px;
}

.bn-link-panel a,
.bn-card-links a {
  align-items: center;
  border: 1px solid rgba(90, 61, 43, 0.20);
  border-radius: 999px;
  color: var(--bn-ink);
  display: inline-flex;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.02em;
  padding: 11px 15px;
  text-decoration: none;
}

.bn-link-panel a::after,
.bn-card-links a::after {
  content: "→";
  color: var(--bn-amber);
  margin-left: 12px;
}

.bn-link-panel a:hover,
.bn-card-links a:hover {
  background: rgba(183, 121, 47, 0.08);
  border-color: rgba(183, 121, 47, 0.45);
}

.bn-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.bn-archive-card h2 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  margin: 10px 0 14px;
}

.bn-topic-card strong {
  color: var(--bn-ink);
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 8px 0 10px;
}

.bn-topic-card em {
  color: var(--bn-brown);
  display: block;
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.6;
}

.bn-buying-guide-page .bn-find-list {
  align-self: stretch;
}

@media (max-width: 920px) {
  .bn-story-grid,
  .bn-memory-grid,
  .bn-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bn-story-grid,
  .bn-memory-grid,
  .bn-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Story footer CTA: keeps the memory action visible without repeating content blocks. */
.bn-story-memory-action {
  margin: 34px 0 0;
}

.bn-story-memory-action .bn-button {
  display: inline-flex;
}
