/*
Theme Name: BruteVault
Theme URI: https://brutevault.dev
Author: BruteVault
Description: Brutalist grid directory theme for AI Skills and Prompts. Mono typography, sharp borders, zero decoration. 95+ PageSpeed.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brutevault
Tags: custom-colors, editor-style, one-column, two-columns, wide-blocks
*/

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body { font-family: var(--bv-mono); background: var(--bv-bg); color: var(--bv-text); min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bv-bg:          #F5F5F0;
  --bv-surface:     #FFFFFF;
  --bv-border:      #1A1A1A;
  --bv-border-thin: #CCCCCC;
  --bv-text:        #1A1A1A;
  --bv-text-muted:  #666666;
  --bv-accent:      #1A1A1A;

  --bv-mono: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  --bv-sans: 'IBM Plex Mono', 'Courier New', Courier, monospace;

  --bv-header-h: 54px;
  --bv-max:      1320px;
  --bv-ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--bv-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--bv-text);
}
h1 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h2 { font-size: clamp(1rem, 2vw, 1.25rem); }
h3 { font-size: 0.875rem; letter-spacing: 0.06em; }
p { font-size: 0.875rem; line-height: 1.6; color: var(--bv-text-muted); }
code, pre { font-family: var(--bv-mono); }

/* ============================================================
   LAYOUT
   ============================================================ */
.bv-container {
  width: 100%;
  max-width: var(--bv-max);
  margin-inline: auto;
  padding-inline: 0;
}
.bv-container--pad { padding-inline: 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.bv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bv-surface);
  border-bottom: 2px solid var(--bv-border);
  height: var(--bv-header-h);
}
.bv-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  max-width: var(--bv-max);
  margin-inline: auto;
}
.bv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 100%;
  border-right: 2px solid var(--bv-border);
  text-decoration: none;
  white-space: nowrap;
}
.bv-logo__diamond {
  width: 14px;
  height: 14px;
  background: var(--bv-text);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.bv-logo__text {
  font-family: var(--bv-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-text);
}
.bv-header__search {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.bv-header__search-icon {
  position: absolute;
  left: 32px;
  color: var(--bv-text-muted);
  pointer-events: none;
}
.bv-header__search form {
  display: flex;
  align-items: center;
  width: 100%;
}
.bv-search-input {
  width: 100%;
  max-width: 400px;
  height: 36px;
  border: 1.5px solid var(--bv-border);
  background: transparent;
  padding: 0 12px 0 34px;
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--bv-text);
  outline: none;
  transition: border-color 150ms;
}
.bv-search-input::placeholder { color: var(--bv-text-muted); letter-spacing: 0.08em; }
.bv-search-input:focus { border-color: var(--bv-text); }
.bv-header__nav {
  display: flex;
  align-items: center;
  height: 100%;
  border-left: 2px solid var(--bv-border);
}
.bv-nav__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bv-text);
  border-right: 2px solid var(--bv-border);
  transition: background 150ms;
  white-space: nowrap;
}
.bv-nav__link:last-child { border-right: none; }
.bv-nav__link:hover, .bv-nav__link[aria-current="page"] {
  background: var(--bv-text);
  color: var(--bv-surface);
}
.bv-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0 16px;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-left: 2px solid var(--bv-border);
}
.bv-hamburger span { display: block; width: 20px; height: 2px; background: var(--bv-text); transition: all 200ms; }
.bv-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bv-hamburger.is-open span:nth-child(2) { opacity: 0; }
.bv-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PAGE TITLE BAR
   ============================================================ */
