/* Hurlyvale page helpers (loaded by novamira-sandbox/hurlyvale-pages.php, Blocksy preview only). */
/* Responsive embeds produced by the [hv_embed] shortcode */
.hv-pg-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--hv-radius-md, 14px); background: var(--hv-color-tint, #E6F8FD); }
.hv-pg-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv-pg-embed--map { aspect-ratio: 4 / 3; min-height: 280px; }
@media (min-width: 768px) { .hv-pg-embed--map { aspect-ratio: auto; height: 100%; min-height: 420px; } }
/* Tabs: the bar scrolls sideways on phones, never the page */
.hv-pg-tabset { max-width: 100%; min-width: 0; }
.hv-pg-tabset > .hv-tabs { scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.hv-pg-tabset > .hv-tabs .hv-tab { flex: 0 0 auto; }
.hv-pg-tabset > .hv-tabs .hv-tab[aria-selected="true"] { color: var(--hv-color-primary-dark, #007A99); border-bottom-color: var(--hv-color-primary, #00B8E6); }
/* Gallery lightbox */
.hv-gallery-item img, .hv-pg-zoom img { cursor: zoom-in; }
.hv-pg-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(8, 10, 18, 0.88); cursor: zoom-out; }
.hv-pg-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.hv-pg-lightbox button { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #080A12; font-size: 24px; line-height: 1; cursor: pointer; }
/* Long words must wrap on phones */
.crocoblocks-document { overflow-wrap: break-word; }
/* Paragraph rhythm inside body copy (Blocksy zeroes paragraph margins inside builder documents) */
.crocoblocks-document .hv-pg-copy p { margin: 0; }
.crocoblocks-document .hv-pg-copy p + p { margin-top: 1em; }
.crocoblocks-document .hv-pg-copy a { color: var(--hv-color-primary-dark, #007A99); }
.crocoblocks-document .hv-pg-quote p { margin: 0; }
/* Chevron marker for .hv-pg-list-item (class backgroundImage does not persist in CrocoBuilder classes, so it lives here) */
.hv-pg-list-item { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%2300B8E6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M8 4l8 8-8 8'/></svg>"); }
