:root {
  --bc-container: 1200px;
  --bc-gold: #ffb636;
  --bc-green: #3f5c1a;
  --bc-ink: #050505;
  --bc-muted: #666;
  --bc-border: #e7e7e7;
  --bc-bg: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

img, svg, video, canvas { max-width: 100%; height: auto; }
img { display: block; }

a { color: inherit; }

button,
input,
textarea,
select { font: inherit; }

.bc-container {
  width: min(100% - 32px, var(--bc-container));
  margin-inline: auto;
}

.bc-site-main {
  min-height: 55vh;
}

.bc-content-area {
  padding-block: clamp(32px, 5vw, 72px);
}

.bc-entry-title,
.bc-archive-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.bc-entry-content > *:first-child { margin-top: 0; }
.bc-entry-content > *:last-child { margin-bottom: 0; }

.bc-post-card {
  display: grid;
  gap: 14px;
  padding-block: 24px;
  border-bottom: 1px solid var(--bc-border);
}

.bc-post-card__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.14;
}

.bc-post-card__title a {
  text-decoration: none;
}

.bc-post-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.bc-post-card__excerpt {
  color: var(--bc-muted);
}

.bc-pagination {
  margin-top: 32px;
}

.bc-screen-reader-text,
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bc-screen-reader-text:focus,
.screen-reader-text:focus {
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  padding: 10px 14px !important;
  border-radius: 4px;
  background: #fff;
  color: #000;
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
}

.bc-native-menu-host {
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:1px!important;
  height:1px!important;
  max-width:1px!important;
  max-height:1px!important;
  overflow:visible!important;
  z-index:999999!important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.bc-site-main--landing-shell {
  min-height: 0;
}

.bc-content-area--landing-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.bc-content-area--landing-shell .bc-page,
.bc-content-area--landing-shell .bc-entry-content {
  margin: 0;
  padding: 0;
}


/* BUDCLUB page-builder templates */
body.budclub-template-canvas,
body.budclub-template-full-width {
  background: var(--bc-bg);
}

.bc-canvas-main,
.bc-full-width-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.bc-canvas-content,
.bc-full-width-content > * {
  max-width: none;
}

.bc-canvas-content > *:first-child,
.bc-full-width-content > *:first-child {
  margin-top: 0;
}

.bc-canvas-content > *:last-child,
.bc-full-width-content > *:last-child {
  margin-bottom: 0;
}

body.budclub-template-canvas .bc-site-main,
body.budclub-template-full-width .bc-site-main {
  min-height: 0;
}
