.bb-home { padding-block: 0 24px; }
.bb-home > * + * { margin-top: 28px; }
.bb-home-h, .bb-home-h--row h2 { font-size: 20px; margin: 32px 0 12px; }
.bb-home-h::before, .bb-home-h--row h2::before { content: ""; display: inline-block; width: 6px; height: .9em; margin-inline-end: 8px; border-radius: 3px; background: var(--bb-accent); vertical-align: -0.1em; }
.bb-home-h--row { display: flex; justify-content: space-between; align-items: baseline; }
.bb-home-h--row h2 { font-size: 20px; margin: 0; }
.bb-home-h--row a { color: var(--bb-primary); text-decoration: none; }

.bb-home-hero { display: grid; grid-template-columns: 1fr 220px; gap: 16px 24px; align-items: center; background: linear-gradient(135deg, var(--bb-primary-soft), var(--bb-bg) 65%); border-radius: 20px; padding: 32px; }
.bb-home-hero > .wp-block-html, .bb-home-hero__text { grid-column: 1; }
.bb-home-hero__text h1 { font-size: clamp(22px, 3.2vw, 34px); line-height: 1.5; margin: 0 0 6px; }
.bb-home-hero__text h1 span { color: var(--bb-accent); }
.bb-home-hero__text p { color: var(--bb-muted); margin: 0; }
.bb-home-hero__art { grid-column: 2; grid-row: 1 / span 2; width: 220px; aspect-ratio: 1; }
.bb-home-hero__art img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: var(--bb-shadow-lg); }
.bb-home-hero .bb-finder { grid-column: 1; }

.bb-home-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bb-home-trust li { background: var(--bb-surface); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); padding: 12px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.bb-home-trust span { color: var(--bb-muted); font-size: 13px; }

.bb-home-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bb-home-cats a { background: var(--bb-surface); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); padding: 16px 6px; text-align: center; color: var(--bb-text); text-decoration: none; font-weight: 600; transition: transform .15s; }
.bb-home-cats a:hover { transform: translateY(-2px); color: var(--bb-accent); }
.bb-home-cats a:hover i { color: var(--bb-accent); }
.bb-home-cats i { display: block; font-style: normal; font-size: 26px; color: var(--bb-primary); margin-bottom: 4px; }

.bb-home-photo { background: var(--bb-primary); color: #fff; border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bb-home-photo .bb-btn { background: #fff; color: var(--bb-primary); white-space: nowrap; }
.bb-home-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-home-duo h2 { font-size: 18px; margin: 0 0 6px; }
.bb-home-wholesale { background: var(--bb-dark); color: #fff; border-radius: 16px; padding: 24px; }
.bb-home-wholesale h2 { color: #fff; }
.bb-home-wholesale p { color: #c9d3e2; }
.bb-home-consult { background: var(--bb-surface); border-radius: 16px; box-shadow: var(--bb-shadow); padding: 24px; }

.bb-home-blog { display: grid; gap: 12px; padding: 0; }
.bb-home-blog li { background: var(--bb-surface); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); padding: 16px; list-style: none; }
.bb-home-blog a { font-weight: 700; color: var(--bb-text); text-decoration: none; }

@media (max-width: 900px) {
  .bb-home-hero { grid-template-columns: 1fr; padding: 20px 16px; }
  .bb-home-hero__art { display: none; }
  .bb-home-trust { grid-template-columns: 1fr 1fr; }
  .bb-home-cats { grid-template-columns: repeat(3, 1fr); }
  .bb-home-duo { grid-template-columns: 1fr; }
  .bb-home-photo { flex-direction: column; text-align: center; }
}

/* The homepage hero replaces Blocksy's page title. */
.home .hero-section, .home .entry-header { display: none; }
@media (min-width: 901px) { .bb-home-blog { grid-template-columns: repeat(3, 1fr); } }
