/* Beauty Bloom archive card density + city imagery. */
@media (min-width:1200px) {
  .bb-tax-page .bb-card-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
}
@media (min-width:900px) and (max-width:1199px) {
  .bb-tax-page .bb-card-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
}
@media (min-width:680px) and (max-width:899px) {
  .bb-tax-page .bb-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
}
@media (max-width:679px) {
  .bb-tax-page .bb-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
}

.bb-tax-page .bb-card { position:relative; }
.bb-tax-page .bb-card__media { height:165px; }
.bb-tax-page .bb-card__body { padding:0 13px 14px; }
.bb-tax-page .bb-card__title { position:relative; align-items:flex-start; gap:9px; min-height:64px; }
.bb-tax-page .bb-card__title>img {
  position:relative; z-index:3; flex:0 0 66px; width:66px; height:66px;
  margin-top:0; transform:translateY(-20px); margin-bottom:-20px;
  padding:5px; object-fit:contain; border:3px solid #fff; border-radius:13px;
  background:#fff; box-shadow:0 7px 18px rgba(38,41,31,.13);
}
.bb-tax-page .bb-card__title h3 { align-self:flex-start; margin-top:14px; font-size:15px; line-height:1.22; }
.bb-tax-page .bb-card__terms { margin:8px 0 7px; gap:5px; }
.bb-tax-page .bb-card__terms a { font-size:9px; padding:4px 7px; }
.bb-tax-page .bb-card__body p { min-height:34px; margin:0; font-size:11px; line-height:1.45; }
.bb-tax-page .bb-card__link { display:none!important; }

.bb-tax-page .is-city .bb-tax-hero__visual--standalone img { object-fit:cover; }

@media (max-width:767px) {
  .bb-tax-page .bb-card__media { height:130px; }
  .bb-tax-page .bb-card__body { padding:0 9px 11px; }
  .bb-tax-page .bb-card__title { min-height:54px; gap:7px; }
  .bb-tax-page .bb-card__title>img { width:54px; height:54px; flex-basis:54px; transform:translateY(-16px); margin-bottom:-16px; border-radius:11px; }
  .bb-tax-page .bb-card__title h3 { margin-top:10px; font-size:12px; }
  .bb-tax-page .bb-card__body p { font-size:10px; min-height:30px; }
}
