/*
Theme Name: Quillora
Theme URI: https://www.bloomledgerguide.com
Author: Jonah Reyes
Author URI: https://www.bloomledgerguide.com
Description: A calm, organized layout built on flat shapes, fine borders and an even editorial rhythm.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bg: #f7f5ef;
  --surface: #fdfcf8;
  --fg: #26323f;
  --muted: #5f6b78;
  --border: #d9dee4;
  --slate: #3f5e78;
  --slate-soft: #e6edf2;
  --accent: #e8a91c;
  --accent-soft: #f6e7c2;
  --radius: 4px;
  --shadow: none;
  --media-ratio: 16 / 9;
  --thumb-ratio: 3 / 2;
  --measure: 68rem;
  --prose: 42rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.bvxnz-menu,
.bvxnz-foot-heading,
.bvxnz-btn,
.bvxnz-row-title,
.bvxnz-cat-name,
.bvxnz-related-title,
.bvxnz-brand-name,
.bvxnz-meta,
.breadcrumb,
.bvxnz-tags a,
.bvxnz-page-links {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.2rem; line-height: 1.35; margin: 1.75rem 0 0.6rem; }
h4 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }

a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--fg); }

img { max-width: 100%; height: auto; display: block; }

blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: var(--slate-soft);
  border-radius: var(--radius);
}
pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--border); }

table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; }
th, td { border: 1px solid var(--border); padding: 0.5rem 0.75rem; text-align: left; }
th { background: var(--slate-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.85rem; }

/* Tables in post/page bodies scroll inside their own box on narrow screens. */
.bvxnz-body table,
.bvxnz-page-body table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.bvxnz-body, .bvxnz-page-body,
.bvxnz-article-head, .bvxnz-row-body,
.bvxnz-archive-head, .bvxnz-empty {
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  .bvxnz-hero-title { font-size: 1.3rem; }
  .bvxnz-row-title { font-size: 1.05rem; }
}

.bvxnz-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */

.bvxnz-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.bvxnz-header-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.bvxnz-brand { flex-shrink: 0; }

.bvxnz-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.bvxnz-brand-name::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.45em;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  vertical-align: baseline;
}
.bvxnz-brand .custom-logo-link img { max-height: 44px; width: auto; }

.bvxnz-nav { margin-left: auto; }

.bvxnz-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.bvxnz-nav-item { position: relative; }

.bvxnz-nav-item > a {
  display: block;
  padding: 0.6rem 0.7rem;
  color: var(--fg);
  text-decoration: none;
  border-radius: var(--radius);
}
.bvxnz-nav-item > a:hover { background: var(--slate-soft); }

.bvxnz-sub-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  width: 2rem; height: 2rem;
  cursor: pointer;
  position: relative;
}
.bvxnz-sub-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.5rem; height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-1px, -1px);
}

.bvxnz-sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: none;
  z-index: 100;
}
.bvxnz-sub-menu .bvxnz-nav-item > a { padding: 0.5rem 0.7rem; white-space: normal; }

@media (min-width: 921px) {
  .bvxnz-nav-item:hover > .bvxnz-sub-menu,
  .bvxnz-nav-item:focus-within > .bvxnz-sub-menu { display: block; }
}

#nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--fg);
  cursor: pointer;
}

.bvxnz-search { position: relative; }

#search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--slate);
}
#search-toggle:hover { background: var(--slate-soft); }

#search-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: 20rem;
  max-width: calc(100vw - 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  z-index: 120;
}
#search-panel.is-open { display: block; }