.bv-title-bar {
  border-bottom: 2px solid var(--bv-border);
  background: var(--bv-surface);
}
.bv-title-bar__inner {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.bv-title-bar__heading { font-size: clamp(1rem, 2.5vw, 1.375rem); }
.bv-title-bar__count {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--bv-text-muted);
  border: 1.5px solid var(--bv-border-thin);
  padding: 4px 10px;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.bv-filter-bar {
  border-bottom: 2px solid var(--bv-border);
  background: var(--bv-surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.bv-filter-bar::-webkit-scrollbar { display: none; }
.bv-filter-bar__inner {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  display: flex;
  align-items: stretch;
}
.bv-filter-btn {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  color: var(--bv-text-muted);
  background: transparent;
  border-right: 1.5px solid var(--bv-border-thin);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 150ms;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.bv-filter-btn:hover { color: var(--bv-text); background: var(--bv-bg); }
.bv-filter-btn.is-active {
  color: var(--bv-text);
  background: var(--bv-bg);
  border-bottom: 3px solid var(--bv-text);
  font-weight: 700;
}

/* ============================================================
   CARD GRID — THE MAIN ATTRACTION
   ============================================================ */
.bv-grid-wrap {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
}
.bv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.bv-card {
  border-right: 1.5px solid var(--bv-border);
  border-bottom: 1.5px solid var(--bv-border);
  padding: 20px 20px 18px;
  background: var(--bv-surface);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: background 120ms;
  min-height: 200px;
}
.bv-card:nth-child(4n) { border-right: none; }
.bv-card:last-child { border-right: none; }
.bv-card:hover { background: var(--bv-bg); }

.bv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.bv-card__title {
  font-family: var(--bv-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bv-text);
  line-height: 1.2;
  flex: 1;
}
.bv-card__icon {
  flex-shrink: 0;
  color: var(--bv-text);
  opacity: 0.7;
}
.bv-card__excerpt {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--bv-text-muted);
  flex: 1;
  margin-bottom: 14px;
  min-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bv-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.bv-tag {
  font-family: var(--bv-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--bv-text-muted);
  border: 1px solid var(--bv-border-thin);
  padding: 2px 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.bv-tag--type {
  border-color: var(--bv-text);
  color: var(--bv-text);
  font-weight: 700;
}
.bv-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bv-card__tags { position: relative; z-index: 2; }
.bv-card__top   { position: relative; z-index: 2; }

/* ============================================================
   END OF DIRECTORY STRIP
   ============================================================ */
.bv-end-strip {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-top: 2px solid var(--bv-border);
  padding: 18px 24px;
  text-align: center;
}
.bv-end-strip p {
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.bv-pagination {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
  display: flex;
  align-items: stretch;
  background: var(--bv-surface);
}
.bv-pagination a,
.bv-pagination span {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-right: 1.5px solid var(--bv-border-thin);
  color: var(--bv-text-muted);
  display: flex;
  align-items: center;
  transition: all 150ms;
}
.bv-pagination a:hover { background: var(--bv-bg); color: var(--bv-text); }
.bv-pagination .current {
  background: var(--bv-text);
  color: var(--bv-surface);
  border-color: var(--bv-text);
}
.bv-pagination .dots { color: var(--bv-border-thin); }

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.bv-single-wrap {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
}
.bv-post-header {
  border-bottom: 2px solid var(--bv-border);
  padding: 28px 28px 24px;
  background: var(--bv-surface);
}
.bv-breadcrumb {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.bv-breadcrumb a { color: var(--bv-text-muted); transition: color 150ms; }
.bv-breadcrumb a:hover { color: var(--bv-text); }
.bv-breadcrumb__sep { color: var(--bv-border-thin); }
.bv-post-header__title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.bv-post-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Prompt box */
.bv-prompt-box {
  border-bottom: 2px solid var(--bv-border);
  background: var(--bv-surface);
}
.bv-prompt-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1.5px solid var(--bv-border);
  background: var(--bv-bg);
  gap: 12px;
}
.bv-prompt-box__label {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
}
.bv-prompt-box__actions { display: flex; gap: 8px; align-items: center; }
.bv-prompt-box__content {
  padding: 24px 28px;
  font-family: var(--bv-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--bv-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Content body */
.bv-content {
  padding: 28px;
  background: var(--bv-surface);
}
.bv-content h2 {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--bv-border);
}
.bv-content h3 { font-size: 0.8125rem; margin-top: 24px; margin-bottom: 8px; }
.bv-content p { margin-bottom: 14px; font-size: 0.875rem; }
.bv-content ul, .bv-content ol { padding-left: 20px; margin-bottom: 14px; }
.bv-content ul { list-style: square; }
.bv-content ol { list-style: decimal; }
.bv-content li { font-size: 0.875rem; color: var(--bv-text-muted); margin-bottom: 6px; }
.bv-content pre {
  background: var(--bv-bg);
  border: 1.5px solid var(--bv-border);
  padding: 16px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-block: 16px;
  position: relative;
}
.bv-content code {
  font-family: var(--bv-mono);
  font-size: 0.8125em;
  background: var(--bv-bg);
  border: 1px solid var(--bv-border-thin);
  padding: 1px 5px;
  color: var(--bv-text);
}
.bv-content pre code { background: none; border: none; padding: 0; }
.bv-content blockquote {
  border-left: 3px solid var(--bv-text);
  padding-left: 16px;
  color: var(--bv-text-muted);
  font-style: italic;
  margin-block: 16px;
}

/* Post footer actions */
.bv-post-actions {
  border-top: 2px solid var(--bv-border);
  display: flex;
  align-items: stretch;
  background: var(--bv-surface);
}
.bv-post-actions__btn {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-right: 1.5px solid var(--bv-border);
  background: transparent;
  color: var(--bv-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 150ms;
  text-decoration: none;
}
.bv-post-actions__btn:hover {
  background: var(--bv-text);
  color: var(--bv-surface);
}
.bv-post-actions__btn.is-success {
  color: #1a6b3a;
  border-color: #1a6b3a;
}

/* Tags section */
.bv-tags-section {
  padding: 16px 28px;
  border-top: 1.5px solid var(--bv-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bv-surface);
}

/* Related posts */
.bv-related {
  border-top: 2px solid var(--bv-border);
}
.bv-related__header {
  padding: 14px 28px;
  border-bottom: 1.5px solid var(--bv-border);
  background: var(--bv-bg);
}
.bv-related__header p {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
}
.bv-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: none;
}
.bv-related__item {
  padding: 16px 20px;
  border-right: 1.5px solid var(--bv-border);
  border-bottom: 1.5px solid var(--bv-border);
  position: relative;
  transition: background 120ms;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.bv-related__item:last-child { border-right: none; }
.bv-related__item:hover { background: var(--bv-bg); }
.bv-related__item p {
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bv-text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.bv-related__item span {
  font-family: var(--bv-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
}

/* ============================================================
   STATIC PAGES (About / Contact)
   ============================================================ */
.bv-page-wrap {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
}
.bv-page-content {
  padding: 36px 28px;
  max-width: 720px;
  background: var(--bv-surface);
}
.bv-page-content h2 {
  font-size: 0.875rem;
  border-bottom: 1.5px solid var(--bv-border);
  padding-bottom: 8px;
  margin-bottom: 14px;
  margin-top: 32px;
}
.bv-page-content p { margin-bottom: 14px; }
.bv-page-content a { color: var(--bv-text); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.bv-search-header {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
  padding: 20px 24px;
  background: var(--bv-surface);
}
.bv-search-header h1 {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.bv-search-header p {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.bv-404 {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
  border-bottom: 2px solid var(--bv-border);
  padding: 80px 28px;
  text-align: center;
  background: var(--bv-surface);
}
.bv-404__code {
  font-family: var(--bv-mono);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bv-border-thin);
  line-height: 1;
  margin-bottom: 16px;
}
.bv-404 h1 { font-size: 1rem; margin-bottom: 12px; }
.bv-404 p { font-size: 0.8125rem; margin-bottom: 28px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.bv-btn {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1.5px solid var(--bv-border);
  background: transparent;
  color: var(--bv-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 150ms;
  text-decoration: none;
}
.bv-btn:hover { background: var(--bv-text); color: var(--bv-surface); }
.bv-btn--fill { background: var(--bv-text); color: var(--bv-surface); }
.bv-btn--fill:hover { background: transparent; color: var(--bv-text); }
.bv-btn--sm { padding: 6px 12px; font-size: 0.625rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.bv-footer {
  border-top: 2px solid var(--bv-border);
  margin-top: 48px;
}
.bv-footer__inner {
  max-width: var(--bv-max);
  margin-inline: auto;
  border-left: 2px solid var(--bv-border);
  border-right: 2px solid var(--bv-border);
}
.bv-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1.5px solid var(--bv-border);
}
.bv-footer__col {
  padding: 28px 24px;
  border-right: 1.5px solid var(--bv-border);
}
.bv-footer__col:last-child { border-right: none; }
.bv-footer__col-label {
  font-family: var(--bv-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
  margin-bottom: 14px;
}
.bv-footer__brand-name {
  font-family: var(--bv-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bv-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bv-footer__brand-name .bv-logo__diamond { width: 10px; height: 10px; }
.bv-footer__col p {
  font-size: 0.8125rem;
  color: var(--bv-text-muted);
  line-height: 1.6;
  max-width: 30ch;
}
.bv-footer__links { display: flex; flex-direction: column; gap: 8px; }
.bv-footer__link {
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
  transition: color 150ms;
  text-decoration: none;
}
.bv-footer__link:hover { color: var(--bv-text); }
.bv-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.bv-footer__bottom p {
  font-family: var(--bv-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--bv-text-muted);
  text-transform: uppercase;
}

/* ============================================================
   TOAST
   ============================================================ */
.bv-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--bv-text);
  color: var(--bv-surface);
  border: 1.5px solid var(--bv-text);
  padding: 12px 20px;
  font-family: var(--bv-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: all 250ms var(--bv-ease);
  pointer-events: none;
  max-width: 320px;
}
.bv-toast.is-visible { transform: translateY(0); opacity: 1; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bv-grid { grid-template-columns: repeat(3, 1fr); }
  .bv-card:nth-child(4n) { border-right: 1.5px solid var(--bv-border); }
  .bv-card:nth-child(3n) { border-right: none; }
}
@media (max-width: 768px) {
  .bv-grid { grid-template-columns: repeat(2, 1fr); }
  .bv-card:nth-child(3n) { border-right: 1.5px solid var(--bv-border); }
  .bv-card:nth-child(2n) { border-right: none; }
  .bv-header__nav { display: none; }
  .bv-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--bv-header-h);
    left: 0; right: 0;
    background: var(--bv-surface);
    border-bottom: 2px solid var(--bv-border);
    z-index: 99;
    border-left: 2px solid var(--bv-border);
    border-right: 2px solid var(--bv-border);
  }
  .bv-header__nav.is-open .bv-nav__link {
    height: 48px;
    border-right: none;
    border-bottom: 1.5px solid var(--bv-border-thin);
  }
  .bv-hamburger { display: flex; }
  .bv-footer__top { grid-template-columns: 1fr; }
  .bv-footer__col { border-right: none; border-bottom: 1.5px solid var(--bv-border); }
  .bv-related__grid { grid-template-columns: 1fr; }
  .bv-related__item { border-right: none; }
}
@media (max-width: 480px) {
  .bv-grid { grid-template-columns: 1fr; }
  .bv-card { border-right: none; }
  .bv-card:nth-child(2n) { border-right: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
