 .bhqt-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:26px 0}.bhqt-pagination a,.bhqt-pagination span{display:inline-block;padding:8px 13px;border:1px solid #d8dce2;border-radius:5px;text-decoration:none;line-height:1.3}.bhqt-pagination .current{background:#192237;color:#fff;border-color:#192237}.bhqt-pagination a:hover{background:#f1f3f5}.bhqt{position:relative;max-width:100%;--bhqt-cols:3;--bhqt-gap:20px;--bhqt-radius:12px;--bhqt-imgheight:170px;--bhqt-visible:var(--bhqt-cols)}.bhqt *{box-sizing:border-box}.bhqt-track{gap:var(--bhqt-gap)}.bhqt.is-grid .bhqt-track{display:grid;grid-template-columns:repeat(var(--bhqt-visible),minmax(0,1fr))}.bhqt-item{position:relative;min-width:0;overflow:hidden;border:1px solid #e5e7eb;border-radius:var(--bhqt-radius);background:#fff}.bhqt-card-link{position:absolute;inset:0;z-index:1}.bhqt-body a,.bhqt-read-more{position:relative;z-index:2}.bhqt-read-more{display:inline-block;margin-top:16px;font-weight:600;text-decoration:underline}.bhqt-image img{display:block;width:100%;height:var(--bhqt-imgheight);object-fit:cover}.bhqt-copy{padding:20px}.bhqt-title{margin:0 0 12px;font-size:20px;line-height:1.3}.bhqt-body{font-size:15px;line-height:1.6}.bhqt-body>:last-child{margin-bottom:0}.bhqt.is-slider .bhqt-window{overflow:hidden}.bhqt.is-slider .bhqt-track{display:flex;transition:transform .45s ease;align-items:stretch}.bhqt.is-slider .bhqt-item{flex:0 0 calc((100% - (var(--bhqt-visible) - 1)*var(--bhqt-gap))/var(--bhqt-visible))}.bhqt-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:#192237;color:#fff;width:36px;height:44px;font-size:24px;cursor:pointer}.bhqt-nav:hover,.bhqt-nav:focus-visible{background:#293a57;color:#fff}.bhqt-prev{left:-18px}.bhqt-next{right:-18px}@media(max-width:900px){.bhqt{--bhqt-visible:2}}@media(max-width:600px){.bhqt{--bhqt-visible:1}.bhqt-prev{left:-12px}.bhqt-next{right:-12px}}

 /* Clay-inspired floating cards, scoped to modern mode */
 .bhqt-style-modern .bhqt-item{background:#f7f7f5;border:1px solid #eaeae7;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.055);overflow:hidden;break-inside:avoid;page-break-inside:avoid;transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease}
 .bhqt-style-modern .bhqt-item:hover{background:#f1f1ee;transform:translateY(-4px);box-shadow:0 15px 34px rgba(0,0,0,.10)}
 .bhqt-style-modern .bhqt-copy{padding:28px}
 .bhqt-style-modern .bhqt-head{display:flex;align-items:center;gap:13px;margin-bottom:19px;min-height:48px}
 .bhqt-style-modern .bhqt-image{width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:50%;background:#e5e5e2}
 .bhqt-style-modern .bhqt-image img{display:block;width:48px;height:48px;object-fit:cover;border-radius:50%}
 .bhqt-style-modern .bhqt-title{margin:0;font-size:17px;line-height:1.35;font-weight:700;color:#222}
 .bhqt-style-modern .bhqt-body{font-size:15px;line-height:1.7;color:#555}
 .bhqt-style-modern .bhqt-read-more{display:inline-block;margin-top:20px;color:#db541d;font-size:14px;font-weight:700;text-decoration:none}
 .bhqt-style-modern .bhqt-read-more:hover{text-decoration:underline}
 .bhqt-style-modern.is-grid .bhqt-track{display:block;columns:var(--bhqt-visible);column-gap:var(--bhqt-gap)}
 .bhqt-style-modern.is-grid .bhqt-item{display:inline-block;width:100%;margin:0 0 var(--bhqt-gap);vertical-align:top}
 .bhqt-style-modern.is-slider .bhqt-track{align-items:flex-start}
 .bhqt-style-modern.is-slider .bhqt-item{align-self:flex-start}
 @media(max-width:900px){.bhqt-style-modern.is-grid .bhqt-track{columns:2}}
 @media(max-width:600px){.bhqt-style-modern.is-grid .bhqt-track{columns:1}.bhqt-style-modern .bhqt-copy{padding:22px}}
 @media(prefers-reduced-motion:reduce){.bhqt-style-modern .bhqt-item{transition:none}.bhqt-style-modern .bhqt-item:hover{transform:none}}

/* v1.4.2: row-major masonry grid; 1 and 2 items centered, never stacked. */
.bhqt-style-modern.is-grid .bhqt-track{display:grid;columns:auto;column-gap:normal;grid-template-columns:repeat(var(--bhqt-visible),minmax(0,1fr));grid-auto-rows:8px;column-gap:var(--bhqt-gap);row-gap:var(--bhqt-gap);align-items:start}
.bhqt-style-modern.is-grid .bhqt-item{display:block;width:auto;margin:0;grid-row-end:span 1;min-width:0}
.bhqt-style-modern.is-grid.bhqt-count-1 .bhqt-track{grid-template-columns:minmax(0, min(100%, 420px));justify-content:center}
.bhqt-style-modern.is-grid.bhqt-count-2 .bhqt-track{grid-template-columns:repeat(2,minmax(0, min(50%, 420px)));justify-content:center}
@media(max-width:900px){.bhqt-style-modern.is-grid .bhqt-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bhqt-style-modern.is-grid .bhqt-track,.bhqt-style-modern.is-grid.bhqt-count-2 .bhqt-track{grid-template-columns:minmax(0,1fr)}}

/* v1.4.3 per-shortcode card palette. Defaults preserve the Clay-inspired theme. */
.bhqt-style-modern .bhqt-item {background-color:var(--bhqt-tile,#f7f7f5);border-color:var(--bhqt-border,#eaeae7)}
.bhqt-style-modern .bhqt-item:hover {background-color:var(--bhqt-tile,#f7f7f5)}
.bhqt-style-modern .bhqt-title {color:var(--bhqt-title,#222222)}
.bhqt-style-modern .bhqt-body {color:var(--bhqt-description,#555555)}
.bhqt-style-classic .bhqt-item {background-color:var(--bhqt-tile,#f7f7f5);border-color:var(--bhqt-border,#eaeae7)}
.bhqt-style-classic .bhqt-title {color:var(--bhqt-title,#222222)}
.bhqt-style-classic .bhqt-body {color:var(--bhqt-description,#555555)}

/* Per-shortcode link color (modern and classic cards). */
.bhqt .bhqt-read-more, .bhqt .bhqt-body a {color:var(--bhqt-link,#db541d)}
.bhqt .bhqt-read-more:hover, .bhqt .bhqt-body a:hover {color:var(--bhqt-link,#db541d)}