@media (max-width: 920px) {
  .bvxnz-header-inner { flex-wrap: wrap; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  #nav-toggle { display: block; }
  .bvxnz-nav {
    display: none;
    width: 100%;
    order: 4;
    margin-left: 0;
  }
  .bvxnz-nav.is-open { display: block; }
  .bvxnz-menu { flex-direction: column; align-items: stretch; }
  .bvxnz-nav-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
  .bvxnz-nav-item > a { flex: 1; }
  .bvxnz-sub-toggle { display: block; }
  .bvxnz-sub-menu {
    position: static;
    width: 100%;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    padding: 0 0 0 0.9rem;
    margin: 0.2rem 0 0.4rem;
  }
  .bvxnz-nav-item.sub-open > .bvxnz-sub-menu { display: block; }
  .bvxnz-nav-item.sub-open > .bvxnz-sub-toggle::after { transform: rotate(-135deg) translate(-1px, -1px); }
}

/* ---------- Layout ---------- */

.bvxnz-main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.bvxnz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 920px) {
  .bvxnz-layout { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */

.breadcrumb { margin-bottom: 1.25rem; font-size: 0.82rem; }
.breadcrumb .trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb .crumb { color: var(--muted); }
.breadcrumb .crumb + .crumb::before { content: "/"; margin-right: 0.4rem; color: var(--border); }
.breadcrumb .crumb a { color: var(--muted); text-decoration: none; }
.breadcrumb .crumb a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- Hero (category grid) ---------- */

.bvxnz-hero {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.25rem 2rem 2rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.bvxnz-hero::before,
.bvxnz-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.bvxnz-hero::before {
  width: 9rem; height: 9rem;
  right: -2.5rem; top: -2.5rem;
  background: var(--accent-soft);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.bvxnz-hero::after {
  width: 6rem; height: 6rem;
  right: 5.5rem; bottom: -2rem;
  background: var(--slate-soft);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.bvxnz-hero-title { margin: 0 0 0.4rem; font-size: 1.7rem; position: relative; }
.bvxnz-hero-text { margin: 0 0 1.5rem; color: var(--muted); max-width: 40rem; position: relative; }

.bvxnz-cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.75rem;
  position: relative;
}
.bvxnz-cat-grid a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}
.bvxnz-cat-grid a::before {
  content: "";
  flex-shrink: 0;
  width: 0.85rem; height: 0.85rem;
  background: var(--slate);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.bvxnz-cat-grid a:hover { border-color: var(--slate); }
.bvxnz-cat-count { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 0.78rem; }

/* ---------- Post rows ---------- */

.bvxnz-row {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.bvxnz-row:first-of-type { padding-top: 0; }

.bvxnz-row-thumb {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: var(--thumb-ratio);
  background: var(--slate-soft);
}
.bvxnz-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

.bvxnz-row-title { margin: 0 0 0.35rem; font-size: 1.15rem; line-height: 1.35; }
.bvxnz-row-title a { color: var(--fg); text-decoration: none; }
.bvxnz-row-title a:hover { color: var(--slate); text-decoration: underline; }

.bvxnz-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0.4rem;
}
.bvxnz-meta a { color: var(--muted); }
.bvxnz-row-excerpt { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 640px) {
  .bvxnz-row { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.9rem; }
}

/* ---------- Archive headers ---------- */

.bvxnz-archive-head { margin-bottom: 1.75rem; }
.bvxnz-archive-desc { color: var(--muted); max-width: var(--prose); }
.bvxnz-archive-desc p { margin: 0 0 0.75rem; }

/* ---------- Pagination ---------- */

.bvxnz-pagination {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
}
.bvxnz-pagination .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  text-decoration: none;
  background: var(--surface);
}
.bvxnz-pagination .page-numbers.current { background: var(--slate); border-color: var(--slate); color: #fff; }
.bvxnz-pagination .page-numbers:hover:not(.current):not(.dots) { border-color: var(--slate); }
.bvxnz-pagination .dots { border: none; background: none; }

/* ---------- Single post ---------- */

.bvxnz-article { max-width: var(--prose); }

.bvxnz-featured {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: var(--media-ratio);
  background: var(--slate-soft);
}
.bvxnz-featured img { width: 100%; height: 100%; object-fit: cover; }

.bvxnz-body > *:first-child { margin-top: 0; }
.bvxnz-body img { border-radius: var(--radius); border: 1px solid var(--border); }

.bvxnz-page-links { margin: 1.5rem 0; font-size: 0.85rem; }

.bvxnz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2rem 0 0;
}
.bvxnz-tags a {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--slate);
  text-decoration: none;
  background: var(--surface);
}
.bvxnz-tags a:hover { border-color: var(--slate); }

.bvxnz-bio {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.bvxnz-bio .avatar { border-radius: var(--radius); width: 3.5rem; height: 3.5rem; }
.bvxnz-bio-name {
  margin: 0 0 0.2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}
.bvxnz-bio-name a { color: var(--fg); text-decoration: none; }
.bvxnz-bio-name a:hover { text-decoration: underline; }
.bvxnz-bio-text { margin: 0; font-size: 0.9rem; color: var(--muted); }

.bvxnz-related { margin: 2.5rem 0 0; }
.bvxnz-related-heading { margin: 0 0 1rem; font-size: 1.15rem; }
.bvxnz-related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.9rem;
}
.bvxnz-related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.bvxnz-related-card a { text-decoration: none; color: var(--fg); }
.bvxnz-related-thumb {
  display: block;
  aspect-ratio: var(--thumb-ratio);
  background: var(--slate-soft);
  border-bottom: 1px solid var(--border);
}
.bvxnz-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bvxnz-related-body { padding: 0.7rem 0.8rem 0.8rem; }
.bvxnz-related-title { margin: 0; font-size: 0.88rem; line-height: 1.4; font-weight: 600; }
.bvxnz-related-date { display: block; margin-top: 0.3rem; font-size: 0.75rem; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.bvxnz-note {
  margin: 2.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: 0.9rem;
  color: var(--fg);
}
.bvxnz-note p { margin: 0; }

/* ---------- Sidebar ---------- */

.bvxnz-side-block {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.92rem;
}
.bvxnz-side-title {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bvxnz-side-list { list-style: none; margin: 0; padding: 0; }
.bvxnz-side-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.bvxnz-side-list li:last-child { border-bottom: none; padding-bottom: 0; }
.bvxnz-side-list a { color: var(--fg); text-decoration: none; }
.bvxnz-side-list a:hover { color: var(--slate); text-decoration: underline; }
.bvxnz-side-date {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bvxnz-side-count { color: var(--muted); font-size: 0.78rem; margin-left: 0.3rem; }

/* ---------- Search form ---------- */

.search-form {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}
.search-form label { flex: 1; display: flex; }
.search-field {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
}
.search-field:focus { outline: 2px solid var(--slate); outline-offset: -1px; }
.search-submit {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--slate);
  border-radius: var(--radius);
  background: var(--slate);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}
.search-submit:hover { background: var(--fg); border-color: var(--fg); }

/* ---------- Comments ---------- */

.bvxnz-comments { margin: 3rem 0 0; }
.bvxnz-comments-title { font-size: 1.25rem; margin: 0 0 1.25rem; }

.bvxnz-comment-list { list-style: none; margin: 0; padding: 0; }
.bvxnz-comment-list .children { list-style: none; margin: 0; padding-left: 1.5rem; border-left: 2px solid var(--border); }

.bvxnz-comment {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.bvxnz-comment-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.bvxnz-comment-head .avatar { width: 2.4rem; height: 2.4rem; border-radius: var(--radius); }
.bvxnz-comment-author {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.bvxnz-comment-date { font-size: 0.78rem; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.bvxnz-comment-date a { color: var(--muted); text-decoration: none; }
.bvxnz-comment-date a:hover { text-decoration: underline; }
.bvxnz-comment-body p { margin: 0 0 0.6rem; font-size: 0.95rem; }
.bvxnz-comment-awaiting {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}
.bvxnz-comment-reply { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.8rem; }

.comment-respond { margin-top: 2.25rem; }
.comment-respond .comment-reply-title { font-size: 1.15rem; margin: 0 0 1rem; }
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid var(--slate); outline-offset: -1px; }
.comment-form .submit {
  border: 1px solid var(--slate);
  background: var(--slate);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.55rem 1.2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--fg); border-color: var(--fg); }

.bvxnz-comments-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
}

/* ---------- Page / 404 / Search ---------- */

.bvxnz-page-body { max-width: var(--prose); }

.bvxnz-empty {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2.5rem 2rem;
  max-width: var(--prose);
}
.bvxnz-empty .search-form { margin-top: 1.5rem; max-width: 26rem; }

/* ---------- Footer ---------- */

.bvxnz-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 1rem;
}
.bvxnz-footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}
.bvxnz-foot-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}
.bvxnz-foot-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.bvxnz-foot-group { display: block; }
.bvxnz-foot-heading {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent);
}
.bvxnz-foot-list { list-style: none; margin: 0; padding: 0; }
.bvxnz-foot-item { margin-bottom: 0.4rem; }
.bvxnz-foot-item a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bvxnz-foot-item a:hover { color: var(--fg); text-decoration: underline; }

.bvxnz-footer-base {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
}
.bvxnz-copy {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}
.bvxnz-foot-note { margin: 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Alignment / WP basics ---------- */

.alignleft { float: left; margin: 0.3rem 1.25rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.25rem; }
.aligncenter { display: block; margin: 1.25rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sticky { position: relative; }
