@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;500;600;700;800&family=Noto+Sans+Bengali:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&family=Baloo+Da+2:wght@400;500;600;700;800&display=swap");

/*
 * Hello Barisal Global Design System
 * Part 1 Stable v1.0.0 default Noto Serif Bengali
 * Shared design system plus responsive/accessibility audit.
 */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --hb-color-primary-50: #f0fdfa;
    --hb-color-primary-100: #ccfbf1;
    --hb-color-primary-200: #99f6e4;
    --hb-color-primary-300: #5eead4;
    --hb-color-primary-400: #2dd4bf;
    --hb-color-primary-500: #14b8a6;
    --hb-color-primary-600: #0d9488;
    --hb-color-primary-700: #0f766e;
    --hb-color-primary-800: #115e59;
    --hb-color-primary-900: #134e4a;

    --hb-color-primary: var(--hb-color-primary-700);
    --hb-color-primary-hover: var(--hb-color-primary-800);
    --hb-color-primary-soft: var(--hb-color-primary-50);

    --hb-color-text: #17202a;
    --hb-color-text-muted: #667085;
    --hb-color-heading: #101828;
    --hb-color-background: #ffffff;
    --hb-color-surface: #ffffff;
    --hb-color-surface-soft: #f8fafc;
    --hb-color-border: #e4e7ec;
    --hb-color-border-strong: #d0d5dd;
    --hb-color-danger: #b42318;
    --hb-color-danger-soft: #fef3f2;
    --hb-color-warning: #b54708;
    --hb-color-warning-soft: #fffaeb;
    --hb-color-success: #067647;
    --hb-color-success-soft: #ecfdf3;
    --hb-color-info: #175cd3;
    --hb-color-info-soft: #eff8ff;

    --hb-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hb-font-bangla: "Noto Serif Bengali", "Noto Serif", Georgia, serif;
    --hb-font-body: var(--hb-font-bangla);
    --hb-font-heading: var(--hb-font-bangla);
    --hb-font-meta: var(--hb-font-bangla);

    --hb-font-size-xs: 0.75rem;
    --hb-font-size-sm: 0.875rem;
    --hb-font-size-base: 1rem;
    --hb-font-size-md: 1.0625rem;
    --hb-font-size-lg: 1.125rem;
    --hb-font-size-xl: 1.25rem;
    --hb-font-size-2xl: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
    --hb-font-size-3xl: clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem);
    --hb-font-size-4xl: clamp(2.25rem, 1.7rem + 2vw, 3.5rem);

    --hb-line-height-tight: 1.25;
    --hb-line-height-heading: 1.35;
    --hb-line-height-body: 1.7;

    --hb-space-1: 0.25rem;
    --hb-space-2: 0.5rem;
    --hb-space-3: 0.75rem;
    --hb-space-4: 1rem;
    --hb-space-5: 1.25rem;
    --hb-space-6: 1.5rem;
    --hb-space-8: 2rem;
    --hb-space-10: 2.5rem;
    --hb-space-12: 3rem;
    --hb-space-16: 4rem;
    --hb-space-20: 5rem;

    --hb-radius-sm: 0.5rem;
    --hb-radius-md: 0.75rem;
    --hb-radius-lg: 1rem;
    --hb-radius-xl: 1.25rem;
    --hb-radius-pill: 999px;

    --hb-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --hb-shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
    --hb-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);

    --hb-container-sm: 720px;
    --hb-container-md: 960px;
    --hb-container-lg: 1200px;
    --hb-container-xl: 1320px;
    --hb-container-gutter: clamp(1rem, 3vw, 2rem);

    --hb-transition-fast: 150ms ease;
    --hb-transition-base: 220ms ease;
    --hb-focus-ring: 0 0 0 3px rgba(15, 118, 110, 0.22);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

html, body {
    margin: 0;
    background: var(--hb-color-background);
    color: var(--hb-color-text);
    font-family: var(--hb-font-body);
    font-size: var(--hb-font-size-base);
    line-height: var(--hb-line-height-body);
    text-rendering: optimizeLegibility;
    font-synthesis: none;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

a {
    color: var(--hb-color-primary);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--hb-color-primary-hover);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--hb-color-primary);
    outline-offset: 2px;
    box-shadow: var(--hb-focus-ring);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--hb-space-4);
    color: var(--hb-color-heading);
    font-family: var(--hb-font-heading);
    font-synthesis: none;
    line-height: var(--hb-line-height-heading);
}

h1 { font-size: var(--hb-font-size-4xl); }
h2 { font-size: var(--hb-font-size-3xl); }
h3 { font-size: var(--hb-font-size-2xl); }
h4 { font-size: var(--hb-font-size-xl); }
h5 { font-size: var(--hb-font-size-lg); }
h6 { font-size: var(--hb-font-size-base); }

p { margin: 0 0 var(--hb-space-4); }

/* Selected typography is authoritative across Hello Barisal UI. */
.hb-site-title,
.hb-site-nav__menu,
.hb-home-hero h1,
.hb-section-heading h2,
.hb-directory-card__title,
.hb-emergency-card__title,
.hb-search-result__title {
    font-family: var(--hb-font-heading);
}

button,
input,
select,
textarea,
.hb-button {
    font-family: var(--hb-font-body);
}

small,
.hb-card__meta,
.hb-directory-card__meta,
.hb-directory-contact dt,
.hb-directory-verified-note,
.hb-emergency-detail__meta,
.hb-search-suggestion span,
.hb-search-result__meta,
.hb-search-summary,
.hb-badge {
    font-family: var(--hb-font-meta);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.hb-container {
    width: min(100% - (var(--hb-container-gutter) * 2), var(--hb-container-xl));
    margin-inline: auto;
}

.hb-container--narrow {
    max-width: var(--hb-container-sm);
}

.hb-section {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hb-section--soft {
    background: var(--hb-color-surface-soft);
}

.hb-stack {
    display: flex;
    flex-direction: column;
    gap: var(--hb-space-4);
}

.hb-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hb-space-3);
}

.hb-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hb-space-6);
}

@media (min-width: 48rem) {
    .hb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .hb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.hb-button,
button.hb-button,
input[type="submit"].hb-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: var(--hb-space-2);
    padding: 0.7rem 1.05rem;
    border: 1px solid transparent;
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--hb-transition-fast), border-color var(--hb-transition-fast), transform var(--hb-transition-fast), box-shadow var(--hb-transition-fast);
}

.hb-button:hover {
    background: var(--hb-color-primary-hover);
    color: #fff;
}

.hb-button:active { transform: translateY(1px); }

.hb-button--secondary {
    border-color: var(--hb-color-border-strong);
    background: var(--hb-color-surface);
    color: var(--hb-color-heading);
}

.hb-button--secondary:hover {
    border-color: var(--hb-color-primary);
    background: var(--hb-color-primary-soft);
    color: var(--hb-color-primary-hover);
}

.hb-button--ghost {
    background: transparent;
    color: var(--hb-color-primary);
}

.hb-button--ghost:hover {
    background: var(--hb-color-primary-soft);
    color: var(--hb-color-primary-hover);
}

.hb-button--sm {
    min-height: 38px;
    padding: 0.5rem 0.8rem;
    font-size: var(--hb-font-size-sm);
}

.hb-button--lg {
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    font-size: var(--hb-font-size-md);
}

.hb-button[disabled],
.hb-button[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Cards
   -------------------------------------------------------------------------- */
.hb-card {
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-color-surface);
    box-shadow: var(--hb-shadow-xs);
    overflow: hidden;
}

.hb-card__media { overflow: hidden; }

.hb-card__body { padding: var(--hb-space-6); }

.hb-card__title {
    margin: 0 0 var(--hb-space-2);
    font-size: var(--hb-font-size-xl);
}

.hb-card__meta {
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-sm);
}

.hb-card--interactive {
    transition: border-color var(--hb-transition-base), box-shadow var(--hb-transition-base), transform var(--hb-transition-base);
}

.hb-card--interactive:hover {
    border-color: var(--hb-color-border-strong);
    box-shadow: var(--hb-shadow-md);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Forms
   -------------------------------------------------------------------------- */
.hb-field {
    display: grid;
    gap: var(--hb-space-2);
}

.hb-label {
    color: var(--hb-color-heading);
    font-size: var(--hb-font-size-sm);
    font-weight: 700;
}

.hb-input,
.hb-select,
.hb-textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.68rem 0.8rem;
    border: 1px solid var(--hb-color-border-strong);
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-surface);
    color: var(--hb-color-text);
    transition: border-color var(--hb-transition-fast), box-shadow var(--hb-transition-fast);
}

.hb-textarea {
    min-height: 130px;
    resize: vertical;
}

.hb-input::placeholder,
.hb-textarea::placeholder { color: #98a2b3; }

.hb-input:focus,
.hb-select:focus,
.hb-textarea:focus {
    border-color: var(--hb-color-primary);
    outline: none;
    box-shadow: var(--hb-focus-ring);
}

.hb-help {
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-sm);
}

.hb-error {
    color: var(--hb-color-danger);
    font-size: var(--hb-font-size-sm);
}

/* --------------------------------------------------------------------------
   7. Badges and status primitives
   -------------------------------------------------------------------------- */
.hb-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: var(--hb-space-1);
    padding: 0.25rem 0.6rem;
    border-radius: var(--hb-radius-pill);
    background: var(--hb-color-surface-soft);
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-xs);
    font-weight: 700;
    line-height: 1.2;
}

.hb-badge--success { background: var(--hb-color-success-soft); color: var(--hb-color-success); }
.hb-badge--warning { background: var(--hb-color-warning-soft); color: var(--hb-color-warning); }
.hb-badge--danger { background: var(--hb-color-danger-soft); color: var(--hb-color-danger); }
.hb-badge--info { background: var(--hb-color-info-soft); color: var(--hb-color-info); }

/* --------------------------------------------------------------------------
   8. Section heading
   -------------------------------------------------------------------------- */
.hb-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--hb-space-4);
    margin-bottom: var(--hb-space-8);
}

.hb-section-heading__content { max-width: 760px; }

.hb-section-heading__eyebrow {
    margin: 0 0 var(--hb-space-2);
    color: var(--hb-color-primary);
    font-size: var(--hb-font-size-sm);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hb-section-heading__title { margin-bottom: var(--hb-space-2); }

.hb-section-heading__description {
    margin: 0;
    color: var(--hb-color-text-muted);
}

/* --------------------------------------------------------------------------
   9. Alerts and empty state
   -------------------------------------------------------------------------- */
.hb-alert {
    padding: var(--hb-space-4) var(--hb-space-5);
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-surface-soft);
}

.hb-alert--success { border-color: #abefc6; background: var(--hb-color-success-soft); }
.hb-alert--warning { border-color: #fedf89; background: var(--hb-color-warning-soft); }
.hb-alert--danger { border-color: #fecdca; background: var(--hb-color-danger-soft); }
.hb-alert--info { border-color: #b2ddff; background: var(--hb-color-info-soft); }

.hb-empty-state {
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px dashed var(--hb-color-border-strong);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-color-surface-soft);
    text-align: center;
}

.hb-empty-state > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   10. Site shell baseline
   -------------------------------------------------------------------------- */
.hb-site-header {
    border-bottom: 1px solid var(--hb-color-border);
    background: var(--hb-color-surface);
}

.hb-site-header__inner,
.hb-site-footer__inner,
.hb-site-main > .hb-content {
    width: min(100% - (var(--hb-container-gutter) * 2), var(--hb-container-xl));
    margin-inline: auto;
}

.hb-site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
}

.hb-site-header .custom-logo {
    width: auto;
    max-height: 48px;
}

.hb-site-main { min-height: 60vh; }

.hb-content { padding-block: var(--hb-space-10); }

.hb-site-footer {
    margin-top: var(--hb-space-16);
    border-top: 1px solid var(--hb-color-border);
    background: var(--hb-color-surface-soft);
}

.hb-site-footer__inner {
    padding-block: var(--hb-space-8);
    color: var(--hb-color-text-muted);
}

/* --------------------------------------------------------------------------
   11. Accessibility utilities
   -------------------------------------------------------------------------- */
.hb-sr-only {
    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;
}

.hb-skip-link {
    position: fixed;
    top: var(--hb-space-3);
    left: var(--hb-space-3);
    z-index: 99999;
    transform: translateY(-160%);
}

.hb-skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   12. Small utilities
   -------------------------------------------------------------------------- */
.hb-text-muted { color: var(--hb-color-text-muted); }
.hb-text-center { text-align: center; }
.hb-mb-0 { margin-bottom: 0; }
.hb-mt-0 { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. Location engine presentation foundation (v0.3.0)
   -------------------------------------------------------------------------- */
.hb-location-archive { display: grid; gap: var(--hb-space-10); }
.hb-location-hero { max-width: 760px; }
.hb-location-hero h1 { margin-top: var(--hb-space-3); margin-bottom: var(--hb-space-2); }
.hb-location-english { margin-top: 0; font-size: var(--hb-font-size-lg); }
.hb-location-description { margin-top: var(--hb-space-5); }
.hb-location-section { display: grid; gap: var(--hb-space-5); }
.hb-location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--hb-space-4); }
.hb-location-card { display: flex; flex-direction: column; gap: var(--hb-space-2); text-decoration: none; }
.hb-location-card strong { color: var(--hb-color-text); }

/* --------------------------------------------------------------------------
   14. Directory Engine presentation (v0.4.0)
   -------------------------------------------------------------------------- */
.hb-directory-archive,
.hb-directory-single { display: grid; gap: var(--hb-space-8); }
.hb-directory-hero { max-width: 760px; }
.hb-directory-hero h1 { margin-top: var(--hb-space-3); margin-bottom: var(--hb-space-2); }

.hb-directory-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hb-space-4);
    padding: var(--hb-space-5);
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-color-surface-soft);
}
.hb-directory-filters__actions { display: flex; flex-wrap: wrap; align-items: end; gap: var(--hb-space-2); }

.hb-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: var(--hb-space-5);
}
.hb-directory-card { overflow: hidden; padding: 0; }
.hb-directory-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hb-color-surface-soft);
}
.hb-directory-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--hb-transition-base); }
.hb-directory-card:hover .hb-directory-card__media img { transform: scale(1.025); }
.hb-directory-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--hb-color-primary-soft), var(--hb-color-surface-soft)); }
.hb-directory-card__body { display: grid; gap: var(--hb-space-3); padding: var(--hb-space-5); }
.hb-directory-card__badges { min-height: 26px; }
.hb-directory-card__title { margin: 0; font-size: var(--hb-font-size-xl); }
.hb-directory-card__title a { color: var(--hb-color-heading); text-decoration: none; }
.hb-directory-card__meta,
.hb-directory-card__excerpt { margin: 0; color: var(--hb-color-text-muted); }
.hb-directory-card__actions { display: flex; flex-wrap: wrap; gap: var(--hb-space-2); margin-top: var(--hb-space-2); }

.hb-directory-single__header { display: flex; flex-direction: column; gap: var(--hb-space-5); }
.hb-directory-single__identity { display: flex; align-items: flex-start; gap: var(--hb-space-4); }
.hb-directory-single__identity h1 { margin-top: var(--hb-space-2); margin-bottom: var(--hb-space-2); }
.hb-directory-single__logo { flex: 0 0 84px; width: 84px; height: 84px; overflow: hidden; border: 1px solid var(--hb-color-border); border-radius: var(--hb-radius-lg); background: #fff; }
.hb-directory-single__logo img { width: 100%; height: 100%; object-fit: contain; padding: var(--hb-space-2); }
.hb-directory-single__actions { display: flex; flex-wrap: wrap; gap: var(--hb-space-2); }
.hb-directory-single__cover { overflow: hidden; border-radius: var(--hb-radius-xl); background: var(--hb-color-surface-soft); }
.hb-directory-single__cover img { width: 100%; max-height: 560px; object-fit: cover; }
.hb-directory-single__layout { display: grid; gap: var(--hb-space-8); }
.hb-directory-single__lead { font-size: var(--hb-font-size-lg); color: var(--hb-color-text-muted); }
.hb-directory-contact { align-self: start; }
.hb-directory-contact h2 { font-size: var(--hb-font-size-xl); }
.hb-directory-contact dl { display: grid; gap: 0; margin: 0; }
.hb-directory-contact dl > div { display: grid; gap: var(--hb-space-1); padding-block: var(--hb-space-3); border-bottom: 1px solid var(--hb-color-border); }
.hb-directory-contact dl > div:last-child { border-bottom: 0; }
.hb-directory-contact dt { color: var(--hb-color-text-muted); font-size: var(--hb-font-size-sm); font-weight: 700; }
.hb-directory-contact dd { margin: 0; overflow-wrap: anywhere; }
.hb-directory-verified-note { margin: var(--hb-space-4) 0 0; padding-top: var(--hb-space-4); border-top: 1px solid var(--hb-color-border); color: var(--hb-color-success); font-size: var(--hb-font-size-sm); font-weight: 700; }
.hb-directory-gallery { margin-top: var(--hb-space-8); }
.hb-directory-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hb-space-3); }
.hb-directory-gallery__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hb-radius-md); }
.hb-pagination { margin-top: var(--hb-space-4); }

@media (min-width: 48rem) {
    .hb-directory-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
    .hb-directory-single__header { flex-direction: row; align-items: center; justify-content: space-between; }
    .hb-directory-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .hb-directory-single__layout { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr); }
    .hb-directory-contact { position: sticky; top: var(--hb-space-6); }
}

/* --------------------------------------------------------------------------
   Emergency Utility — Phase 1.5 / v0.5.0
   -------------------------------------------------------------------------- */
.hb-emergency-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hb-space-4);
    margin: 0 0 var(--hb-space-8);
    padding: var(--hb-space-5);
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-color-surface-soft);
}

.hb-emergency-filters__actions,
.hb-emergency-card__actions,
.hb-emergency-detail__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hb-space-3);
    align-items: end;
}

.hb-emergency-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hb-space-5);
}

.hb-emergency-card,
.hb-emergency-detail {
    position: relative;
    overflow: hidden;
}

.hb-emergency-card::before,
.hb-emergency-detail::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--hb-color-danger, #b42318);
}

.hb-emergency-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hb-space-2);
    align-items: center;
    margin-bottom: var(--hb-space-3);
}

.hb-badge--danger {
    border-color: color-mix(in srgb, var(--hb-color-danger, #b42318) 24%, transparent);
    background: color-mix(in srgb, var(--hb-color-danger, #b42318) 8%, white);
    color: var(--hb-color-danger, #b42318);
}

.hb-emergency-card__title {
    margin-bottom: var(--hb-space-2);
    font-size: var(--hb-font-size-xl);
}

.hb-emergency-card__title a {
    color: inherit;
    text-decoration: none;
}

.hb-emergency-call {
    min-width: 7.5rem;
}

.hb-emergency-detail__contacts {
    margin: var(--hb-space-5) 0;
}

.hb-emergency-detail__meta {
    padding-top: var(--hb-space-4);
    border-top: 1px solid var(--hb-color-border);
}

@media (min-width: 48rem) {
    .hb-emergency-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
        align-items: end;
    }
    .hb-emergency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .hb-emergency-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 35rem) {
    .hb-emergency-card__actions .hb-button,
    .hb-emergency-detail__contacts .hb-button {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Universal Search Foundation — Phase 1.7 / v0.7.0
   -------------------------------------------------------------------------- */
.hb-universal-search{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--hb-space-3);position:relative}
.hb-universal-search__field{position:relative}
.hb-universal-search input[type="search"],.hb-universal-search select{width:100%;min-height:3rem}
.hb-search-suggestions{position:absolute;z-index:30;top:calc(100% + .4rem);left:0;right:0;padding:.45rem;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-md);background:var(--hb-color-surface);box-shadow:var(--hb-shadow-lg);max-height:24rem;overflow:auto}
.hb-search-suggestion{display:grid;gap:.15rem;padding:.7rem .8rem;border-radius:var(--hb-radius-sm);color:var(--hb-color-text);text-decoration:none}
.hb-search-suggestion:hover,.hb-search-suggestion:focus-visible{background:var(--hb-color-surface-soft)}
.hb-search-suggestion span,.hb-search-result__meta,.hb-search-summary{color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
.hb-search-group{margin-top:var(--hb-space-8)}
.hb-search-group__heading{display:flex;align-items:center;justify-content:space-between;gap:var(--hb-space-3);margin-bottom:var(--hb-space-4)}
.hb-search-group__heading h2{margin:0}
.hb-search-results{display:grid;gap:var(--hb-space-4)}
.hb-search-result h3{margin-bottom:var(--hb-space-2)}
.hb-search-result h3 a{color:inherit;text-decoration:none}
.hb-search-result p:last-child{margin-bottom:0}
@media (min-width:48rem){.hb-universal-search{grid-template-columns:minmax(0,1.7fr) minmax(12rem,.7fr) auto;align-items:center}.hb-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* --------------------------------------------------------------------------
   Homepage & Public Templates — Phase 1.8 / v0.8.0
   -------------------------------------------------------------------------- */
.hb-home{display:grid}.hb-home-section{padding-block:var(--hb-space-10)}.hb-home-section--soft{background:var(--hb-color-surface-soft)}
.hb-home-hero{padding-block:clamp(3rem,8vw,6.5rem);background:linear-gradient(180deg,var(--hb-color-primary-soft),var(--hb-color-surface))}
.hb-home-hero__inner{display:grid;gap:var(--hb-space-8);align-items:center}.hb-home-hero__copy{max-width:760px}.hb-home-hero h1{margin:var(--hb-space-4) 0 var(--hb-space-3);font-size:clamp(2.25rem,7vw,4.75rem);line-height:1.05}.hb-home-hero__copy p{max-width:680px;margin:0;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-lg)}
.hb-home-search-card{padding:var(--hb-space-5)}.hb-home-search-card .hb-universal-search{margin:0}
.hb-section-heading{margin-bottom:var(--hb-space-6)}.hb-section-heading h2{margin:.2rem 0 0}.hb-section-heading__eyebrow{margin:0;color:var(--hb-color-primary);font-size:var(--hb-font-size-sm);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.hb-section-heading--row{display:flex;flex-direction:column;gap:var(--hb-space-3)}
.hb-quick-grid,.hb-district-grid,.hb-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3)}
.hb-quick-card,.hb-district-card,.hb-category-card{position:relative;text-decoration:none;color:inherit}.hb-quick-card{display:grid;gap:.2rem;min-height:130px;align-content:center}.hb-quick-card>span:first-child{font-size:1.5rem;color:var(--hb-color-primary)}.hb-quick-card small,.hb-district-card span,.hb-category-card span{color:var(--hb-color-text-muted)}
.hb-district-card{display:grid;gap:.2rem;padding-right:3rem}.hb-district-card__arrow{position:absolute;right:var(--hb-space-5);top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--hb-color-primary)}
.hb-home-emergency-grid,.hb-home-directory-grid{margin-top:0}.hb-category-card{display:grid;gap:.35rem}.hb-category-card strong{color:var(--hb-color-heading)}
.hb-home-cta{padding-top:0}.hb-home-cta__card{display:grid;gap:var(--hb-space-5);padding:clamp(1.5rem,5vw,3rem);background:var(--hb-color-surface-soft)}.hb-home-cta__card h2{margin:.35rem 0 var(--hb-space-2)}.hb-home-cta__actions{display:flex;flex-wrap:wrap;gap:var(--hb-space-3);align-items:center}
.hb-public-page,.hb-public-state{padding-block:var(--hb-space-10)}.hb-public-page__article{max-width:820px;margin-inline:auto}.hb-public-page__header{margin-bottom:var(--hb-space-6)}.hb-public-page__content>*+*{margin-top:var(--hb-space-4)}.hb-public-state{min-height:55vh;display:grid;align-items:center}.hb-public-state .hb-empty-state{max-width:760px;margin-inline:auto}.hb-public-state .hb-universal-search{margin-top:var(--hb-space-5)}
.hb-site-header{position:relative;z-index:20;border-bottom:1px solid var(--hb-color-border);background:var(--hb-color-surface)}.hb-site-header__inner{display:flex;flex-direction:column;gap:var(--hb-space-3);padding-block:var(--hb-space-4)}.hb-site-title{color:var(--hb-color-heading);font-size:var(--hb-font-size-xl);font-weight:800;text-decoration:none}.hb-site-brand .custom-logo{display:block;max-height:54px;width:auto}.hb-site-nav__menu{display:flex;flex-wrap:wrap;gap:var(--hb-space-2) var(--hb-space-4);list-style:none;margin:0;padding:0}.hb-site-nav__menu a{color:var(--hb-color-text);font-weight:700;text-decoration:none}.hb-site-nav__menu a:hover,.hb-site-nav__menu a:focus-visible{color:var(--hb-color-primary)}
.hb-site-footer{margin-top:var(--hb-space-10);border-top:1px solid var(--hb-color-border);background:var(--hb-color-surface-soft)}.hb-site-footer__inner{display:grid;gap:var(--hb-space-5);padding-block:var(--hb-space-8)}.hb-site-footer__brand p{margin:.4rem 0 0;color:var(--hb-color-text-muted)}.hb-site-footer__menu{display:flex;flex-wrap:wrap;gap:var(--hb-space-2) var(--hb-space-4);list-style:none;margin:0;padding:0}.hb-site-footer__menu a{text-decoration:none}.hb-site-footer__copyright{margin:0;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
@media (min-width:48rem){.hb-section-heading--row{flex-direction:row;align-items:end;justify-content:space-between}.hb-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-district-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-site-header__inner{flex-direction:row;align-items:center;justify-content:space-between}.hb-site-footer__inner{grid-template-columns:minmax(0,1fr) auto;align-items:start}.hb-site-footer__copyright{grid-column:1/-1}.hb-home-cta__card{grid-template-columns:minmax(0,1fr) auto;align-items:center}}
@media (min-width:64rem){.hb-home-hero__inner{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr)}.hb-quick-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.hb-district-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.hb-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* --------------------------------------------------------------------------
   Responsive & Accessibility Audit — Phase 1.11 / v0.11.0
   -------------------------------------------------------------------------- */
.screen-reader-text,
.hb-sr-only {
    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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hb-site-main:focus { outline: 0; }

.hb-content,
.hb-card,
.hb-entry-content,
.hb-public-page__content {
    overflow-wrap: anywhere;
}

.hb-button--sm { min-height: 44px; }

.hb-site-nav__menu a,
.hb-site-footer__menu a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.hb-quick-card,
.hb-district-card,
.hb-category-card,
.hb-location-card {
    min-height: 44px;
}

.hb-report-card { margin-top: var(--hb-space-6); }
.hb-report-card details { margin-top: var(--hb-space-3); }
.hb-report-card summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    color: var(--hb-color-primary);
    font-weight: 700;
    cursor: pointer;
}
.hb-report-form {
    display: grid;
    gap: var(--hb-space-4);
    margin-top: var(--hb-space-4);
}
.hb-report-form label {
    display: grid;
    gap: var(--hb-space-2);
    color: var(--hb-color-heading);
    font-weight: 700;
}
.hb-report-form select,
.hb-report-form input[type="email"],
.hb-report-form textarea {
    width: 100%;
    min-height: 44px;
    padding: .68rem .8rem;
    border: 1px solid var(--hb-color-border-strong);
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-surface);
    color: var(--hb-color-text);
    font-weight: 400;
}
.hb-report-form textarea { min-height: 7rem; resize: vertical; }
.hb-report-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

.hb-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hb-space-2);
    align-items: center;
}
.hb-pagination .page-numbers {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .5rem .7rem;
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-sm);
    text-decoration: none;
}
.hb-pagination .page-numbers.current {
    border-color: var(--hb-color-primary);
    background: var(--hb-color-primary-soft);
    color: var(--hb-color-primary-hover);
    font-weight: 800;
}

@media (max-width: 35rem) {
    :root { --hb-container-gutter: 1rem; }
    .hb-home-section { padding-block: var(--hb-space-8); }
    .hb-home-hero { padding-block: var(--hb-space-10); }
    .hb-home-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
    .hb-quick-grid,
    .hb-district-grid,
    .hb-category-grid { grid-template-columns: minmax(0, 1fr); }
    .hb-section-heading--row .hb-button,
    .hb-home-cta__actions .hb-button,
    .hb-directory-filters__actions .hb-button,
    .hb-emergency-filters__actions .hb-button { width: 100%; }
    .hb-site-nav__menu { gap: var(--hb-space-1) var(--hb-space-3); }
    .hb-directory-card__actions .hb-button { flex: 1 1 100%; }
}

@media (min-width: 35.01rem) and (max-width: 47.99rem) {
    .hb-quick-grid,
    .hb-district-grid,
    .hb-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hb-card--interactive:hover { transform: none; }
}

@media (forced-colors: active) {
    .hb-button,
    .hb-card,
    .hb-input,
    .hb-select,
    .hb-textarea,
    .hb-report-form select,
    .hb-report-form input[type="email"],
    .hb-report-form textarea { border: 1px solid ButtonText; }
}


/* Stable v1.0.0 typography layer. Body classes are generated from saved settings. */
body.hb-heading-noto-serif-bengali { --hb-font-heading: "Noto Serif Bengali", "Noto Serif", Georgia, serif; }
body.hb-heading-noto-sans-bengali { --hb-font-heading: "Noto Sans Bengali", sans-serif; }
body.hb-heading-hind-siliguri { --hb-font-heading: "Hind Siliguri", sans-serif; }
body.hb-heading-baloo-da-2 { --hb-font-heading: "Baloo Da 2", sans-serif; }
body.hb-body-noto-serif-bengali { --hb-font-body: "Noto Serif Bengali", "Noto Serif", Georgia, serif; }
body.hb-body-noto-sans-bengali { --hb-font-body: "Noto Sans Bengali", sans-serif; }
body.hb-body-hind-siliguri { --hb-font-body: "Hind Siliguri", sans-serif; }
body.hb-body-baloo-da-2 { --hb-font-body: "Baloo Da 2", sans-serif; }
body.hb-meta-noto-serif-bengali { --hb-font-meta: "Noto Serif Bengali", "Noto Serif", Georgia, serif; }
body.hb-meta-noto-sans-bengali { --hb-font-meta: "Noto Sans Bengali", sans-serif; }
body.hb-meta-hind-siliguri { --hb-font-meta: "Hind Siliguri", sans-serif; }
body.hb-meta-baloo-da-2 { --hb-font-meta: "Baloo Da 2", sans-serif; }

body, input, textarea, select, button { font-family: var(--hb-font-body); }
h1, h2, h3, h4, h5, h6, .hb-site-title, .hb-site-nav__menu a, .hb-home-hero h1, .hb-section-heading h2, .hb-directory-card__title, .hb-emergency-card__title, .hb-search-result__title { font-family: var(--hb-font-heading); }
small, .hb-card__meta, .hb-directory-card__meta, .hb-directory-contact dt, .hb-directory-verified-note, .hb-emergency-detail__meta, .hb-search-suggestion span, .hb-search-result__meta, .hb-search-summary, .hb-badge { font-family: var(--hb-font-meta); }

/* --------------------------------------------------------------------------
   News Preview & Attribution — Phase 2.8 / v1.9.0
   -------------------------------------------------------------------------- */
.hb-news-preview{max-width:920px;margin-inline:auto;padding-block:var(--hb-space-10)}
.hb-news-preview__header{display:grid;gap:var(--hb-space-3);margin-bottom:var(--hb-space-6)}
.hb-news-preview__header h1{margin:0;font-size:clamp(2rem,5.5vw,3.75rem);line-height:1.12}
.hb-news-preview__badges{margin-bottom:var(--hb-space-1)}
.hb-news-preview__meta{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
.hb-news-preview__media{margin:0 0 var(--hb-space-6);overflow:hidden;border-radius:var(--hb-radius-lg);background:var(--hb-color-surface-soft)}
.hb-news-preview__media img{display:block;width:100%;max-height:560px;object-fit:cover}
.hb-news-preview__summary{max-width:780px;margin-bottom:var(--hb-space-7);font-size:clamp(1.08rem,2vw,1.22rem);line-height:1.8}
.hb-news-preview__summary p{margin:0}
.hb-news-source{display:grid;gap:var(--hb-space-5);align-items:center}
.hb-news-source__identity{display:flex;gap:var(--hb-space-4);align-items:center;min-width:0}
.hb-news-source__logo{width:58px;height:58px;flex:0 0 58px;object-fit:contain;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-md);background:var(--hb-color-surface)}
.hb-news-source__label{margin:0 0 .15rem;color:var(--hb-color-primary);font-size:var(--hb-font-size-sm);font-weight:800}
.hb-news-source h2{margin:0 0 .2rem;font-size:var(--hb-font-size-xl)}
.hb-news-source__actions{display:flex;flex-wrap:wrap;gap:var(--hb-space-3)}
.hb-news-preview__notice{margin-top:var(--hb-space-5)}
.hb-news-preview__notice p{margin:0}
@media (min-width:48rem){.hb-news-source{grid-template-columns:minmax(0,1fr) auto}.hb-news-source__actions{justify-content:flex-end}}
@media (max-width:35rem){.hb-news-source__identity{align-items:flex-start}.hb-news-source__actions .hb-button{width:100%}}

/* News discovery — Part 2.9 */
.hb-news-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hb-space-4);align-items:end;padding:var(--hb-space-5);margin-top:var(--hb-space-6)}
.hb-news-filters label{display:grid;gap:var(--hb-space-2);font-weight:600}.hb-news-filters select{width:100%}.hb-news-filters__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-5)}.hb-news-card{overflow:hidden;padding:0}.hb-news-card__media{display:block;aspect-ratio:16/9;background:var(--hb-color-surface-soft)}.hb-news-card__media img{width:100%;height:100%;object-fit:cover}.hb-news-card__body{padding:var(--hb-space-5)}.hb-news-card__meta{display:flex;gap:var(--hb-space-2);align-items:center;flex-wrap:wrap;font-size:.875rem;color:var(--hb-color-text-muted);margin-bottom:var(--hb-space-3)}.hb-news-card__title{margin:0 0 var(--hb-space-3);font-size:clamp(1.1rem,2vw,1.35rem)}.hb-news-card__title a{text-decoration:none;color:inherit}.hb-news-card__context{font-size:.9rem;color:var(--hb-color-text-muted)}.hb-news-card__link{font-weight:700;text-decoration:none}.hb-location-news{margin-top:var(--hb-space-8)}
@media (max-width:980px){.hb-news-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.hb-news-filters,.hb-news-grid{grid-template-columns:1fr}.hb-news-filters__actions .hb-button{width:100%}}


/* --------------------------------------------------------------------------
   Homepage News Integration — Part 2 Phase 2.10 / v1.10.0
   -------------------------------------------------------------------------- */
.hb-home-news .hb-section-heading > div > p:last-child{max-width:46rem;margin:.45rem 0 0;color:var(--hb-color-text-muted)}
.hb-home-news__layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:var(--hb-space-5);align-items:start}
.hb-home-news__lead{min-width:0}.hb-home-news-lead{overflow:hidden;padding:0}.hb-home-news-lead__media{display:block;aspect-ratio:16/8.5;background:var(--hb-color-surface-soft)}.hb-home-news-lead__media img{width:100%;height:100%;object-fit:cover}.hb-home-news-lead__body{padding:clamp(1.25rem,3vw,2rem)}.hb-home-news-lead h3{margin:0 0 var(--hb-space-3);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.24}.hb-home-news-lead h3 a,.hb-home-news-item h3 a{text-decoration:none;color:inherit}.hb-home-news-lead__body>p:not(.hb-news-card__context){margin-bottom:var(--hb-space-3);color:var(--hb-color-text);line-height:1.75}
.hb-home-news__latest{display:grid;gap:var(--hb-space-3)}.hb-home-news-item{padding:var(--hb-space-4)}.hb-home-news-item h3{margin:0 0 var(--hb-space-2);font-size:clamp(1rem,1.8vw,1.18rem);line-height:1.4}.hb-home-news-item .hb-news-card__meta{margin-bottom:var(--hb-space-2)}.hb-home-news-item .hb-news-card__context{margin:0}
@media (max-width:58rem){.hb-home-news__layout{grid-template-columns:1fr}.hb-home-news__latest{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:40rem){.hb-home-news__latest{grid-template-columns:1fr}.hb-home-news .hb-section-heading--row .hb-button{width:100%}.hb-home-news-lead__media{aspect-ratio:16/10}}


/* Part 2 Phase 2.11 — Story Clustering & Ranking */
.hb-badge--cluster{background:var(--hb-color-surface-soft);color:var(--hb-color-primary);border:1px solid var(--hb-color-border)}
.hb-news-cluster{margin:var(--hb-space-6) 0;padding:clamp(1rem,3vw,1.5rem)}
.hb-news-cluster__heading h2{margin:.25rem 0 var(--hb-space-4);font-size:clamp(1.2rem,2.4vw,1.6rem)}
.hb-news-cluster__sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3)}
.hb-news-cluster__source{display:flex;align-items:center;justify-content:space-between;gap:var(--hb-space-3);padding:var(--hb-space-3);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-md);text-decoration:none;color:inherit;background:var(--hb-color-surface)}
.hb-news-cluster__source span{font-size:.875rem;color:var(--hb-color-text-muted)}
@media (max-width:40rem){.hb-news-cluster__sources{grid-template-columns:1fr}.hb-news-cluster__source{align-items:flex-start;flex-direction:column}}


/* RC8 — Native WordPress Editorial Features + Imported News 5×2 */
.hb-editorial-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:var(--hb-space-5);align-items:stretch}
.hb-editorial-lead{overflow:hidden;padding:0;min-height:100%}.hb-editorial-lead__media{display:block;aspect-ratio:16/9;background:var(--hb-color-surface-soft)}.hb-editorial-lead__media img{display:block;width:100%;height:100%;object-fit:cover}.hb-editorial-lead__body{padding:clamp(1.25rem,3vw,2rem)}.hb-editorial-lead h3{margin:.4rem 0 var(--hb-space-3);font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.22}.hb-editorial-lead h3 a,.hb-editorial-item h3 a,.hb-imported-news-row h3 a{text-decoration:none;color:inherit}.hb-editorial-lead p{line-height:1.75;color:var(--hb-color-text-muted)}
.hb-editorial-meta{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-family:var(--hb-font-meta);font-size:.84rem;color:var(--hb-color-text-muted)}
.hb-editorial-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3)}.hb-editorial-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:var(--hb-space-3);align-items:center;padding:var(--hb-space-3)}.hb-editorial-item__thumb{display:block;width:88px;aspect-ratio:1/1;border-radius:var(--hb-radius-sm);overflow:hidden;background:var(--hb-color-surface-soft)}.hb-editorial-item__thumb img{width:100%;height:100%;object-fit:cover}.hb-editorial-item h3{margin:.25rem 0 0;font-size:1.02rem;line-height:1.42}
.hb-imported-news-block{margin-top:clamp(2rem,5vw,4rem);padding-top:clamp(1.5rem,4vw,2.5rem);border-top:1px solid var(--hb-color-border)}.hb-section-heading--compact{margin-bottom:var(--hb-space-4)}.hb-imported-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,5vw,4rem);border-top:1px solid var(--hb-color-border)}.hb-imported-news-row{padding:var(--hb-space-4) 0;border-bottom:1px solid var(--hb-color-border)}.hb-imported-news-row:nth-child(odd){padding-right:var(--hb-space-3)}.hb-imported-news-row:nth-child(even){padding-left:var(--hb-space-3)}.hb-imported-news-row__meta{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;margin-bottom:.35rem;font-family:var(--hb-font-meta);font-size:.8rem;color:var(--hb-color-text-muted)}.hb-imported-news-row__meta span:first-child{color:var(--hb-color-primary);font-weight:700}.hb-imported-news-row h3{margin:0;font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.45}.hb-imported-news-row p{margin:.35rem 0 0;font-size:.84rem;color:var(--hb-color-text-muted)}
@media(max-width:58rem){.hb-editorial-layout{grid-template-columns:1fr}.hb-editorial-support{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:42rem){.hb-editorial-support,.hb-imported-news-grid{grid-template-columns:1fr}.hb-editorial-item{grid-template-columns:72px minmax(0,1fr)}.hb-editorial-item__thumb{width:72px}.hb-imported-news-row:nth-child(odd),.hb-imported-news-row:nth-child(even){padding-inline:0}}


/* Phase 3.2 — Doctor Directory */
.hb-healthcare-hero{margin-bottom:var(--hb-space-8)}
.hb-doctor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-6)}
.hb-doctor-card{overflow:hidden;padding:0}
.hb-doctor-card__photo{display:block;aspect-ratio:4/3;background:var(--hb-color-surface-subtle);overflow:hidden}
.hb-doctor-card__photo img{width:100%;height:100%;object-fit:cover}
.hb-doctor-card__placeholder{display:grid;width:100%;height:100%;min-height:180px;place-items:center;background:var(--hb-color-surface-subtle);color:var(--hb-color-text-muted)}
.hb-doctor-card__placeholder .dashicons{width:auto;height:auto;font-size:48px}
.hb-doctor-card__body{padding:var(--hb-space-5)}
.hb-doctor-card__title{margin:var(--hb-space-3) 0 var(--hb-space-2);font-size:var(--hb-font-size-xl)}
.hb-doctor-card__title a{text-decoration:none;color:inherit}
.hb-doctor-card__degrees{margin:0 0 var(--hb-space-2);font-weight:600}
.hb-doctor-card__meta,.hb-doctor-card__location,.hb-doctor-card__excerpt{margin:var(--hb-space-2) 0;color:var(--hb-color-text-muted)}
.hb-doctor-card__location{font-weight:600}
.hb-doctor-profile{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:var(--hb-space-8);align-items:center;margin-bottom:var(--hb-space-8)}
.hb-doctor-profile__photo{aspect-ratio:1/1;overflow:hidden;border-radius:var(--hb-radius-xl);background:var(--hb-color-surface-subtle)}
.hb-doctor-profile__photo img{width:100%;height:100%;object-fit:cover}
.hb-doctor-profile__identity h1{margin:var(--hb-space-3) 0}
.hb-doctor-profile__degrees{font-weight:600;line-height:1.6}
.hb-doctor-profile__meta,.hb-doctor-profile__location{margin:var(--hb-space-2) 0;color:var(--hb-color-text-muted)}
.hb-doctor-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:var(--hb-space-8);align-items:start}
.hb-doctor-section+ .hb-doctor-section{margin-top:var(--hb-space-8)}
.hb-doctor-facts{padding:var(--hb-space-6);position:sticky;top:32px}
.hb-doctor-facts h2{margin-top:0}
.hb-doctor-facts dl{margin:0}
.hb-doctor-facts dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-doctor-facts dt{font-weight:700}
.hb-doctor-facts dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-doctor-verified{margin-bottom:0;font-size:var(--hb-font-size-sm);color:var(--hb-color-text-muted)}
@media (max-width:1024px){
  .hb-doctor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .hb-doctor-grid{grid-template-columns:1fr}
  .hb-doctor-profile{grid-template-columns:1fr;gap:var(--hb-space-5)}
  .hb-doctor-profile__photo{max-width:240px}
  .hb-doctor-single__layout{grid-template-columns:1fr}
  .hb-doctor-facts{position:static}
}

/* Phase 3.3 — Healthcare Facilities */
.hb-facility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-6)}
.hb-facility-card{padding:0;overflow:hidden}
.hb-facility-card__media{display:block;aspect-ratio:16/10;background:var(--hb-color-surface-subtle);overflow:hidden}
.hb-facility-card__media img{width:100%;height:100%;object-fit:cover}
.hb-facility-card__placeholder{display:grid;width:100%;height:100%;place-items:center;color:var(--hb-color-text-muted)}
.hb-facility-card__placeholder .dashicons{font-size:48px;width:auto;height:auto}
.hb-facility-card__body{padding:var(--hb-space-5)}
.hb-facility-card__title{margin:var(--hb-space-3) 0 var(--hb-space-2)}
.hb-facility-card__title a{text-decoration:none;color:inherit}
.hb-facility-card__meta,.hb-facility-card__excerpt{margin:var(--hb-space-2) 0;color:var(--hb-color-text-muted)}
.hb-facility-card__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-facility-profile{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--hb-space-6);margin-bottom:var(--hb-space-6)}
.hb-facility-profile__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-facility-cover{margin-bottom:var(--hb-space-8);overflow:hidden;border-radius:var(--hb-radius-xl)}
.hb-facility-cover img{width:100%;height:auto;display:block}
.hb-facility-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:var(--hb-space-8);align-items:start}
.hb-facility-contact{padding:var(--hb-space-6);position:sticky;top:32px}
.hb-facility-contact h2{margin-top:0}
.hb-facility-contact dl{margin:0}
.hb-facility-contact dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-facility-contact dt{font-weight:700}
.hb-facility-contact dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-facility-services{margin-top:var(--hb-space-8)}
.hb-facility-service-grid{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-facility-verified{margin-bottom:0;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
@media (max-width:1024px){.hb-facility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
  .hb-facility-grid{grid-template-columns:1fr}
  .hb-facility-profile{align-items:flex-start;flex-direction:column}
  .hb-facility-profile__actions{width:100%}
  .hb-facility-profile__actions .hb-button{flex:1 1 auto}
  .hb-facility-single__layout{grid-template-columns:1fr}
  .hb-facility-contact{position:static}
}


/* Phase 3.4 — Healthcare Relationships & Search */
.hb-healthcare-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:var(--hb-space-3);align-items:end;margin:0 0 var(--hb-space-7);padding:var(--hb-space-5);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-healthcare-filters label{display:block;margin-bottom:var(--hb-space-2);font-weight:700}
.hb-healthcare-filters select{width:100%;min-height:44px}
.hb-healthcare-filters__actions{display:flex;gap:var(--hb-space-2);align-items:center}
.hb-chamber-list{display:grid;gap:var(--hb-space-4)}
.hb-chamber-card{padding:var(--hb-space-5)}
.hb-chamber-card__head{display:flex;justify-content:space-between;gap:var(--hb-space-4);align-items:flex-start}
.hb-chamber-card__head h3{margin:0 0 var(--hb-space-1)}
.hb-chamber-card__head h3 a{text-decoration:none;color:inherit}
.hb-chamber-card__head p{margin:0;color:var(--hb-color-text-muted)}
.hb-chamber-card__facts{display:flex;gap:var(--hb-space-6);flex-wrap:wrap;margin:var(--hb-space-4) 0}
.hb-chamber-card__facts div{min-width:100px}
.hb-chamber-card__facts dt{font-weight:700}
.hb-chamber-card__facts dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-facility-doctors{margin-top:var(--hb-space-8)}
.hb-facility-doctor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3)}
.hb-facility-doctor{display:flex;gap:var(--hb-space-3);align-items:center;padding:var(--hb-space-4)}
.hb-facility-doctor__photo{width:64px;height:64px;flex:0 0 64px;border-radius:50%;overflow:hidden}
.hb-facility-doctor__photo img{width:100%;height:100%;object-fit:cover}
.hb-facility-doctor h3{margin:0 0 var(--hb-space-1);font-size:var(--hb-font-size-base)}
.hb-facility-doctor h3 a{text-decoration:none;color:inherit}
.hb-facility-doctor p{margin:0}
@media (max-width:1024px){
  .hb-healthcare-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .hb-healthcare-filters{grid-template-columns:1fr}
  .hb-healthcare-filters__actions{width:100%}
  .hb-healthcare-filters__actions .hb-button{flex:1 1 auto}
  .hb-chamber-card__head{flex-direction:column}
  .hb-facility-doctor-grid{grid-template-columns:1fr}
}


/* Phase 3.6 — Bus / Launch / Air */
.hb-transport-filters{display:grid;grid-template-columns:1fr 2fr auto;gap:var(--hb-space-3);align-items:end;margin:0 0 var(--hb-space-7);padding:var(--hb-space-5);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-transport-filters label{display:block;margin-bottom:var(--hb-space-2);font-weight:700}
.hb-transport-filters select{width:100%;min-height:44px}
.hb-transport-filters__actions{display:flex;gap:var(--hb-space-2)}
.hb-transport-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-6)}
.hb-transport-card{padding:0;overflow:hidden}
.hb-transport-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--hb-color-surface-subtle)}
.hb-transport-card__media img{width:100%;height:100%;object-fit:cover}
.hb-transport-card__placeholder{display:grid;width:100%;height:100%;place-items:center}
.hb-transport-card__placeholder .dashicons{font-size:48px;width:auto;height:auto}
.hb-transport-card__body{padding:var(--hb-space-5)}
.hb-transport-card__title{margin:var(--hb-space-3) 0 var(--hb-space-2)}
.hb-transport-card__title a{text-decoration:none;color:inherit}
.hb-transport-card__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-transport-profile{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--hb-space-6);margin-bottom:var(--hb-space-6)}
.hb-transport-profile__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-transport-cover{margin-bottom:var(--hb-space-8);overflow:hidden;border-radius:var(--hb-radius-xl)}
.hb-transport-cover img{width:100%;height:auto;display:block}
.hb-transport-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:var(--hb-space-8);align-items:start}
.hb-transport-details{margin-top:var(--hb-space-8)}
.hb-transport-details dl,.hb-transport-contact dl{margin:0}
.hb-transport-details dl>div,.hb-transport-contact dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-transport-details dt,.hb-transport-contact dt{font-weight:700}
.hb-transport-details dd,.hb-transport-contact dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-transport-contact{padding:var(--hb-space-6);position:sticky;top:32px}
@media (max-width:1024px){.hb-transport-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-transport-filters{grid-template-columns:1fr 1fr}}
@media (max-width:767px){
  .hb-transport-grid{grid-template-columns:1fr}
  .hb-transport-filters{grid-template-columns:1fr}
  .hb-transport-profile{align-items:flex-start;flex-direction:column}
  .hb-transport-profile__actions{width:100%}
  .hb-transport-profile__actions .hb-button{flex:1 1 auto}
  .hb-transport-single__layout{grid-template-columns:1fr}
  .hb-transport-contact{position:static}
}


/* Phase 3.7 — Route System */
.hb-route-filters{display:grid;grid-template-columns:1fr 2fr auto;gap:var(--hb-space-3);align-items:end;margin:0 0 var(--hb-space-7);padding:var(--hb-space-5);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-route-filters label{display:block;margin-bottom:var(--hb-space-2);font-weight:700}
.hb-route-filters select{width:100%;min-height:44px}
.hb-route-filters__actions{display:flex;gap:var(--hb-space-2)}
.hb-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-6)}
.hb-route-card{padding:0}
.hb-route-card__body{padding:var(--hb-space-5)}
.hb-route-card__path{display:grid;grid-template-columns:1fr auto 1fr;gap:var(--hb-space-3);align-items:center;margin:var(--hb-space-4) 0;padding:var(--hb-space-4);border-radius:var(--hb-radius-lg);background:var(--hb-color-surface-subtle)}
.hb-route-card__path span:last-child{text-align:right}
.hb-route-card__path strong{font-size:1.25rem}
.hb-route-card__title{margin:0 0 var(--hb-space-2)}
.hb-route-card__title a{text-decoration:none;color:inherit}
.hb-route-card__meta,.hb-route-card__excerpt{color:var(--hb-color-text-muted)}
.hb-route-profile{margin-bottom:var(--hb-space-7)}
.hb-route-profile__path{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:var(--hb-space-5);align-items:center;margin:var(--hb-space-5) 0;padding:var(--hb-space-6);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface-subtle)}
.hb-route-profile__path div:last-child{text-align:right}
.hb-route-profile__path small{display:block;margin-bottom:var(--hb-space-1);color:var(--hb-color-text-muted)}
.hb-route-profile__path strong{font-size:clamp(1.25rem,3vw,2rem)}
.hb-route-profile__path>span{font-size:1.6rem}
.hb-route-profile__travel{color:var(--hb-color-text-muted)}
.hb-route-cover{margin-bottom:var(--hb-space-8);overflow:hidden;border-radius:var(--hb-radius-xl)}
.hb-route-cover img{display:block;width:100%;height:auto}
.hb-route-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:var(--hb-space-8);align-items:start}
.hb-route-services{margin-top:var(--hb-space-8)}
.hb-route-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-route-service{padding:var(--hb-space-5)}
.hb-route-service h3{margin-top:0}
.hb-route-service h3 a{text-decoration:none;color:inherit}
.hb-route-service__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-route-summary{padding:var(--hb-space-6);position:sticky;top:32px}
.hb-route-summary h2{margin-top:0}
.hb-route-summary dl{margin:0 0 var(--hb-space-4)}
.hb-route-summary dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-route-summary dt{font-weight:700}
.hb-route-summary dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-transport-related-routes{margin-top:var(--hb-space-10)}
@media (max-width:1024px){
  .hb-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-route-filters{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .hb-route-grid{grid-template-columns:1fr}
  .hb-route-filters{grid-template-columns:1fr}
  .hb-route-filters__actions{width:100%}
  .hb-route-filters__actions .hb-button{flex:1 1 auto}
  .hb-route-profile__path{grid-template-columns:1fr;text-align:left}
  .hb-route-profile__path div:last-child{text-align:left}
  .hb-route-profile__path>span{transform:rotate(90deg);justify-self:start}
  .hb-route-single__layout{grid-template-columns:1fr}
  .hb-route-service-grid{grid-template-columns:1fr}
  .hb-route-summary{position:static}
}


/* Phase 3.8 — Schedule / Fare / Counter */
.hb-route-operations{margin-top:var(--hb-space-8)}
.hb-transport-table-wrap{overflow-x:auto;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-transport-table{width:100%;border-collapse:collapse;min-width:760px}
.hb-transport-table th,.hb-transport-table td{padding:var(--hb-space-3) var(--hb-space-4);text-align:left;border-bottom:1px solid var(--hb-color-border);vertical-align:top}
.hb-transport-table th{font-weight:700;background:var(--hb-color-surface-subtle)}
.hb-transport-table tbody tr:last-child td{border-bottom:0}
.hb-counter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-counter-card{padding:var(--hb-space-5)}
.hb-counter-card h2,.hb-counter-card h3{margin:var(--hb-space-2) 0}
.hb-counter-card h2 a,.hb-counter-card h3 a{text-decoration:none;color:inherit}
.hb-counter-card__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-counter-verified{margin:var(--hb-space-2) 0;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
.hb-counter-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:var(--hb-space-3);align-items:end;margin:0 0 var(--hb-space-7);padding:var(--hb-space-5);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-counter-filters label{display:block;margin-bottom:var(--hb-space-2);font-weight:700}
.hb-counter-filters select{width:100%;min-height:44px}
.hb-counter-filters__actions{display:flex;gap:var(--hb-space-2)}
.hb-counter-profile{margin-bottom:var(--hb-space-7)}
.hb-counter-profile__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-counter-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:var(--hb-space-8);align-items:start}
.hb-counter-routes{margin-top:var(--hb-space-8)}
@media (max-width:1024px){
  .hb-counter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-counter-filters{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .hb-transport-table-wrap{overflow:visible;border:0;background:transparent}
  .hb-transport-table{min-width:0;display:block}
  .hb-transport-table thead{display:none}
  .hb-transport-table tbody,.hb-transport-table tr,.hb-transport-table td{display:block;width:100%}
  .hb-transport-table tr{margin-bottom:var(--hb-space-4);padding:var(--hb-space-4);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-lg);background:var(--hb-color-surface)}
  .hb-transport-table td{display:grid;grid-template-columns:minmax(100px,38%) 1fr;gap:var(--hb-space-3);padding:var(--hb-space-2) 0;border:0}
  .hb-transport-table td::before{content:attr(data-label);font-weight:700}
  .hb-counter-grid{grid-template-columns:1fr}
  .hb-counter-filters{grid-template-columns:1fr}
  .hb-counter-filters__actions{width:100%}
  .hb-counter-filters__actions .hb-button{flex:1 1 auto}
  .hb-counter-single__layout{grid-template-columns:1fr}
  .hb-counter-profile__actions .hb-button{flex:1 1 auto}
}


/* Phase 3.9 — Homepage & Location Integration */
.hb-home-section-actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-home-healthcare-quick,.hb-home-transport-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hb-space-4);margin-bottom:var(--hb-space-7)}
.hb-home-utility-tile{display:flex;flex-direction:column;align-items:flex-start;gap:var(--hb-space-1);padding:var(--hb-space-5);text-decoration:none;color:inherit}
.hb-home-utility-tile .dashicons{width:auto;height:auto;font-size:28px;margin-bottom:var(--hb-space-2)}
.hb-home-utility-tile small{color:var(--hb-color-text-muted)}
.hb-home-split,.hb-location-module-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-7)}
.hb-home-subheading{margin:0 0 var(--hb-space-3)}
.hb-home-subheading h3{margin:0;font-size:var(--hb-font-size-lg)}
.hb-home-mini-list{display:grid;gap:var(--hb-space-3)}
.hb-home-mini-item{display:flex;align-items:center;gap:var(--hb-space-3);padding:var(--hb-space-3)}
.hb-home-mini-item__thumb{width:64px;height:64px;flex:0 0 64px;overflow:hidden;border-radius:var(--hb-radius-lg);background:var(--hb-color-surface-subtle)}
.hb-home-mini-item__thumb img{width:100%;height:100%;object-fit:cover}
.hb-home-mini-item h4{margin:0 0 var(--hb-space-1);font-size:var(--hb-font-size-base)}
.hb-home-mini-item h4 a{text-decoration:none;color:inherit}
.hb-home-mini-item p{margin:0;color:var(--hb-color-text-muted);font-size:var(--hb-font-size-sm)}
.hb-home-route-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--hb-space-3)}
.hb-home-route-strip .hb-route-card__body{padding:var(--hb-space-4)}
.hb-home-route-strip .hb-route-card__path{padding:var(--hb-space-3);margin:var(--hb-space-3) 0}
.hb-home-route-strip .hb-route-card__title{font-size:var(--hb-font-size-base)}
.hb-home-route-strip .hb-route-card__excerpt{display:none}
.hb-location-healthcare,.hb-location-transport{margin-top:var(--hb-space-10)}
.hb-location-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hb-space-4);margin-bottom:var(--hb-space-7)}
.hb-location-route-grid .hb-route-card__body{padding:var(--hb-space-4)}
.hb-location-module-split--transport{margin-top:var(--hb-space-6)}
@media (max-width:1100px){
  .hb-home-route-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hb-location-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .hb-home-healthcare-quick,.hb-home-transport-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .hb-home-section-actions{width:100%}
  .hb-home-section-actions .hb-button{flex:1 1 auto}
  .hb-home-healthcare-quick,.hb-home-transport-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3)}
  .hb-home-utility-tile{padding:var(--hb-space-4)}
  .hb-home-split,.hb-location-module-split{grid-template-columns:1fr}
  .hb-home-route-strip,.hb-location-route-grid{grid-template-columns:1fr}
}


/* Phase 3.11 — Verification, Responsive & Accessibility hardening */
.hb-freshness{display:inline-flex;align-items:center;max-width:100%;padding:.28rem .55rem;border:1px solid var(--hb-color-border);border-radius:999px;font-size:var(--hb-font-size-sm);line-height:1.3;overflow-wrap:anywhere}
.hb-freshness--fresh{font-weight:600}
.hb-freshness--stale{font-weight:700}
.hb-freshness--missing{color:var(--hb-color-text-muted)}
.hb-data-freshness{margin:var(--hb-space-3) 0 0}
.hb-button:focus-visible,
.hb-card a:focus-visible,
.hb-universal-search input:focus-visible,
.hb-universal-search select:focus-visible,
.hb-healthcare-filters select:focus-visible,
.hb-transport-filters select:focus-visible,
.hb-route-filters select:focus-visible,
.hb-counter-filters select:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.hb-transport-table td,.hb-route-summary dd,.hb-doctor-facts dd,.hb-facility-contact dd,.hb-transport-contact dd{overflow-wrap:anywhere}
@media (max-width:767px){
  .hb-healthcare-filters,.hb-transport-filters,.hb-route-filters,.hb-counter-filters{padding:var(--hb-space-4);gap:var(--hb-space-3)}
  .hb-healthcare-filters select,.hb-transport-filters select,.hb-route-filters select,.hb-counter-filters select{min-height:46px;font-size:16px}
  .hb-healthcare-filters__actions,.hb-transport-filters__actions,.hb-route-filters__actions,.hb-counter-filters__actions{display:grid;grid-template-columns:1fr;gap:var(--hb-space-2)}
  .hb-healthcare-filters__actions .hb-button,.hb-transport-filters__actions .hb-button,.hb-route-filters__actions .hb-button,.hb-counter-filters__actions .hb-button{width:100%}
  .hb-chamber-card__facts{display:grid;grid-template-columns:1fr 1fr;gap:var(--hb-space-3)}
  .hb-route-card__path{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .hb-route-card__path span{overflow-wrap:anywhere}
  .hb-freshness{white-space:normal}
}
@media (max-width:420px){
  .hb-chamber-card__facts{grid-template-columns:1fr}
  .hb-home-healthcare-quick,.hb-home-transport-quick{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .hb-button,.hb-card a,.hb-search-suggestions{scroll-behavior:auto;transition:none;animation:none}
}


/* Phase 4.2 — Government Offices / Civic Place foundation */
.hb-civic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-6)}
.hb-civic-card{padding:0;overflow:hidden}
.hb-civic-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--hb-color-surface-subtle)}
.hb-civic-card__media img{width:100%;height:100%;object-fit:cover}
.hb-civic-card__placeholder{display:grid;width:100%;height:100%;place-items:center}
.hb-civic-card__placeholder .dashicons{font-size:48px;width:auto;height:auto}
.hb-civic-card__body{padding:var(--hb-space-5)}
.hb-civic-card__body h2{margin:var(--hb-space-3) 0 var(--hb-space-2)}
.hb-civic-card__body h2 a{text-decoration:none;color:inherit}
.hb-civic-card__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-civic-profile{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--hb-space-6);margin-bottom:var(--hb-space-6)}
.hb-civic-profile__identity{display:flex;align-items:center;gap:var(--hb-space-4);min-width:0}
.hb-civic-profile__logo{display:grid;place-items:center;width:88px;height:88px;flex:0 0 88px;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface);overflow:hidden}
.hb-civic-profile__logo img{max-width:76px;max-height:76px;width:auto;height:auto}
.hb-civic-profile__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-civic-cover{margin-bottom:var(--hb-space-8);overflow:hidden;border-radius:var(--hb-radius-xl)}
.hb-civic-cover img{display:block;width:100%;height:auto}
.hb-civic-single__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,370px);gap:var(--hb-space-8);align-items:start}
.hb-civic-lead{font-size:var(--hb-font-size-lg)}
.hb-civic-service-area{margin-top:var(--hb-space-8)}
.hb-civic-contact{padding:var(--hb-space-6);position:sticky;top:32px}
.hb-civic-contact h2{margin-top:0}
.hb-civic-contact dl{margin:0}
.hb-civic-contact dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-civic-contact dt{font-weight:700}
.hb-civic-contact dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted);overflow-wrap:anywhere}
@media (max-width:1024px){
  .hb-civic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .hb-civic-grid{grid-template-columns:1fr}
  .hb-civic-profile{align-items:flex-start;flex-direction:column}
  .hb-civic-profile__identity{align-items:flex-start}
  .hb-civic-profile__logo{width:72px;height:72px;flex-basis:72px}
  .hb-civic-profile__logo img{max-width:62px;max-height:62px}
  .hb-civic-profile__actions{width:100%}
  .hb-civic-profile__actions .hb-button{flex:1 1 auto}
  .hb-civic-single__layout{grid-template-columns:1fr}
  .hb-civic-contact{position:static}
}


/* Phase 4.3 — Police / Fire / Public Safety */
.hb-civic-public-safety{margin-top:var(--hb-space-8)}
.hb-civic-safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-civic-safety-grid .hb-card{padding:var(--hb-space-4);display:flex;flex-direction:column;gap:var(--hb-space-2)}
.hb-civic-safety-grid .hb-card a{text-decoration:none}
.hb-civic-related-emergency{margin-top:var(--hb-space-4);padding:var(--hb-space-5);display:flex;justify-content:space-between;align-items:center;gap:var(--hb-space-4)}
.hb-civic-related-emergency h3{margin:var(--hb-space-2) 0}
.hb-civic-related-emergency h3 a{text-decoration:none;color:inherit}
@media (max-width:767px){
  .hb-civic-safety-grid{grid-template-columns:1fr}
  .hb-civic-related-emergency{align-items:flex-start;flex-direction:column}
  .hb-civic-related-emergency .hb-button{width:100%}
}


/* Phase 4.4 — Civic Service Records */
.hb-civic-services{margin-top:var(--hb-space-8)}
.hb-civic-service-list{display:grid;gap:var(--hb-space-4)}
.hb-civic-service-card{padding:var(--hb-space-5)}
.hb-civic-service-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--hb-space-4)}
.hb-civic-service-card__header h3{margin:0}
.hb-civic-service-card__description{margin:var(--hb-space-3) 0 0}
.hb-civic-service-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-3);margin:var(--hb-space-4) 0 0}
.hb-civic-service-facts>div{padding:var(--hb-space-3);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-lg);background:var(--hb-color-surface-subtle)}
.hb-civic-service-facts dt{font-weight:700}
.hb-civic-service-facts dd{margin:var(--hb-space-1) 0 0;color:var(--hb-color-text-muted)}
.hb-civic-service-documents{margin-top:var(--hb-space-4)}
.hb-civic-service-documents h4{margin:0 0 var(--hb-space-2)}
.hb-civic-service-documents ul{margin:0;padding-left:1.25rem}
.hb-civic-service-note{margin:var(--hb-space-4) 0 0;color:var(--hb-color-text-muted)}
@media (max-width:767px){
  .hb-civic-service-card__header{flex-direction:column}
  .hb-civic-service-card__header .hb-button{width:100%}
  .hb-civic-service-facts{grid-template-columns:1fr}
}


/* Phase 4.5 — Education Institutions */
.hb-civic-education{margin-top:var(--hb-space-8)}
.hb-civic-education-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4);margin-bottom:var(--hb-space-4)}
.hb-civic-education-grid .hb-card{padding:var(--hb-space-4);display:flex;flex-direction:column;gap:var(--hb-space-2)}
.hb-civic-education-grid .hb-card span{color:var(--hb-color-text-muted);overflow-wrap:anywhere}
@media (max-width:900px){
  .hb-civic-education-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .hb-civic-education-grid{grid-template-columns:1fr}
}

/* Phase 4.6 — Bank / ATM */
.hb-civic-finance{margin-top:var(--hb-space-8)}
.hb-civic-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-civic-finance-grid .hb-card{padding:var(--hb-space-4);display:flex;flex-direction:column;gap:var(--hb-space-2)}
.hb-civic-finance-grid .hb-card span{color:var(--hb-color-text-muted);overflow-wrap:anywhere}
@media(max-width:900px){.hb-civic-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hb-civic-finance-grid{grid-template-columns:1fr}}


/* Phase 4.8 — Civic Archive / Filters / Public UX */
.hb-civic-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(150px,1fr));gap:var(--hb-space-4);align-items:end;padding:var(--hb-space-5);margin:var(--hb-space-6) 0;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-civic-filters .hb-field{min-width:0}
.hb-civic-filters .hb-input,.hb-civic-filters .hb-select{width:100%;min-height:44px}
.hb-civic-filters__actions{display:flex;gap:var(--hb-space-2);grid-column:1/-1;flex-wrap:wrap}
.hb-civic-results-head{display:flex;justify-content:space-between;align-items:center;gap:var(--hb-space-3);margin:0 0 var(--hb-space-4)}
.hb-civic-results-head p{margin:0;color:var(--hb-color-text-muted)}
.hb-civic-card__badges{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-civic-card__actions .hb-button{min-height:40px}
.hb-civic-filters input:focus-visible,.hb-civic-filters select:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.hb-civic-archive .hb-empty-state{padding:var(--hb-space-8);text-align:center;border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl)}
@media(max-width:1200px){
  .hb-civic-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-civic-filters__keyword{grid-column:1/-1}
}
@media(max-width:767px){
  .hb-civic-filters{grid-template-columns:1fr;padding:var(--hb-space-4)}
  .hb-civic-filters__keyword,.hb-civic-filters__actions{grid-column:auto}
  .hb-civic-filters .hb-input,.hb-civic-filters .hb-select{min-height:46px;font-size:16px}
  .hb-civic-filters__actions{display:grid;grid-template-columns:1fr}
  .hb-civic-filters__actions .hb-button{width:100%}
  .hb-civic-card__actions{display:grid;grid-template-columns:1fr}
  .hb-civic-card__actions .hb-button{width:100%}
}


/* Phase 4.9 — Homepage & Location Civic Integration */
.hb-home-civic-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--hb-space-4);margin-bottom:var(--hb-space-6)}
.hb-home-civic-latest{margin-top:var(--hb-space-6)}
.hb-home-civic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hb-location-civic-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-5)}
.hb-location-civic-group{padding:var(--hb-space-5);min-width:0}
.hb-location-civic-group__head{display:flex;align-items:center;justify-content:space-between;gap:var(--hb-space-3);margin-bottom:var(--hb-space-4)}
.hb-location-civic-group__head h3{margin:0}
.hb-location-civic-group__head a{font-weight:700;text-decoration:none}
.hb-location-civic-item{box-shadow:none}
@media(max-width:1100px){
  .hb-home-civic-quick{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hb-home-civic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .hb-home-civic-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-home-civic-grid,.hb-location-civic-groups{grid-template-columns:1fr}
}
@media(max-width:420px){
  .hb-home-civic-quick{grid-template-columns:1fr}
}


/* Phase 4.11 — Civic Verification / Responsive / Performance UX */
.hb-civic-stale-warning{margin:0 0 var(--hb-space-6);padding:var(--hb-space-4);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-lg);background:var(--hb-color-surface-subtle)}
.hb-civic-stale-warning strong{display:block;margin-bottom:var(--hb-space-2)}
.hb-civic-stale-warning p{margin:0 0 var(--hb-space-2)}
.hb-civic-stale-warning small{display:block;color:var(--hb-color-text-muted)}
.hb-civic-stale-badge{white-space:normal}
.hb-civic-single,.hb-civic-card,.hb-location-civic-group{min-width:0}
.hb-civic-single a,.hb-civic-card a,.hb-location-civic-group a{overflow-wrap:anywhere}
.hb-civic-service-card,.hb-civic-contact,.hb-civic-safety-grid .hb-card,.hb-civic-education-grid .hb-card,.hb-civic-finance-grid .hb-card{min-width:0}
.hb-civic-service-documents li,.hb-civic-service-card p,.hb-civic-contact dd{overflow-wrap:anywhere}
.hb-civic-profile__actions .hb-button,.hb-civic-card__actions .hb-button,.hb-civic-filters .hb-button,.hb-location-civic-group__head a{min-height:44px}
.hb-location-civic-group__head a{display:inline-flex;align-items:center}
@media(max-width:767px){
  .hb-civic-single{overflow:hidden}
  .hb-civic-profile__identity{width:100%}
  .hb-civic-profile__identity>div:last-child{min-width:0}
  .hb-civic-profile h1{overflow-wrap:anywhere}
  .hb-civic-contact{width:100%}
  .hb-civic-service-card{padding:var(--hb-space-4)}
  .hb-civic-stale-warning{padding:var(--hb-space-4)}
  .hb-location-civic-group__head{align-items:flex-start;flex-direction:column}
  .hb-location-civic-group__head a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .hb-civic-card,.hb-home-civic-quick .hb-card,.hb-location-civic-group{scroll-behavior:auto}
}


/* Phase 5.1 — Places Architecture */
.hb-place-hero{margin-bottom:var(--hb-space-6)}
.hb-place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-5)}
.hb-place-card{overflow:hidden;min-width:0}
.hb-place-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--hb-color-surface-subtle)}
.hb-place-card__media img{width:100%;height:100%;object-fit:cover}
.hb-place-card__placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:2rem}
.hb-place-card__body{padding:var(--hb-space-5)}
.hb-place-card__body h2{margin:var(--hb-space-3) 0}
.hb-place-single__header{margin-bottom:var(--hb-space-5)}
.hb-place-single__badges{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-place-single__excerpt{max-width:760px}
.hb-place-cover{margin-bottom:var(--hb-space-5);overflow:hidden;border-radius:var(--hb-radius-xl)}
.hb-place-cover img{display:block;width:100%;height:auto}
.hb-place-single__content{padding:var(--hb-space-6);overflow-wrap:anywhere}
@media(max-width:900px){.hb-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .hb-place-grid{grid-template-columns:1fr}
  .hb-place-card__body,.hb-place-single__content{padding:var(--hb-space-4)}
}


/* Phase 5.2 — Tourist / Historical / Heritage Places */
.hb-place-single__actions{display:flex;gap:var(--hb-space-3);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-place-gallery{margin:var(--hb-space-6) 0}
.hb-place-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-3)}
.hb-place-gallery__grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--hb-radius-lg)}
.hb-place-single__layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:var(--hb-space-6);align-items:start}
.hb-place-single__main{min-width:0}
.hb-place-visitor-card{padding:var(--hb-space-5);position:sticky;top:var(--hb-space-5)}
.hb-place-visitor-card dl{margin:0}
.hb-place-visitor-card dl>div{padding:var(--hb-space-3) 0;border-bottom:1px solid var(--hb-color-border)}
.hb-place-visitor-card dt{font-weight:700}
.hb-place-visitor-card dd{margin:var(--hb-space-1) 0 0;overflow-wrap:anywhere}
.hb-place-facilities{display:flex;gap:var(--hb-space-2);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-place-history,.hb-place-visitor-notes{margin-top:var(--hb-space-7)}
.hb-place-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-history-grid .hb-card,.hb-place-history__significance,.hb-place-visitor-notes .hb-card{padding:var(--hb-space-4)}
.hb-place-history-grid .hb-card{display:flex;flex-direction:column;gap:var(--hb-space-2)}
.hb-place-history__significance{margin-top:var(--hb-space-4)}
.hb-place-visitor-notes{display:grid;gap:var(--hb-space-4)}
@media(max-width:900px){
  .hb-place-single__layout{grid-template-columns:1fr}
  .hb-place-visitor-card{position:static}
}
@media(max-width:700px){
  .hb-place-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-place-history-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .hb-place-gallery__grid{grid-template-columns:1fr}
  .hb-place-single__actions{display:grid;grid-template-columns:1fr}
  .hb-place-single__actions .hb-button{width:100%}
}


/* Phase 5.3 — Nature / River / Beach / Recreation */
.hb-place-nature{margin-top:var(--hb-space-7)}
.hb-place-nature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-nature-grid .hb-card{display:flex;flex-direction:column;gap:var(--hb-space-2);padding:var(--hb-space-4);min-width:0}
.hb-place-nature__note{padding:var(--hb-space-4);margin-top:var(--hb-space-4)}
.hb-place-nature__note h3{margin-top:0}
.hb-place-nature__note p{margin-bottom:0;overflow-wrap:anywhere}
@media(max-width:900px){.hb-place-nature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hb-place-nature-grid{grid-template-columns:1fr}}


/* Phase 5.4 — Religious / Cultural Places */
.hb-place-cultural{margin-top:var(--hb-space-7)}
.hb-place-cultural-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-cultural-grid .hb-card{display:flex;flex-direction:column;gap:var(--hb-space-2);padding:var(--hb-space-4);min-width:0}
.hb-place-cultural__note{padding:var(--hb-space-4);margin-top:var(--hb-space-4)}
.hb-place-cultural__note h3{margin-top:0}
.hb-place-cultural__note p{margin-bottom:0;overflow-wrap:anywhere}
@media(max-width:700px){.hb-place-cultural-grid{grid-template-columns:1fr}}


/* Phase 5.5 — Food / Market / Local Discovery */
.hb-place-food-market{margin-top:var(--hb-space-7)}
.hb-place-food-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-food-market-grid .hb-card{display:flex;flex-direction:column;gap:var(--hb-space-2);padding:var(--hb-space-4);min-width:0}
.hb-place-food-market__note{padding:var(--hb-space-4);margin-top:var(--hb-space-4)}
.hb-place-food-market__note h3{margin-top:0}
.hb-place-food-market__note p{margin-bottom:0;overflow-wrap:anywhere}
@media(max-width:900px){.hb-place-food-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hb-place-food-market-grid{grid-template-columns:1fr}}


/* Phase 5.6 — Nearby Places & Relationships */
.hb-place-relationships{margin-top:var(--hb-space-7)}
.hb-place-relationship-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-relationship-group{padding:var(--hb-space-4);min-width:0}
.hb-place-relationship-group h3{display:flex;align-items:center;gap:var(--hb-space-2);margin-top:0}
.hb-place-relationship-group ul{margin:0;padding-left:1.2rem}
.hb-place-relationship-group li+li{margin-top:var(--hb-space-2)}
.hb-place-relationship-group a{overflow-wrap:anywhere}
@media(max-width:900px){.hb-place-relationship-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hb-place-relationship-grid{grid-template-columns:1fr}}


/* Phase 5.7 — Archive / Filters / Public UX */
.hb-place-filters{margin:0 0 var(--hb-space-6);padding:var(--hb-space-5);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-xl);background:var(--hb-color-surface)}
.hb-place-filters__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-place-filters label{display:flex;flex-direction:column;gap:var(--hb-space-2);font-weight:600;min-width:0}
.hb-place-filters input[type="search"],.hb-place-filters select{width:100%;min-height:44px}
.hb-place-filters__toggles{display:flex;gap:var(--hb-space-4);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-place-filters__toggles label{display:inline-flex;flex-direction:row;align-items:center;gap:var(--hb-space-2);font-weight:500}
.hb-place-filters__actions{display:flex;gap:var(--hb-space-3);flex-wrap:wrap;margin-top:var(--hb-space-4)}
.hb-place-filters__actions .hb-button{min-height:44px}
.hb-place-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--hb-space-4)}
.hb-place-results-head p{margin:0;font-weight:600}
.hb-place-card__badges{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-place-card__fee{margin:var(--hb-space-2) 0}
.hb-place-card__actions{display:flex;gap:var(--hb-space-2);flex-wrap:wrap}
.hb-place-card__actions .hb-button{min-height:44px}
.hb-place-card a:focus-visible,.hb-place-filters a:focus-visible,.hb-place-filters button:focus-visible,.hb-place-filters input:focus-visible,.hb-place-filters select:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:1000px){.hb-place-filters__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .hb-place-filters{padding:var(--hb-space-4)}
  .hb-place-filters__grid{grid-template-columns:1fr}
  .hb-place-filters__actions{display:grid;grid-template-columns:1fr}
  .hb-place-filters__actions .hb-button{width:100%}
  .hb-place-card__actions{display:grid;grid-template-columns:1fr}
  .hb-place-card__actions .hb-button{width:100%}
}


/* Phase 5.8 — Homepage & Location Integration */
.hb-home-places-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-home-places-latest{margin-top:var(--hb-space-6)}
.hb-home-place-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hb-location-place-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--hb-space-4)}
.hb-location-place-group{padding:var(--hb-space-4);min-width:0}
.hb-location-place-group__head{display:flex;align-items:center;justify-content:space-between;gap:var(--hb-space-3);margin-bottom:var(--hb-space-3)}
.hb-location-place-group__head h3{margin:0}
.hb-location-place-group__head a{min-height:44px;display:inline-flex;align-items:center}
.hb-location-place-item{min-width:0}
.hb-location-place-item h4,.hb-location-place-item p{overflow-wrap:anywhere}
@media(max-width:1100px){
  .hb-home-places-quick{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hb-home-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .hb-home-places-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-location-place-groups{grid-template-columns:1fr}
  .hb-location-place-group__head{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .hb-home-places-quick{grid-template-columns:1fr}
  .hb-home-place-grid{grid-template-columns:1fr}
}


/* Phase 5.10 — Verification / Responsive / Performance */
.hb-place-stale-warning{display:flex;flex-direction:column;gap:var(--hb-space-2);margin-top:var(--hb-space-4);padding:var(--hb-space-4);border:1px solid var(--hb-color-border);border-radius:var(--hb-radius-lg);overflow-wrap:anywhere}
.hb-place-stale-warning strong{font-weight:700}
.hb-place-stale-badge{white-space:normal;text-align:left}
.hb-place-single,.hb-place-single__main,.hb-place-visitor-card,.hb-place-card,.hb-location-place-group{min-width:0}
.hb-place-single a,.hb-place-card a,.hb-place-visitor-card dd,.hb-place-history__significance,.hb-place-nature__note,.hb-place-cultural__note,.hb-place-food-market__note,.hb-place-relationship-group{overflow-wrap:anywhere;word-break:break-word}
.hb-place-single__actions .hb-button,.hb-place-card__actions .hb-button,.hb-place-filters__actions .hb-button,.hb-location-place-group__head a{min-height:44px}
.hb-place-visitor-card .hb-data-freshness{display:flex;flex-direction:column;gap:var(--hb-space-2);margin-top:var(--hb-space-4)}
@media(max-width:767px){
  .hb-place-single__layout{gap:var(--hb-space-4)}
  .hb-place-single__header,.hb-place-gallery,.hb-place-history,.hb-place-nature,.hb-place-cultural,.hb-place-food-market,.hb-place-relationships{min-width:0}
  .hb-place-visitor-card{width:100%}
  .hb-place-filters__toggles{align-items:flex-start}
}
@media(max-width:480px){
  .hb-place-single__actions,.hb-place-card__actions,.hb-place-filters__actions{grid-template-columns:1fr}
  .hb-place-single__actions .hb-button,.hb-place-card__actions .hb-button,.hb-place-filters__actions .hb-button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .hb-place-card *,.hb-place-single *,.hb-place-filters *,.hb-location-place-group *{scroll-behavior:auto;transition-duration:0.01ms;animation-duration:0.01ms;animation-iteration-count:1}
}


/* --------------------------------------------------------------------------
   Phase 6.1 — Homepage Compact Redesign
   Homepage presentation only. Inner archive/location/single pages remain unchanged.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-section {
    padding-block: clamp(1.75rem, 4vw, 3rem);
}

.hb-home--compact .hb-section-heading--compact {
    margin-bottom: var(--hb-space-5);
}

.hb-home--compact .hb-section-heading--compact h2 {
    margin-bottom: 0;
    font-size: clamp(1.4rem, 1.2rem + 0.7vw, 2rem);
}

/* Deep hero while preserving the established hero structure. */
.hb-home--compact .hb-home-hero--deep {
    background:
        radial-gradient(circle at 15% 20%, rgba(45, 212, 191, 0.12), transparent 34%),
        linear-gradient(135deg, #0b2625 0%, #0f3a37 52%, #113f3b 100%);
    color: rgba(255,255,255,0.88);
}

.hb-home--compact .hb-home-hero--deep .hb-home-hero__inner {
    padding-block: clamp(2.5rem, 6vw, 4.75rem);
}

.hb-home--compact .hb-home-hero--deep h1 {
    color: #fff;
}

.hb-home--compact .hb-home-hero--deep .hb-home-hero__copy > p {
    color: rgba(255,255,255,0.78);
}

.hb-home--compact .hb-home-hero--deep .hb-home-hero__copy .hb-badge {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
}

.hb-home--compact .hb-home-hero--deep .hb-home-search-card {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

/* Media headline ticker. */
.hb-headline-ticker {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid var(--hb-color-border);
    background: #0a201f;
    color: #fff;
    overflow: hidden;
}

.hb-headline-ticker__inner {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: stretch;
    min-height: 52px;
}

.hb-headline-ticker__label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--hb-space-2);
    padding-inline: 0 var(--hb-space-5);
    background: #0a201f;
    white-space: nowrap;
}

.hb-headline-ticker__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fb7185;
    box-shadow: 0 0 0 5px rgba(251,113,133,0.12);
}

.hb-headline-ticker__viewport {
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}


.hb-headline-ticker__empty {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.4;
    opacity: .82;
}

.hb-headline-ticker__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: hb-home-headline-scroll 90s linear infinite;
}

.hb-headline-ticker__set {
    display: flex;
    flex: none;
    align-items: center;
}

.hb-headline-ticker__item {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: var(--hb-space-3);
    padding-inline: var(--hb-space-5);
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    white-space: nowrap;
}

.hb-headline-ticker__item::after {
    content: "•";
    margin-left: var(--hb-space-2);
    color: rgba(255,255,255,0.28);
}

.hb-headline-ticker__item:hover,
.hb-headline-ticker__item:focus-visible {
    color: #fff;
}

.hb-headline-ticker__item time {
    color: rgba(255,255,255,0.58);
    font-size: var(--hb-font-size-xs);
}

.hb-headline-ticker__source {
    padding: 0.15rem 0.45rem;
    border-radius: var(--hb-radius-pill);
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.75);
    font-size: var(--hb-font-size-xs);
    font-weight: 700;
}

.hb-headline-ticker:hover .hb-headline-ticker__track,
.hb-headline-ticker:focus-within .hb-headline-ticker__track {
    animation-play-state: paused;
}

@keyframes hb-home-headline-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* District section stays familiar, only spacing is compacted. */
.hb-home--compact .hb-home-districts .hb-district-grid {
    gap: var(--hb-space-3);
}

/* Emergency section remains dedicated, but its homepage cards are compact. */
.hb-home--compact .hb-home-emergency-grid--compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--hb-space-3);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card {
    min-width: 0;
    padding: var(--hb-space-4);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__title {
    margin-bottom: var(--hb-space-2);
    font-size: 1rem;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card p {
    margin-bottom: var(--hb-space-2);
    font-size: var(--hb-font-size-sm);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions {
    gap: var(--hb-space-2);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-button {
    min-height: 38px;
    padding: 0.48rem 0.65rem;
    font-size: var(--hb-font-size-xs);
}

/* One compact utility hub: 12 items / 6 per row on desktop. */
.hb-utility-tabs {
    display: flex;
    gap: var(--hb-space-2);
    margin-bottom: var(--hb-space-5);
    padding-bottom: var(--hb-space-1);
    overflow-x: auto;
    scrollbar-width: thin;
}

.hb-utility-tab {
    flex: none;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--hb-color-border);
    border-radius: 10px;
    background: var(--hb-color-surface);
    color: var(--hb-color-text);
    font-weight: 700;
    cursor: pointer;
}

.hb-utility-tab:hover,
.hb-utility-tab.is-active {
    border-color: var(--hb-color-primary);
    background: var(--hb-color-primary);
    color: #fff;
}

.hb-utility-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: var(--hb-space-3);
}

.hb-utility-item {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: var(--hb-space-3);
    min-width: 0;
    min-height: 86px;
    padding: var(--hb-space-4);
    color: var(--hb-color-text);
    text-decoration: none;
    transition: border-color var(--hb-transition-fast), transform var(--hb-transition-fast), box-shadow var(--hb-transition-fast);
}

.hb-utility-item[hidden] {
    display: none;
}

.hb-utility-item:hover {
    border-color: var(--hb-color-primary);
    color: var(--hb-color-text);
    box-shadow: var(--hb-shadow-sm);
    transform: translateY(-1px);
}

.hb-utility-item > .dashicons {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-primary-soft);
    color: var(--hb-color-primary);
    font-size: 18px;
}

.hb-utility-item__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.hb-utility-item__content strong {
    overflow-wrap: anywhere;
    color: var(--hb-color-heading);
    line-height: 1.35;
}

.hb-utility-item__content small {
    overflow-wrap: anywhere;
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-xs);
    line-height: 1.3;
}

.hb-utility-item__arrow {
    color: var(--hb-color-text-muted);
}

/* Directory carousel: exactly four visible cards on wide desktop. */
.hb-directory-carousel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hb-space-2);
}

.hb-carousel-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hb-color-border-strong);
    border-radius: var(--hb-radius-md);
    background: var(--hb-color-surface);
    color: var(--hb-color-heading);
    cursor: pointer;
}

.hb-carousel-button:hover {
    border-color: var(--hb-color-primary);
    color: var(--hb-color-primary);
}

.hb-directory-carousel {
    min-width: 0;
    overflow: hidden;
}

.hb-directory-carousel__track {
    display: flex;
    gap: var(--hb-space-4);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.hb-directory-carousel__track::-webkit-scrollbar {
    display: none;
}

.hb-directory-carousel__slide {
    flex: 0 0 calc((100% - (3 * var(--hb-space-4))) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.hb-directory-carousel__slide .hb-directory-card {
    height: 100%;
}

/* Category + contribution keep their existing function, with compact spacing. */
.hb-home--compact .hb-home-categories .hb-category-grid {
    gap: var(--hb-space-3);
}

.hb-home--compact .hb-home-cta--compact .hb-home-cta__card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.hb-home--compact .hb-home-cta--compact .hb-home-cta__card h2 {
    font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.8rem);
}

/* Responsive compact homepage. */
@media (max-width: 1180px) {
    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .hb-utility-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .hb-directory-carousel__slide {
        flex-basis: calc((100% - (2 * var(--hb-space-4))) / 3);
    }
}

@media (max-width: 767px) {
    .hb-headline-ticker__inner {
        grid-template-columns: 1fr;
    }

    .hb-headline-ticker__label {
        min-height: 38px;
        padding-inline: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .hb-headline-ticker__viewport {
        min-height: 46px;
    }

    .hb-headline-ticker__item {
        min-height: 46px;
        padding-inline: var(--hb-space-4);
    }

    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .hb-utility-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .hb-utility-item {
        min-height: 80px;
        padding: var(--hb-space-3);
    }

    .hb-directory-carousel__slide {
        flex-basis: calc((100% - var(--hb-space-4)) / 2);
    }
}

@media (max-width: 480px) {
    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: 1fr;
    }

    .hb-utility-grid {
        grid-template-columns: 1fr;
    }

    .hb-directory-carousel__slide {
        flex-basis: 86%;
    }

    .hb-directory-carousel__actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-headline-ticker__track {
        animation: none;
    }

    .hb-headline-ticker__viewport {
        overflow-x: auto;
    }

    .hb-directory-carousel__track {
        scroll-behavior: auto;
    }

    .hb-utility-item {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   v5.1.1 — Homepage Utility Card Layout Fix
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-utility-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--hb-space-3);
    min-width: 0;
    min-height: 118px;
    padding: var(--hb-space-4);
    text-align: left;
}

.hb-home--compact .hb-utility-item > .dashicons {
    flex: 0 0 auto;
    margin: 0;
}

.hb-home--compact .hb-utility-item__content {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: left;
}

.hb-home--compact .hb-utility-item__content strong,
.hb-home--compact .hb-utility-item__content small {
    width: 100%;
    margin: 0;
    text-align: left;
}

.hb-home--compact .hb-utility-item__arrow {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 767px) {
    .hb-home--compact .hb-utility-item {
        min-height: 110px;
        padding: var(--hb-space-4);
    }
}

/* --------------------------------------------------------------------------
   v5.1.2 — Hero Search Bar Polish
   Improves the homepage hero search bar with a cleaner, more professional UI.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-hero .hb-home-search-card {
    padding: 0.875rem;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 48px rgba(7, 28, 27, 0.20);
    backdrop-filter: blur(14px);
}

.hb-home--compact .hb-home-hero .hb-home-search-card .hb-universal-search {
    gap: 0.75rem;
}

.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"],
.hb-home--compact .hb-home-hero .hb-home-search-card select {
    min-height: 3.25rem;
    padding-inline: 1rem;
    border: 1px solid #d9e4e2;
    border-radius: 0.95rem;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
    color: var(--hb-color-heading);
}

.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"]::placeholder {
    color: #6f8080;
}

.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"]:hover,
.hb-home--compact .hb-home-hero .hb-home-search-card select:hover {
    border-color: #bfd0cd;
    background: #ffffff;
}

.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"]:focus,
.hb-home--compact .hb-home-hero .hb-home-search-card select:focus,
.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"]:focus-visible,
.hb-home--compact .hb-home-hero .hb-home-search-card select:focus-visible {
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
    outline: none;
}

.hb-home--compact .hb-home-hero .hb-home-search-card .hb-button {
    min-height: 3.25rem;
    padding-inline: 1.2rem;
    border-radius: 0.95rem;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

@media (min-width: 48rem) {
    .hb-home--compact .hb-home-hero .hb-home-search-card .hb-universal-search {
        grid-template-columns: minmax(0,1.8fr) minmax(12rem,0.9fr) auto;
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-hero .hb-home-search-card {
        padding: 0.75rem;
        border-radius: 1.25rem;
    }

    .hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"],
    .hb-home--compact .hb-home-hero .hb-home-search-card select,
    .hb-home--compact .hb-home-hero .hb-home-search-card .hb-button {
        min-height: 3rem;
        border-radius: 0.9rem;
    }
}


/* --------------------------------------------------------------------------
   v5.1.4 — Homepage Emergency Card Premium Compact Refresh
   Makes emergency cards more premium, shorter, and 4-up on desktop.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-emergency-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hb-space-4);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card {
    min-width: 0;
    padding: 0;
    border-radius: 1.25rem;
    border-color: rgba(14, 55, 53, 0.10);
    box-shadow: 0 10px 24px rgba(9, 30, 29, 0.08);
    display: flex;
    flex-direction: column;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card::before {
    display: none;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__top {
    margin: 0;
    padding: 0.9rem 1rem 0.8rem;
    min-height: 3.4rem;
    background: linear-gradient(135deg, #0f4b48 0%, #0c3b39 100%);
    align-items: center;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__top .hb-badge {
    border: 0;
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__top .hb-badge--danger {
    background: rgba(255,255,255,0.22);
    color: #ffffff;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__title,
.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__locations,
.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__availability,
.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions {
    margin-left: 1rem;
    margin-right: 1rem;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__title {
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    line-height: 1.35;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__title a {
    color: var(--hb-color-heading);
    text-decoration: none;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__locations,
.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__availability {
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--hb-color-text-muted);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__locations {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__availability strong {
    color: var(--hb-color-heading);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions {
    margin-top: auto;
    margin-bottom: 1rem;
    padding-top: 0.35rem;
    gap: 0.5rem;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions .hb-button {
    min-height: 2.1rem;
    padding: 0.32rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.15;
    border-radius: 10px;
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-call {
    min-width: 0;
}

@media (max-width: 1180px) {
    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: 1fr;
        gap: var(--hb-space-3);
    }

    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__top {
        padding: 0.8rem 0.9rem 0.72rem;
    }

    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__title,
    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__locations,
    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__availability,
    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions {
        margin-left: 0.9rem;
        margin-right: 0.9rem;
    }

    .hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card__actions .hb-button {
        min-height: 2.2rem;
    }
}


/* --------------------------------------------------------------------------
   v5.1.5 — Homepage Utility Hub Heading/Tab Alignment
   Keep the section heading on the left and move category tabs to the right.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-utility-hub .hb-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--hb-space-4);
    align-items: end;
}

.hb-home--compact .hb-home-utility-hub .hb-section-heading {
    margin-bottom: var(--hb-space-4);
}

.hb-home--compact .hb-home-utility-hub .hb-utility-tabs {
    justify-content: flex-end;
    align-items: center;
    margin-bottom: var(--hb-space-4);
    flex-wrap: wrap;
}

.hb-home--compact .hb-home-utility-hub .hb-utility-grid {
    grid-column: 1 / -1;
}

@media (max-width: 991px) {
    .hb-home--compact .hb-home-utility-hub .hb-container {
        grid-template-columns: 1fr;
        row-gap: 0;
        align-items: start;
    }

    .hb-home--compact .hb-home-utility-hub .hb-section-heading {
        margin-bottom: var(--hb-space-3);
    }

    .hb-home--compact .hb-home-utility-hub .hb-utility-tabs {
        justify-content: flex-start;
        margin-bottom: var(--hb-space-4);
    }
}

/* --------------------------------------------------------------------------
   v5.1.6 — Homepage Utility Tabs Functional Fix
   Restore hidden-state precedence after the v5.1.1 flex card layout override.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-utility-item[hidden] {
    display: none;
}


/* --------------------------------------------------------------------------
   v5.1.11 — Homepage Directory Card Premium Compact Refresh
   Home carousel only; archive/single directory presentation stays unchanged.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact {
    position: relative;
    height: 100%;
    border-radius: 1.25rem;
    border-color: rgba(13, 70, 66, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
    box-shadow: 0 12px 28px rgba(8, 42, 39, 0.09);
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background: #0d4541;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 34, 32, 0.30));
    pointer-events: none;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__category-overlay {
    position: absolute;
    z-index: 2;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(10, 104, 96, 0.92);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(5, 34, 32, 0.20);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.72rem 0.9rem 0.78rem;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__badges {
    min-height: 0;
    margin: 0;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__badges:empty {
    display: none;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 0;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__verified-inline {
    flex: none;
    color: #0a8f62;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__title {
    min-width: 0;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.32;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__meta {
    display: -webkit-box;
    margin: 0;
    color: var(--hb-color-text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__actions {
    margin-top: 0.15rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(15,75,72,.10);
    gap: 0.5rem;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__actions .hb-button {
    min-height: 2.1rem;
    padding: 0.32rem 0.72rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.15;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact:hover {
    border-color: rgba(13, 112, 104, 0.24);
    box-shadow: 0 16px 34px rgba(8, 42, 39, 0.13);
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__body {
        padding: 0.68rem 0.82rem 0.72rem;
    }
}


/* --------------------------------------------------------------------------
   v5.1.12 — Homepage Directory Carousel Fill + Shadow Cleanup
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact {
    box-shadow: none;
}

.hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact:hover {
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   v5.1.13 — Homepage Explore Category Card Premium Parity
   Reuses the Explore Services utility-card visual system.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-categories .hb-category-card.hb-utility-item {
    min-height: 118px;
    padding: var(--hb-space-4);
}

.hb-home--compact .hb-home-categories .hb-category-card.hb-utility-item:hover {
    border-color: var(--hb-color-primary);
    color: var(--hb-color-text);
    box-shadow: var(--hb-shadow-sm);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-categories .hb-category-card.hb-utility-item {
        min-height: 110px;
        padding: var(--hb-space-4);
    }
}


/* --------------------------------------------------------------------------
   v5.1.14 — Homepage Explore Category Ranking + 5x2 Grid
   Top 10 categories are ordered by listing count, then by name for ties.
   -------------------------------------------------------------------------- */
@media (min-width: 64rem) {
    .hb-home--compact .hb-home-categories .hb-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* --------------------------------------------------------------------------
   v5.1.15 — Community Accuracy Vertical Spacing Balance
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-cta--compact {
    padding-block: clamp(1.75rem, 4vw, 3rem);
}

/* --------------------------------------------------------------------------
   v5.1.16 — Premium Deep Footer Redesign
   -------------------------------------------------------------------------- */
.hb-site-footer--premium {
    margin-top: 0;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(45, 212, 191, 0.10), transparent 30%),
        linear-gradient(135deg, #081f1e 0%, #0b2c2a 52%, #0d3431 100%);
    color: rgba(255,255,255,0.78);
}

.hb-site-footer--premium .hb-site-footer__shell {
    padding-block: clamp(2rem, 4vw, 3.25rem);
}

.hb-site-footer--premium .hb-site-footer__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hb-space-5);
    padding-bottom: clamp(1.35rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.hb-site-footer--premium .hb-site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.hb-site-footer--premium .hb-site-footer__brand-mark {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: rgba(45, 212, 191, 0.13);
    border: 1px solid rgba(94, 234, 212, 0.16);
    color: #99f6e4;
    font-family: var(--hb-font-meta);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.hb-site-footer--premium .hb-site-footer__nav {
    min-width: 0;
}

.hb-site-footer--premium .hb-site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb-site-footer--premium .hb-site-footer__menu a {
    position: relative;
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    color: rgba(255,255,255,0.76);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--hb-transition-fast);
}

.hb-site-footer--premium .hb-site-footer__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: #5eead4;
    transition: right var(--hb-transition-fast);
}

.hb-site-footer--premium .hb-site-footer__menu a:hover,
.hb-site-footer--premium .hb-site-footer__menu a:focus-visible {
    color: #ffffff;
}

.hb-site-footer--premium .hb-site-footer__menu a:hover::after,
.hb-site-footer--premium .hb-site-footer__menu a:focus-visible::after {
    right: 0;
}

.hb-site-footer--premium .hb-site-footer__meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--hb-space-6);
    padding-top: clamp(1.35rem, 3vw, 2rem);
}

.hb-site-footer--premium .hb-site-footer__meta-left,
.hb-site-footer--premium .hb-site-footer__meta-right {
    min-width: 0;
}

.hb-site-footer--premium .hb-site-footer__copyright,
.hb-site-footer--premium .hb-site-footer__description,
.hb-site-footer--premium .hb-site-footer__meta-right p {
    margin: 0;
}

.hb-site-footer--premium .hb-site-footer__copyright {
    color: #ffffff;
    font-size: var(--hb-font-size-sm);
}

.hb-site-footer--premium .hb-site-footer__description {
    margin-top: 0.4rem;
    color: rgba(255,255,255,0.58);
    font-size: var(--hb-font-size-sm);
}

.hb-site-footer--premium .hb-site-footer__meta-right {
    text-align: right;
    color: rgba(255,255,255,0.58);
    font-size: var(--hb-font-size-sm);
}

.hb-site-footer--premium .hb-site-footer__meta-right a {
    display: inline-block;
    margin-inline: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(94, 234, 212, 0.15);
    color: #99f6e4;
    font-weight: 800;
    text-decoration: none;
}

.hb-site-footer--premium .hb-site-footer__meta-right a:hover,
.hb-site-footer--premium .hb-site-footer__meta-right a:focus-visible {
    background: rgba(45, 212, 191, 0.18);
    color: #ffffff;
}

@media (max-width: 767px) {
    .hb-site-footer--premium .hb-site-footer__nav-row,
    .hb-site-footer--premium .hb-site-footer__meta-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .hb-site-footer--premium .hb-site-footer__nav-row {
        display: flex;
    }

    .hb-site-footer--premium .hb-site-footer__menu {
        justify-content: flex-start;
    }

    .hb-site-footer--premium .hb-site-footer__meta-right {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   v5.1.17 — Hero Scenic Image Blend
   Right-aligned Kuakata/Barishal visual fading smoothly into the deep hero.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-hero--deep {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hb-home--compact .hb-home-hero--deep::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(68%, 78rem);
    pointer-events: none;
    background-image:
        linear-gradient(180deg, rgba(5, 38, 37, 0.18), rgba(5, 38, 37, 0.32)),
        var(--hb-home-hero-image, url('../images/kuakata-hero.jpg'));
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.84;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 12%, rgba(0,0,0,0.62) 36%, #000 64%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.12) 12%, rgba(0,0,0,0.62) 36%, #000 64%, #000 100%);
}

.hb-home--compact .hb-home-hero--deep::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 55, 52, 0.94) 0%, rgba(8, 55, 52, 0.82) 34%, rgba(8, 55, 52, 0.28) 68%, rgba(8, 55, 52, 0.12) 100%),
        radial-gradient(circle at 26% 40%, rgba(15, 118, 110, 0.12), transparent 34%);
}

.hb-home--compact .hb-home-hero--deep .hb-home-hero__inner {
    position: relative;
    z-index: 1;
}

.hb-home--compact .hb-home-hero--deep .hb-home-hero__copy {
    position: relative;
    z-index: 2;
}

.hb-home--compact .hb-home-hero--deep .hb-home-search-card {
    position: relative;
    z-index: 2;
}

@media (max-width: 1023px) {
    .hb-home--compact .hb-home-hero--deep::before {
        width: 72%;
        opacity: 0.48;
        background-position: 68% center;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.10) 28%, rgba(0,0,0,0.56) 62%, #000 100%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.10) 28%, rgba(0,0,0,0.56) 62%, #000 100%);
    }

    .hb-home--compact .hb-home-hero--deep::after {
        background: linear-gradient(90deg, rgba(8, 55, 52, 0.96) 0%, rgba(8, 55, 52, 0.86) 48%, rgba(8, 55, 52, 0.42) 100%);
    }
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-hero--deep::before {
        width: 100%;
        opacity: 0.24;
        background-position: 72% center;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 42%, #000 100%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 42%, #000 100%);
    }

    .hb-home--compact .hb-home-hero--deep::after {
        background: linear-gradient(90deg, rgba(8, 55, 52, 0.97) 0%, rgba(8, 55, 52, 0.90) 60%, rgba(8, 55, 52, 0.70) 100%);
    }
}

/* --------------------------------------------------------------------------
   v5.1.18 — Explore Services Counts, Ranking & Arrow Alignment
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-utility-hub .hb-utility-item {
    position: relative;
    padding-bottom: 2.65rem;
}

.hb-home--compact .hb-home-utility-hub .hb-utility-item__count {
    position: absolute;
    left: var(--hb-space-4);
    bottom: 0.9rem;
    width: auto;
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-xs);
    line-height: 1.2;
    text-align: left;
}

.hb-home--compact .hb-home-utility-hub .hb-utility-item__arrow {
    position: absolute;
    right: var(--hb-space-4);
    bottom: 0.78rem;
    margin: 0;
    align-self: auto;
    color: var(--hb-color-text-muted);
    font-size: 1rem;
    line-height: 1;
}

.hb-home--compact .hb-home-utility-hub .hb-utility-item:hover .hb-utility-item__arrow {
    color: var(--hb-color-primary);
    transform: translateX(2px);
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-utility-hub .hb-utility-item__count {
        left: var(--hb-space-4);
    }

    .hb-home--compact .hb-home-utility-hub .hb-utility-item__arrow {
        right: var(--hb-space-4);
    }
}


/* --------------------------------------------------------------------------
   v5.1.19 — District Listing Counts, Ranking & Arrow Alignment
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-districts .hb-district-card {
    position: relative;
    padding-bottom: 2.65rem;
}

.hb-home--compact .hb-home-districts .hb-district-card__count {
    position: absolute;
    left: var(--hb-space-4);
    bottom: 0.9rem;
    width: auto;
    color: var(--hb-color-text-muted);
    font-size: var(--hb-font-size-xs);
    line-height: 1.2;
    text-align: left;
}

.hb-home--compact .hb-home-districts .hb-utility-item__arrow {
    position: absolute;
    right: var(--hb-space-4);
    bottom: 0.78rem;
    margin: 0;
    align-self: auto;
    color: var(--hb-color-text-muted);
    font-size: 1rem;
    line-height: 1;
}

.hb-home--compact .hb-home-districts .hb-district-card:hover .hb-utility-item__arrow {
    color: var(--hb-color-primary);
    transform: translateX(2px);
}

/* v5.2.1 — Dashboard-controlled homepage hero image */
.hb-home--compact .hb-home-hero--deep.hb-home-hero--no-scenic::before{display:none}

/* --------------------------------------------------------------------------
   v5.2.2 — Header Full Controls
   -------------------------------------------------------------------------- */
.hb-site-header{background:var(--hb-header-background,var(--hb-color-surface))}
.hb-site-header--sticky{position:sticky;top:0;z-index:80}
.admin-bar .hb-site-header--sticky{top:32px}
.hb-site-header__navigation{display:flex;align-items:center;gap:var(--hb-space-3)}
.hb-site-nav__menu a,.hb-site-title{color:var(--hb-header-text,var(--hb-color-text))}
.hb-site-header__search{display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .75rem;border:1px solid color-mix(in srgb,var(--hb-header-text,var(--hb-color-text)) 20%,transparent);border-radius:999px;color:var(--hb-header-text,var(--hb-color-text));font-size:var(--hb-font-size-sm);font-weight:700;text-decoration:none;white-space:nowrap}
.hb-site-header__search:hover,.hb-site-header__search:focus-visible{border-color:var(--hb-color-primary);color:var(--hb-color-primary)}
.hb-site-nav-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid color-mix(in srgb,var(--hb-header-text,var(--hb-color-text)) 20%,transparent);border-radius:10px;background:transparent;color:var(--hb-header-text,var(--hb-color-text));cursor:pointer}
.hb-site-nav-toggle__icon{font-size:20px;line-height:1}.hb-site-header__search-icon{font-size:18px;line-height:1}
@media(max-width:782px){.admin-bar .hb-site-header--sticky{top:46px}}
@media(max-width:767px){
  .hb-site-header--mobile-menu .hb-site-header__inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-block:var(--hb-space-3)}
  .hb-site-header--mobile-menu .hb-site-nav-toggle{display:inline-flex}
  .hb-site-header--mobile-menu .hb-site-header__navigation{display:none;grid-column:1/-1;align-items:stretch;flex-direction:column;gap:8px;padding-top:4px}
  .hb-site-header--mobile-menu.is-nav-open .hb-site-header__navigation{display:flex}
  .hb-site-header--mobile-menu .hb-site-nav__menu{flex-direction:column;gap:2px}
  .hb-site-header--mobile-menu .hb-site-nav__menu a{display:block;padding:.6rem .25rem}
  .hb-site-header--mobile-menu .hb-site-header__search{justify-content:center;border-radius:8px}
}


/* --------------------------------------------------------------------------
   v5.2.9 — Footer Spacing Tune
   -------------------------------------------------------------------------- */
.hb-site-footer--single-row .hb-site-footer__shell {
    padding-top: 24px;
    padding-bottom: 30px;
}

.hb-site-footer--single-row .hb-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 20%) minmax(0, 60%) minmax(0, 20%);
    align-items: center;
    min-height: 0;
}

.hb-site-footer--single-row .hb-site-footer__brand-column {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding-right: clamp(0.5rem, 1.5vw, 1.5rem);
}

.hb-site-footer--single-row .hb-site-footer__brand-mark-link {
    display: inline-flex;
    flex: 0 0 auto;
    text-decoration: none;
}

.hb-site-footer--single-row .hb-site-footer__brand-copy {
    min-width: 0;
}

.hb-site-footer--single-row .hb-site-footer__copyright,
.hb-site-footer--single-row .hb-site-footer__description,
.hb-site-footer--single-row .hb-site-footer__attribution p {
    margin: 0;
}

.hb-site-footer--single-row .hb-site-footer__copyright {
    color: #ffffff;
    font-size: var(--hb-font-size-sm);
    line-height: 1.45;
}

.hb-site-footer--single-row .hb-site-footer__description {
    margin-top: 0.32rem;
    color: rgba(255,255,255,0.58);
    font-size: var(--hb-font-size-sm);
    line-height: 1.5;
}

.hb-site-footer--single-row .hb-site-footer__nav {
    display: flex;
    justify-content: center;
    min-width: 0;
    padding-inline: clamp(1rem, 3vw, 3rem);
}

.hb-site-footer--single-row .hb-site-footer__menu {
    justify-content: center;
    gap: 0.55rem clamp(1rem, 2vw, 1.75rem);
}

.hb-site-footer--single-row .hb-site-footer__attribution {
    min-width: 0;
    text-align: right;
    color: rgba(255,255,255,0.62);
    font-size: var(--hb-font-size-sm);
    line-height: 1.6;
}

.hb-site-footer--single-row .hb-site-footer__attribution a,
.hb-site-footer--single-row .hb-site-footer__attribution strong {
    display: inline;
    margin: 0 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5eead4;
    font-weight: 800;
    text-decoration: none;
}

.hb-site-footer--single-row .hb-site-footer__attribution a:hover,
.hb-site-footer--single-row .hb-site-footer__attribution a:focus-visible {
    background: transparent;
    color: #99f6e4;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* The card is translated by half of its own height, so the footer begins
   exactly through the card's vertical midpoint on desktop/tablet. */
.hb-home--compact .hb-home-cta--compact {
    position: relative;
    z-index: 3;
    padding-bottom: 0;
}

.hb-home--compact .hb-home-cta--compact .hb-home-cta__card {
    position: relative;
    z-index: 3;
    transform: translateY(50%);
    box-shadow: 0 18px 45px rgba(8, 31, 30, 0.12);
}

.hb-site-footer--home-overlap .hb-site-footer__shell {
    padding-top: 100px;
}

@media (max-width: 900px) {
    .hb-site-footer--single-row .hb-site-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.5rem 2rem;
    }

    .hb-site-footer--single-row .hb-site-footer__brand-column {
        padding-right: 0;
    }

    .hb-site-footer--single-row .hb-site-footer__nav {
        justify-content: flex-end;
        padding-inline: 0;
    }

    .hb-site-footer--single-row .hb-site-footer__menu {
        justify-content: flex-end;
    }

    .hb-site-footer--single-row .hb-site-footer__attribution {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-cta--compact .hb-home-cta__card {
        transform: translateY(2rem);
    }

    .hb-site-footer--home-overlap .hb-site-footer__shell {
        padding-top: 4.5rem;
    }

    .hb-site-footer--single-row .hb-site-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        text-align: left;
    }

    .hb-site-footer--single-row .hb-site-footer__brand-column {
        align-items: flex-start;
    }

    .hb-site-footer--single-row .hb-site-footer__nav {
        justify-content: flex-start;
    }

    .hb-site-footer--single-row .hb-site-footer__menu {
        justify-content: flex-start;
    }

    .hb-site-footer--single-row .hb-site-footer__attribution {
        grid-column: auto;
        text-align: left;
    }
}

/* v5.3.0 — Homepage Section Builder */
.hb-home--compact{display:flex;flex-direction:column}
.hb-home--compact>.hb-home-builder-section{order:var(--hb-home-order,50)}
.hb-home--compact>.hb-home-builder-section.hb-home-bg--light{background-color:#fff}
.hb-home--compact>.hb-home-builder-section.hb-home-bg--soft{background-color:#f6f8fa}
.hb-home--compact>.hb-home-builder-section.hb-home-bg--deep{background-color:#0b3f3c;color:#fff}
.hb-home--compact>.hb-home-builder-section.hb-home-bg--custom{background-color:var(--hb-home-custom-bg,#fff)}
.hb-home--compact>.hb-home-builder-section.hb-home-bg--deep .hb-section-heading h2,
.hb-home--compact>.hb-home-builder-section.hb-home-bg--deep .hb-section-heading__eyebrow,
.hb-home--compact>.hb-home-builder-section.hb-home-bg--deep .hb-empty-state,
.hb-home--compact>.hb-home-builder-section.hb-home-bg--deep>.hb-container{color:#fff}
/* CTA overlap is only safe/useful when Community Accuracy is the last enabled section. */
.hb-home--compact:not(.hb-home--community-last) .hb-home-cta--compact .hb-home-cta__card{transform:none}


/* --------------------------------------------------------------------------
   v5.3.11 — Homepage Compact Horizontal Emergency Card
   Feature image on the left; utility content on the right. Homepage-only.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-emergency-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--hb-space-4);
}

.hb-home--compact .hb-home-emergency-grid--compact .hb-emergency-card--compact-home {
    overflow: hidden;
    min-height: 10.5rem;
    background: #fff;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__media-layout {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    min-height: 10.5rem;
    height: 100%;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__thumb {
    display: block;
    min-width: 0;
    height: 100%;
    background: linear-gradient(145deg, #0f4b48 0%, #0a3432 100%);
    overflow: hidden;
    text-decoration: none;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 10.5rem;
    object-fit: cover;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__thumb-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 10.5rem;
    color: rgba(255,255,255,.94);
    font-size: 2rem;
    font-weight: 700;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 38%),
        linear-gradient(145deg, #0f4b48 0%, #0a3432 100%);
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.85rem 1rem 0.9rem;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    margin: -0.85rem -1rem 0.6rem;
    padding: 0.65rem 1rem 0.35rem;
    background: linear-gradient(180deg, rgba(15,75,72,.09) 0%, rgba(15,75,72,.035) 58%, rgba(15,75,72,0) 100%);
    border-bottom: 1px solid rgba(15,75,72,.06);
    gap: .55rem;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__top-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    min-width: 0;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__service-status {
    flex: 0 0 auto;
    color: #0f4b48;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__top .hb-badge {
    padding: .32rem .62rem;
    border: 0;
    border-radius: 10px;
    background: rgba(15,75,72,.10);
    color: #0f4b48;
    backdrop-filter: none;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__top .hb-badge--danger {
    background: #0f4b48;
    color: #fff;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__title,
.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__locations,
.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__availability,
.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__actions {
    margin-left: 0;
    margin-right: 0;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__title {
    margin-top: 0;
    margin-bottom: .3rem;
    font-size: 1rem;
    line-height: 1.35;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__locations,
.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__availability {
    margin-top: 0;
    margin-bottom: .3rem;
    font-size: .82rem;
    line-height: 1.4;
}

.hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__actions {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: .45rem;
}

@media (max-width: 980px) {
    .hb-home--compact .hb-home-emergency-grid--compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__media-layout {
        grid-template-columns: 5.75rem minmax(0, 1fr);
        min-height: 9.5rem;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__thumb img,
    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__thumb-placeholder {
        min-height: 9.5rem;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__content {
        padding: .75rem .85rem .85rem;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__top {
        margin: -.75rem -.85rem .55rem;
        padding: .58rem .85rem .32rem;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__service-status {
        font-size: .7rem;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__title {
        font-size: .95rem;
    }
}

/* --------------------------------------------------------------------------
   Directory Details — Premium Business Profile (v5.3.15)
   -------------------------------------------------------------------------- */
.hb-directory-single--premium {
    gap: clamp(1.25rem, 2vw, 2rem);
}

.hb-directory-single--premium .hb-directory-profile-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(15,75,72,.12);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 10%, rgba(15,75,72,.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 14px 36px rgba(8,42,39,.07);
}

.hb-directory-single--premium .hb-directory-single__identity {
    align-items: center;
    min-width: 0;
}

.hb-directory-single--premium .hb-directory-single__logo {
    flex-basis: 74px;
    width: 74px;
    height: 74px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(8,42,39,.08);
}

.hb-directory-single__logo--fallback {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #0f4b48, #0a3432);
    font-size: 1.5rem;
    font-weight: 800;
}

.hb-directory-profile-card__copy {
    min-width: 0;
}

.hb-directory-profile-card__badges {
    gap: .4rem;
}

.hb-directory-single--premium .hb-directory-profile-card h1 {
    margin: .45rem 0 .25rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.12;
}

.hb-directory-profile-card__location,
.hb-directory-profile-card__summary {
    margin: 0;
    color: var(--hb-color-text-muted);
}

.hb-directory-profile-card__summary {
    max-width: 66ch;
    margin-top: .45rem;
    font-size: .92rem;
    line-height: 1.55;
}

.hb-directory-profile-card__actions {
    align-items: center;
}

.hb-directory-profile-card__actions .hb-button {
    min-height: 40px;
    padding: .5rem .85rem;
    border-radius: 10px;
}

.hb-directory-single--premium .hb-directory-single__cover {
    position: relative;
    border: 1px solid rgba(15,75,72,.10);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(8,42,39,.08);
}

.hb-directory-single--premium .hb-directory-single__cover img {
    display: block;
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 7.5;
    object-fit: cover;
}

.hb-directory-single__photo-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .42rem .7rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(6,42,39,.78);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hb-directory-quick-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}

.hb-directory-quick-info__item {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .85rem .95rem;
    border: 1px solid var(--hb-color-border);
    border-radius: 14px;
    background: #fff;
}

.hb-directory-quick-info__icon,
.hb-directory-contact__icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: rgba(15,75,72,.09);
    color: #0f4b48;
    font-weight: 800;
}

.hb-directory-quick-info__item > span:last-child {
    display: grid;
    min-width: 0;
    gap: .08rem;
}

.hb-directory-quick-info__item small {
    color: var(--hb-color-text-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hb-directory-quick-info__item strong {
    min-width: 0;
    overflow: hidden;
    color: var(--hb-color-heading);
    font-size: .86rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.hb-directory-single--premium .hb-directory-single__layout {
    align-items: start;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.hb-directory-about,
.hb-directory-single--premium .hb-directory-gallery,
.hb-directory-contact--premium {
    border: 1px solid var(--hb-color-border);
    border-radius: 18px;
    background: #fff;
}

.hb-directory-about {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.hb-directory-section-heading {
    margin-bottom: 1rem;
}

.hb-directory-section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.hb-directory-section-heading__eyebrow,
.hb-directory-contact__eyebrow {
    display: block;
    margin-bottom: .25rem;
    color: #0f766e;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.hb-directory-section-heading h2,
.hb-directory-contact--premium h2,
.hb-directory-report-zone h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hb-directory-single--premium .hb-directory-single__lead {
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hb-color-border);
    color: var(--hb-color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hb-directory-single--premium .hb-directory-single__content {
    color: var(--hb-color-text);
    font-size: .96rem;
    line-height: 1.85;
}

.hb-directory-single--premium .hb-directory-single__content > :first-child { margin-top: 0; }
.hb-directory-single--premium .hb-directory-single__content > :last-child { margin-bottom: 0; }

.hb-directory-contact--premium {
    overflow: hidden;
    padding: 0;
    box-shadow: 0 14px 32px rgba(8,42,39,.06);
}

.hb-directory-contact__header {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(15,75,72,.10);
    background: linear-gradient(135deg, rgba(15,75,72,.08), rgba(15,75,72,.025));
}

.hb-directory-contact__header p {
    margin: .35rem 0 0;
    color: var(--hb-color-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.hb-directory-contact--premium dl > div {
    grid-template-columns: 34px minmax(0,1fr);
    align-items: start;
    gap: .7rem;
    padding: .8rem 1.1rem;
}

.hb-directory-contact--premium dt {
    margin-bottom: .12rem;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hb-directory-contact--premium dd {
    color: var(--hb-color-heading);
    font-size: .86rem;
    line-height: 1.45;
}

.hb-directory-contact--premium dd a {
    color: #0f766e;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.hb-directory-contact__actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .55rem;
    padding: .9rem 1.1rem 1.05rem;
    border-top: 1px solid var(--hb-color-border);
}

.hb-directory-contact__actions .hb-button:first-child:last-child,
.hb-directory-contact__actions .hb-button:nth-child(3) {
    grid-column: 1 / -1;
}

.hb-directory-contact__actions .hb-button {
    min-height: 38px;
    padding: .45rem .65rem;
    border-radius: 10px;
    font-size: .78rem;
}

.hb-directory-contact--premium .hb-directory-verified-note {
    margin: 0;
    padding: .75rem 1.1rem;
    background: rgba(31,157,85,.05);
}

.hb-directory-single--premium .hb-directory-gallery {
    margin-top: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.hb-directory-gallery__count {
    flex: none;
    color: var(--hb-color-text-muted);
    font-size: .75rem;
    font-weight: 700;
}

.hb-directory-single--premium .hb-directory-gallery__grid {
    gap: .7rem;
}

.hb-directory-gallery__item {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(15,75,72,.08);
    border-radius: 14px;
    background: var(--hb-color-surface-soft);
}

.hb-directory-single--premium .hb-directory-gallery__grid img {
    display: block;
    border-radius: 0;
    transition: transform .22s ease;
}

.hb-directory-gallery__item:hover img {
    transform: scale(1.035);
}

.hb-directory-report-zone {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(15,75,72,.12);
    border-radius: 18px;
    background: linear-gradient(135deg, #f7fbfa, #ffffff);
}

.hb-directory-report-zone__intro p {
    max-width: 66ch;
    margin: .45rem 0 0;
    color: var(--hb-color-text-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.hb-directory-report-zone .hb-report-card {
    margin-top: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

@media (min-width: 48rem) {
    .hb-directory-quick-info { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .hb-directory-report-zone { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; }
}

@media (min-width: 64rem) {
    .hb-directory-single--premium .hb-directory-single__layout {
        grid-template-columns: minmax(0, 2.05fr) minmax(290px, .85fr);
    }
    .hb-directory-contact--premium { top: 1.25rem; }
}

@media (max-width: 47.99rem) {
    .hb-directory-single--premium .hb-directory-profile-card {
        gap: 1rem;
    }
    .hb-directory-profile-card__actions { width: 100%; }
    .hb-directory-profile-card__actions .hb-button { flex: 1 1 auto; }
    .hb-directory-single--premium .hb-directory-single__cover img { aspect-ratio: 16 / 10; }
}

@media (max-width: 35rem) {
    .hb-directory-single--premium .hb-directory-single__identity { align-items: flex-start; }
    .hb-directory-single--premium .hb-directory-single__logo { flex-basis: 60px; width: 60px; height: 60px; border-radius: 14px; }
    .hb-directory-single--premium .hb-directory-profile-card h1 { font-size: 1.55rem; }
    .hb-directory-quick-info { grid-template-columns: 1fr; }
    .hb-directory-section-heading--row { align-items: start; flex-direction: column; gap: .25rem; }
    .hb-directory-contact__actions { grid-template-columns: 1fr; }
    .hb-directory-contact__actions .hb-button { grid-column: auto; width: 100%; }
}


/* v5.3.18 — Directory gallery height-bound carousel */
.hb-directory-media-slider {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    min-width: 0;
    align-items: start;
}

.hb-directory-media-slider.has-thumbnails {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
}

.hb-directory-media-slider__main {
    position: relative;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(15,75,72,.12);
    border-radius: 20px;
    background: #eef5f4;
    box-shadow: 0 16px 38px rgba(8,42,39,.08);
}

.hb-directory-media-slider__active-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .18s ease, transform .22s ease;
}

.hb-directory-media-slider__active-image.is-switching {
    opacity: .65;
    transform: scale(1.008);
}

.hb-directory-media-slider__rail {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    height: var(--hb-directory-gallery-height, auto);
    max-height: var(--hb-directory-gallery-height, none);
    gap: .55rem;
    overflow: hidden;
}

.hb-directory-media-slider__rail.has-nav {
    grid-template-rows: 34px minmax(0, 1fr) 34px;
}

.hb-directory-media-slider__thumbs {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
}

.hb-directory-media-slider__thumbs::-webkit-scrollbar { display: none; }

.hb-directory-media-slider__thumb {
    display: block;
    flex: 0 0 calc((100% - 1.1rem) / 3);
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #eef5f4;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hb-directory-media-slider__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-directory-media-slider__thumb:hover { transform: translateY(-1px); }
.hb-directory-media-slider__thumb.is-active {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}

.hb-directory-media-slider__nav {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 1px solid var(--hb-color-border);
    border-radius: 10px;
    background: #fff;
    color: #0f4b48;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.hb-directory-media-slider__nav:hover {
    border-color: rgba(15,118,110,.34);
    background: rgba(15,118,110,.06);
}

@media (max-width: 63.99rem) {
    .hb-directory-media-slider.has-thumbnails {
        grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
    }
}

@media (max-width: 47.99rem) {
    .hb-directory-media-slider,
    .hb-directory-media-slider.has-thumbnails {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .hb-directory-media-slider__main {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .hb-directory-media-slider__rail,
    .hb-directory-media-slider__rail.has-nav {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: 5rem;
        height: 5rem;
        max-height: 5rem;
        align-items: stretch;
        gap: .45rem;
    }

    .hb-directory-media-slider__thumbs {
        display: flex;
        flex-direction: row;
        gap: .5rem;
        height: 5rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .hb-directory-media-slider__thumb {
        flex: 0 0 calc((100% - 1rem) / 3);
        border-radius: 11px;
    }
    .hb-directory-media-slider__nav { width: 36px; min-height: 5rem; }
    .hb-directory-media-slider__nav--prev { transform: rotate(-90deg); }
    .hb-directory-media-slider__nav--next { transform: rotate(-90deg); }
}

/* v5.3.19 — Live business open/closed status */
.hb-directory-profile-card__action-zone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .55rem;
    margin-left: auto;
}

.hb-directory-live-status {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .38rem;
    padding: .34rem .58rem;
    border: 1px solid rgba(15,75,72,.10);
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    color: var(--hb-color-text-muted);
    font-size: .78rem;
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(8,42,39,.035);
}

.hb-directory-live-status[hidden] { display: none; }

.hb-directory-live-status__dot {
    width: .52rem;
    height: .52rem;
    flex: 0 0 .52rem;
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148,163,184,.12);
}

.hb-directory-live-status strong {
    color: var(--hb-color-heading);
    font-weight: 800;
}

.hb-directory-live-status.is-open .hb-directory-live-status__dot {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.13);
}

.hb-directory-live-status.is-open strong { color: #15803d; }

.hb-directory-live-status.is-closed .hb-directory-live-status__dot {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

.hb-directory-live-status.is-closed strong { color: #b91c1c; }

.hb-directory-live-status__separator { color: var(--hb-color-border-strong); }

@media (max-width: 47.99rem) {
    .hb-directory-profile-card__action-zone {
        width: 100%;
        align-items: stretch;
        margin-left: 0;
    }
    .hb-directory-live-status { justify-content: center; width: 100%; }
}


/* --------------------------------------------------------------------------
   v5.3.20 Premium Minimal Glass Header
   -------------------------------------------------------------------------- */
.hb-site-header {
    --hb-header-glass: color-mix(in srgb, var(--hb-header-background, var(--hb-color-surface)) 86%, transparent);
    --hb-header-border: color-mix(in srgb, var(--hb-header-text, var(--hb-color-text)) 11%, transparent);
    --hb-header-accent-soft: color-mix(in srgb, var(--hb-color-primary) 10%, transparent);
    background: var(--hb-header-glass);
    border-bottom: 1px solid var(--hb-header-border);
    box-shadow: 0 8px 28px rgba(8, 42, 39, 0.045);
    backdrop-filter: saturate(155%) blur(16px);
    -webkit-backdrop-filter: saturate(155%) blur(16px);
}

.hb-site-header__inner {
    min-height: 76px;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.hb-site-brand {
    flex: 0 0 auto;
    min-width: 0;
}

.hb-site-title {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--hb-header-text, var(--hb-color-heading));
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    text-decoration: none;
}

.hb-site-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.72rem;
    background: linear-gradient(145deg, var(--hb-color-primary) 0%, var(--hb-color-primary-hover) 100%);
    color: #fff;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--hb-color-primary) 18%, transparent);
}

.hb-site-brand__name {
    white-space: nowrap;
}

.hb-site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0;
}

.hb-site-header .custom-logo {
    max-height: 46px;
}

.hb-site-header__navigation {
    margin-left: auto;
    gap: 0.7rem;
}

.hb-site-nav__menu {
    align-items: center;
    gap: 0.22rem;
}

.hb-site-nav__menu li {
    position: relative;
}

.hb-site-nav__menu a {
    position: relative;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0.58rem 0.78rem;
    border-radius: 0.72rem;
    color: var(--hb-header-text, var(--hb-color-text));
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color var(--hb-transition-fast), color var(--hb-transition-fast), transform var(--hb-transition-fast);
}

.hb-site-nav__menu a:hover,
.hb-site-nav__menu a:focus-visible {
    background: var(--hb-header-accent-soft);
    color: var(--hb-color-primary-hover);
}

.hb-site-nav__menu .current-menu-item > a,
.hb-site-nav__menu .current_page_item > a,
.hb-site-nav__menu .current-menu-ancestor > a,
.hb-site-nav__menu a[aria-current="page"] {
    background: var(--hb-header-accent-soft);
    color: var(--hb-color-primary-hover);
}

.hb-site-nav__menu .current-menu-item > a::after,
.hb-site-nav__menu .current_page_item > a::after,
.hb-site-nav__menu .current-menu-ancestor > a::after,
.hb-site-nav__menu a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.32rem;
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: var(--hb-color-primary);
    transform: translateX(-50%);
}

.hb-site-header__search {
    min-height: 40px;
    padding: 0.55rem 0.78rem;
    border: 1px solid var(--hb-header-border);
    border-radius: 0.72rem;
    background: color-mix(in srgb, var(--hb-header-background, var(--hb-color-surface)) 76%, #fff 24%);
    box-shadow: 0 4px 12px rgba(8, 42, 39, 0.035);
}

.hb-site-header__search:hover,
.hb-site-header__search:focus-visible {
    border-color: color-mix(in srgb, var(--hb-color-primary) 38%, transparent);
    background: var(--hb-header-accent-soft);
    color: var(--hb-color-primary-hover);
}

.hb-site-header__search-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.hb-site-nav-toggle {
    width: 42px;
    height: 42px;
    border-color: var(--hb-header-border);
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--hb-header-background, var(--hb-color-surface)) 78%, #fff 22%);
    box-shadow: 0 4px 12px rgba(8, 42, 39, 0.035);
}

.hb-site-nav-toggle:hover,
.hb-site-nav-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--hb-color-primary) 38%, transparent);
    background: var(--hb-header-accent-soft);
    color: var(--hb-color-primary-hover);
}

.hb-site-header--sticky {
    box-shadow: 0 9px 30px rgba(8, 42, 39, 0.075);
}

@media (max-width: 767px) {
    .hb-site-header__inner {
        min-height: 68px;
    }

    .hb-site-header--mobile-menu .hb-site-header__inner {
        padding-block: 0.65rem;
    }

    .hb-site-header--mobile-menu .hb-site-header__navigation {
        margin-top: 0.35rem;
        padding: 0.6rem;
        border: 1px solid var(--hb-header-border);
        border-radius: 1rem;
        background: color-mix(in srgb, var(--hb-header-background, var(--hb-color-surface)) 94%, transparent);
        box-shadow: 0 16px 34px rgba(8, 42, 39, 0.10);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu {
        gap: 0.2rem;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu a {
        min-height: 42px;
        padding: 0.68rem 0.75rem;
        border-radius: 0.72rem;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current_page_item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-ancestor > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu a[aria-current="page"]::after {
        left: 0.75rem;
        bottom: 0.34rem;
        width: 1rem;
        transform: none;
    }

    .hb-site-header--mobile-menu .hb-site-header__search {
        min-height: 42px;
        border-radius: 0.72rem;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .hb-site-header,
    .hb-site-header--mobile-menu .hb-site-header__navigation {
        background: var(--hb-header-background, var(--hb-color-surface));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}


/* --------------------------------------------------------------------------
   v5.3.21 Premium Glass Header Refinement
   -------------------------------------------------------------------------- */
.hb-site-header {
    --hb-header-glass: color-mix(in srgb, var(--hb-header-background, #ffffff) 78%, rgba(235, 248, 246, .88) 22%);
    --hb-header-border: color-mix(in srgb, var(--hb-color-primary) 18%, rgba(15, 23, 42, .10));
    --hb-header-accent-soft: color-mix(in srgb, var(--hb-color-primary) 12%, #ffffff 88%);
    position: relative;
    background:
        linear-gradient(110deg, rgba(255,255,255,.90) 0%, rgba(248,252,251,.84) 46%, rgba(238,248,246,.82) 100%),
        var(--hb-header-glass);
    border-bottom: 1px solid var(--hb-header-border);
    box-shadow: 0 10px 32px rgba(8, 42, 39, .075), 0 1px 0 rgba(255,255,255,.85) inset;
    backdrop-filter: saturate(175%) blur(20px);
    -webkit-backdrop-filter: saturate(175%) blur(20px);
}

.hb-site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--hb-color-primary) 28%, transparent) 22%, color-mix(in srgb, var(--hb-color-primary) 45%, transparent) 50%, color-mix(in srgb, var(--hb-color-primary) 28%, transparent) 78%, transparent 100%);
    opacity: .72;
}

.hb-site-header__inner {
    min-height: 72px;
}

.hb-site-title {
    gap: .62rem;
}

.hb-site-brand__mark {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: .66rem;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--hb-color-primary) 23%, transparent), 0 1px 0 rgba(255,255,255,.25) inset;
}

.hb-site-brand__name {
    font-weight: 800;
    letter-spacing: -.012em;
}

.hb-site-nav__menu {
    gap: .34rem;
    padding: .22rem;
    border: 1px solid rgba(15,75,72,.055);
    border-radius: .9rem;
    background: rgba(255,255,255,.34);
    box-shadow: 0 4px 16px rgba(8,42,39,.025) inset;
}

.hb-site-nav__menu a {
    min-height: 38px;
    padding: .56rem .82rem .62rem;
    border: 1px solid transparent;
    border-radius: .72rem;
    transition: background-color var(--hb-transition-fast), color var(--hb-transition-fast), border-color var(--hb-transition-fast), box-shadow var(--hb-transition-fast), transform var(--hb-transition-fast);
}

.hb-site-nav__menu a:hover,
.hb-site-nav__menu a:focus-visible {
    border-color: color-mix(in srgb, var(--hb-color-primary) 14%, transparent);
    background: rgba(255,255,255,.68);
    color: var(--hb-color-primary-hover);
    box-shadow: 0 6px 16px rgba(8,42,39,.06);
    transform: translateY(-1px);
}

.hb-site-nav__menu .current-menu-item > a,
.hb-site-nav__menu .current_page_item > a,
.hb-site-nav__menu .current-menu-ancestor > a,
.hb-site-nav__menu a[aria-current="page"] {
    border-color: color-mix(in srgb, var(--hb-color-primary) 16%, transparent);
    background: linear-gradient(180deg, rgba(255,255,255,.86), var(--hb-header-accent-soft));
    color: var(--hb-color-primary-hover);
    box-shadow: 0 6px 16px rgba(8,42,39,.055);
}

.hb-site-nav__menu .current-menu-item > a::after,
.hb-site-nav__menu .current_page_item > a::after,
.hb-site-nav__menu .current-menu-ancestor > a::after,
.hb-site-nav__menu a[aria-current="page"]::after {
    bottom: .24rem;
    width: 1.4rem;
    height: 2px;
    box-shadow: 0 0 0 1px rgba(15,75,72,.04);
}

.hb-site-header__search {
    border-color: color-mix(in srgb, var(--hb-color-primary) 13%, rgba(15,23,42,.08));
    background: rgba(255,255,255,.62);
    box-shadow: 0 7px 18px rgba(8,42,39,.045), 0 1px 0 rgba(255,255,255,.75) inset;
}

.hb-site-header--sticky {
    background:
        linear-gradient(110deg, rgba(255,255,255,.94) 0%, rgba(247,252,251,.90) 50%, rgba(235,247,245,.88) 100%),
        var(--hb-header-glass);
    box-shadow: 0 12px 34px rgba(8,42,39,.11);
}

@media (max-width: 767px) {
    .hb-site-header__inner { min-height: 66px; }
    .hb-site-header--mobile-menu .hb-site-header__navigation {
        background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,249,247,.94));
        border-color: color-mix(in srgb, var(--hb-color-primary) 15%, rgba(15,23,42,.08));
        box-shadow: 0 18px 38px rgba(8,42,39,.12);
    }
    .hb-site-header--mobile-menu .hb-site-nav__menu {
        padding: .18rem;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .hb-site-header,
    .hb-site-header--sticky,
    .hb-site-header--mobile-menu .hb-site-header__navigation {
        background: color-mix(in srgb, var(--hb-header-background, #fff) 92%, #eef8f6 8%);
    }
}

/* --------------------------------------------------------------------------
   v5.3.22 Active Menu + Date & Live Barishal Weather Header
   -------------------------------------------------------------------------- */
@media (min-width: 64rem) {
    .hb-site-header__inner {
        display: grid;
        grid-template-columns: minmax(11rem, 1fr) auto minmax(15rem, 1fr);
        align-items: center;
        gap: clamp(1rem, 2vw, 1.75rem);
    }

    .hb-site-brand { justify-self: start; }

    .hb-site-header__navigation {
        justify-self: center;
        margin-left: 0;
    }

    .hb-site-header__info {
        justify-self: end;
    }
}

.hb-site-nav__menu .current-menu-item > a,
.hb-site-nav__menu .current_page_item > a,
.hb-site-nav__menu .current-menu-ancestor > a,
.hb-site-nav__menu a[aria-current="page"] {
    border-color: color-mix(in srgb, var(--hb-color-primary) 78%, #ffffff 22%);
    background: linear-gradient(145deg, var(--hb-color-primary) 0%, var(--hb-color-primary-hover) 100%);
    color: #fff;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--hb-color-primary) 22%, transparent);
    transform: none;
}

.hb-site-nav__menu .current-menu-item > a:hover,
.hb-site-nav__menu .current_page_item > a:hover,
.hb-site-nav__menu .current-menu-ancestor > a:hover,
.hb-site-nav__menu a[aria-current="page"]:hover {
    color: #fff;
    background: linear-gradient(145deg, var(--hb-color-primary-hover) 0%, var(--hb-color-primary) 100%);
}

.hb-site-nav__menu .current-menu-item > a::after,
.hb-site-nav__menu .current_page_item > a::after,
.hb-site-nav__menu .current-menu-ancestor > a::after,
.hb-site-nav__menu a[aria-current="page"]::after {
    bottom: .27rem;
    width: 1.15rem;
    height: 2px;
    background: rgba(255,255,255,.88);
    box-shadow: none;
}

.hb-site-header__info {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .42rem;
    min-width: 0;
    white-space: nowrap;
    color: var(--hb-header-text, var(--hb-color-text));
    font-family: var(--hb-font-meta);
    font-size: .76rem;
    line-height: 1.1;
}

.hb-site-header__date,
.hb-site-header__weather {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 36px;
    padding: .42rem .62rem;
    border: 1px solid color-mix(in srgb, var(--hb-color-primary) 10%, rgba(15,23,42,.08));
    border-radius: .72rem;
    background: rgba(255,255,255,.54);
    box-shadow: 0 5px 14px rgba(8,42,39,.035), 0 1px 0 rgba(255,255,255,.72) inset;
}

.hb-site-header__date {
    color: color-mix(in srgb, var(--hb-header-text, var(--hb-color-text)) 82%, transparent);
    font-weight: 650;
}

.hb-site-header__info-icon {
    display: inline-grid;
    place-items: center;
    width: 1.12rem;
    height: 1.12rem;
    border-radius: 50%;
    background: var(--hb-header-accent-soft);
    color: var(--hb-color-primary);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 800;
}

.hb-site-header__weather {
    color: var(--hb-color-heading);
}

.hb-site-header__weather-icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    font-size: .96rem;
    line-height: 1;
}

.hb-site-header__weather strong {
    color: var(--hb-color-primary-hover);
    font-family: var(--hb-font-meta);
    font-size: .82rem;
    font-weight: 800;
}

.hb-site-header__weather-place {
    color: var(--hb-color-text-muted);
    font-size: .7rem;
    font-weight: 650;
}

@media (max-width: 63.99rem) and (min-width: 48rem) {
    .hb-site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .6rem 1rem;
    }

    .hb-site-header__navigation {
        justify-self: end;
        margin-left: 0;
    }

    .hb-site-header__info {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: -.15rem;
        padding-bottom: .35rem;
    }
}

@media (max-width: 47.99rem) {
    .hb-site-header__info {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: .35rem;
    }

    .hb-site-header__date,
    .hb-site-header__weather {
        min-height: 34px;
        padding: .4rem .55rem;
        background: rgba(255,255,255,.62);
    }

    .hb-site-header__date { flex: 1 1 auto; }
    .hb-site-header__weather { flex: 0 0 auto; }
    .hb-site-header__weather-place { display: none; }

    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-item > a,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current_page_item > a,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-ancestor > a,
    .hb-site-header--mobile-menu .hb-site-nav__menu a[aria-current="page"] {
        color: #fff;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current_page_item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-ancestor > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu a[aria-current="page"]::after {
        background: rgba(255,255,255,.88);
    }
}

/* --------------------------------------------------------------------------
   v5.3.23 — Related Directory on single listing
   Reuses the compact homepage Directory card language in a 4-column grid.
   -------------------------------------------------------------------------- */
.hb-directory-related {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(13, 70, 66, 0.10);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fbfdfd 0%, #f7fbfa 100%);
}

.hb-directory-related__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hb-directory-related__heading h2 {
    margin: .2rem 0 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.hb-directory-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.hb-directory-related .hb-directory-card--home-compact {
    position: relative;
    height: auto;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(13, 70, 66, 0.12);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
    box-shadow: none;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background: #0d4541;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__media img,
.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 34, 32, 0.30));
    pointer-events: none;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__category-overlay {
    position: absolute;
    z-index: 2;
    top: .7rem;
    left: .7rem;
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    max-width: calc(100% - 1.4rem);
    padding: .25rem .6rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(10, 104, 96, .92);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__body {
    display: flex;
    min-height: 0;
    height: auto;
    flex-direction: column;
    gap: .5rem;
    padding: .85rem .9rem .9rem;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__badges {
    min-height: 0;
    margin: 0;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__badges:empty {
    display: none;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__title {
    margin: 0;
    font-size: .98rem;
    line-height: 1.4;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__meta {
    display: -webkit-box;
    margin: 0;
    color: var(--hb-color-text-muted);
    font-size: .8rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__actions {
    margin-top: auto;
    padding-top: .3rem;
    gap: .45rem;
}

.hb-directory-related .hb-directory-card--home-compact .hb-directory-card__actions .hb-button {
    min-height: 2.05rem;
    padding: .3rem .65rem;
    border-radius: 10px;
    font-size: .76rem;
    line-height: 1.15;
}

.hb-directory-related .hb-directory-card--home-compact:hover {
    border-color: rgba(13, 112, 104, .28);
}

@media (max-width: 1100px) {
    .hb-directory-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .hb-directory-related {
        padding: .9rem;
        border-radius: 1rem;
    }
    .hb-directory-related__heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .hb-directory-related__grid { grid-template-columns: 1fr; }
    .hb-directory-related__heading .hb-button { width: 100%; }
}

/* --------------------------------------------------------------------------
   v5.3.27 — Compact Civic Services Homepage Section
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-civic-contacts {
    padding-block: clamp(1.65rem, 3vw, 2.35rem);
}

.hb-home--compact .hb-home-civic-contacts .hb-section-heading {
    margin-bottom: 1rem;
}

.hb-home-civic-contacts__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

.hb-home-civic-contact {
    display: grid;
    grid-template-columns: 2.45rem minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    min-height: 4.15rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(15, 75, 72, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 5px 14px rgba(16, 24, 40, 0.035);
    transition: border-color var(--hb-transition-fast), transform var(--hb-transition-fast), box-shadow var(--hb-transition-fast);
}

.hb-home-civic-contact:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.hb-home-civic-contact__logo {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    overflow: hidden;
    border-radius: 9px;
    background: #edf9f7;
    text-decoration: none;
}

.hb-home-civic-contact__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.16rem;
}

.hb-home-civic-contact__fallback {
    font-size: 1rem;
    line-height: 1;
}

.hb-home-civic-contact__content {
    min-width: 0;
}

.hb-home-civic-contact__content h3 {
    margin: 0 0 0.18rem;
    font-size: 0.86rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-home-civic-contact__content h3 a {
    color: var(--hb-color-heading);
    text-decoration: none;
}

.hb-home-civic-contact__content h3 a:hover {
    color: var(--hb-color-primary);
}

.hb-home-civic-contact__contact-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.hb-home-civic-contact__phone {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: var(--hb-color-primary);
    font-family: var(--hb-font-meta);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-home-civic-contact__call {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.6rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    background: #edf9f7;
    color: var(--hb-color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.hb-home-civic-contact__call:hover {
    border-color: rgba(15, 118, 110, 0.38);
    background: #dff4f0;
    color: var(--hb-color-primary-hover);
}

.hb-home--compact > .hb-home-builder-section.hb-home-bg--deep .hb-home-civic-contact {
    background: rgba(255, 255, 255, 0.97);
}

@media (max-width: 1180px) {
    .hb-home-civic-contacts__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-civic-contacts {
        padding-block: 1.35rem;
    }

    .hb-home-civic-contacts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .hb-home-civic-contact {
        min-height: 3.8rem;
        padding: 0.48rem 0.55rem;
    }
}

@media (max-width: 430px) {
    .hb-home-civic-contacts__grid {
        grid-template-columns: 1fr;
    }
}

/* v5.3.36 Compact Civic Directory: Police / Fire / Electricity */
.hb-compact-civic-directory{padding-block:1.5rem 2.5rem}.hb-compact-civic-hero{margin-bottom:1rem}.hb-compact-civic-hero h1{margin:.35rem 0 .4rem}.hb-compact-civic-hero p{max-width:760px;margin:0;color:var(--hb-color-text-muted)}

.hb-compact-civic-districts{margin-bottom:1.45rem}.hb-compact-civic-district-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.6rem}.hb-compact-civic-district{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.72rem .8rem;border:1px solid rgba(15,75,72,.12);border-radius:12px;background:#fff;color:var(--hb-color-heading);text-decoration:none}.hb-compact-civic-district strong{display:grid;place-items:center;min-width:1.7rem;height:1.7rem;padding:0 .35rem;border-radius:999px;background:#edf7f5;color:var(--hb-color-primary);font-size:.72rem}.hb-compact-civic-district:hover,.hb-compact-civic-district.is-active{border-color:rgba(15,118,110,.35);background:#f2fbf9}.hb-compact-civic-district.is-active span{font-weight:700}
.hb-compact-civic-groups{display:grid;gap:.85rem}.hb-compact-civic-group{overflow:hidden;padding:0}.hb-compact-civic-group__head{display:flex;justify-content:space-between;align-items:center;padding:.72rem .9rem;border-bottom:1px solid rgba(15,75,72,.1);background:#fbfdfd}.hb-compact-civic-group__head h3{margin:0;font-size:1rem}.hb-compact-civic-group__head>span{color:var(--hb-color-text-muted);font-size:.76rem;font-weight:700}.hb-compact-civic-list{display:grid}.hb-compact-civic-row{display:grid;grid-template-columns:minmax(200px,1.25fr) minmax(260px,1.7fr) minmax(150px,.75fr);align-items:center;gap:.8rem;padding:.72rem .9rem;border-bottom:1px solid rgba(15,75,72,.08)}.hb-compact-civic-row:last-child{border-bottom:0}.hb-compact-civic-row__name strong{font-size:.88rem;color:var(--hb-color-heading)}.hb-compact-civic-row__address,.hb-compact-civic-row__phone,.hb-compact-civic-row__phone a{display:flex;align-items:center;gap:.32rem;min-width:0}.hb-compact-civic-row__address{color:var(--hb-color-text-muted);font-size:.8rem}.hb-compact-civic-row__address .dashicons,.hb-compact-civic-row__phone .dashicons{width:1rem;height:1rem;font-size:1rem;color:var(--hb-color-primary)}.hb-compact-civic-row__phone a{color:var(--hb-color-primary);font-size:.82rem;font-weight:700;text-decoration:none}.hb-compact-civic-row__phone a:hover{text-decoration:underline}.hb-compact-civic-prompt{display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem}.hb-compact-civic-prompt>.dashicons{width:2.5rem;height:2.5rem;font-size:2rem;color:var(--hb-color-primary)}.hb-compact-civic-prompt h2{margin:0 0 .2rem;font-size:1rem}.hb-compact-civic-prompt p{margin:0;color:var(--hb-color-text-muted);font-size:.84rem}
@media(max-width:1100px){.hb-compact-civic-district-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hb-compact-civic-row{grid-template-columns:1fr 1.35fr .8fr}}
@media(max-width:767px){.hb-compact-civic-directory{padding-block:1rem 2rem}.hb-compact-civic-district-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.hb-compact-civic-district{padding:.62rem .65rem;font-size:.84rem}.hb-compact-civic-row{grid-template-columns:1fr;gap:.38rem;padding:.72rem .8rem}.hb-compact-civic-row__name strong{font-size:.9rem}.hb-compact-civic-row__phone a{display:inline-flex;padding:.38rem .58rem;border-radius:8px;background:#edf8f6}.hb-compact-civic-group__head{padding:.65rem .8rem}}


/* v5.3.38 — Homepage hero compact public-service quick links */
.hb-home--compact .hb-home-hero .hb-home-service-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.42rem;margin-top:.58rem;padding-inline:.1rem}
.hb-home--compact .hb-home-hero .hb-home-service-link{display:inline-flex;align-items:center;gap:.3rem;min-height:30px;padding:.28rem .58rem;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.10);color:#fff;text-decoration:none;font-size:.76rem;font-weight:700;line-height:1;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
.hb-home--compact .hb-home-hero .hb-home-service-link .dashicons{width:14px;height:14px;font-size:14px;line-height:14px;opacity:.88}
.hb-home--compact .hb-home-hero .hb-home-service-link:hover,.hb-home--compact .hb-home-hero .hb-home-service-link:focus-visible{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.32);color:#fff;transform:translateY(-1px);outline:none}
@media (max-width:63.99rem){.hb-home--compact .hb-home-hero .hb-home-service-links{justify-content:flex-start}}
@media (max-width:39.99rem){.hb-home--compact .hb-home-hero .hb-home-service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem}.hb-home--compact .hb-home-hero .hb-home-service-link{justify-content:center;min-width:0;padding:.34rem .48rem;font-size:.72rem}}

/* v5.3.39 — Fix hero service quick-link contrast inside the light search card */
.hb-home--compact .hb-home-search-card .hb-home-service-links{
    justify-content:flex-end;
    margin-top:.55rem;
}
.hb-home--compact .hb-home-search-card .hb-home-service-link{
    border-color:rgba(15,118,110,.16);
    background:#eef8f6;
    color:#0f5f59;
    box-shadow:0 1px 2px rgba(15,75,72,.04);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.hb-home--compact .hb-home-search-card .hb-home-service-link .dashicons{
    color:#0f766e;
    opacity:1;
}
.hb-home--compact .hb-home-search-card .hb-home-service-link:hover,
.hb-home--compact .hb-home-search-card .hb-home-service-link:focus-visible{
    border-color:rgba(15,118,110,.30);
    background:#dff3ef;
    color:#0b4f4a;
    box-shadow:0 4px 12px rgba(15,118,110,.10);
}
@media (max-width:63.99rem){
    .hb-home--compact .hb-home-search-card .hb-home-service-links{justify-content:flex-end}
}
@media (max-width:39.99rem){
    .hb-home--compact .hb-home-search-card .hb-home-service-links{justify-content:stretch}
}


/* v5.3.40 — Compact homepage hero search card vertical spacing */
.hb-home--compact .hb-home-hero .hb-home-search-card{padding-block:.62rem;padding-inline:.875rem}
.hb-home--compact .hb-home-search-card .hb-home-service-links{margin-top:.44rem}
@media (max-width:767px){
    .hb-home--compact .hb-home-hero .hb-home-search-card{padding-block:.58rem;padding-inline:.72rem}
    .hb-home--compact .hb-home-search-card .hb-home-service-links{margin-top:.4rem}
}

/* v5.3.42 — Reduce hero search control min-height itself for a visibly slimmer row */
.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"],
.hb-home--compact .hb-home-hero .hb-home-search-card select,
.hb-home--compact .hb-home-hero .hb-home-search-card .hb-button{
    min-height:2.375rem;
    padding-top:.25rem;
    padding-bottom:.25rem;
}
.hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"],
.hb-home--compact .hb-home-hero .hb-home-search-card select{
    padding-inline:.9rem;
}
.hb-home--compact .hb-home-hero .hb-home-search-card .hb-button{
    padding-inline:1.05rem;
}
@media (max-width:767px){
    .hb-home--compact .hb-home-hero .hb-home-search-card input[type="search"],
    .hb-home--compact .hb-home-hero .hb-home-search-card select,
    .hb-home--compact .hb-home-hero .hb-home-search-card .hb-button{
        min-height:2.375rem;
        padding-top:.25rem;
        padding-bottom:.25rem;
    }
}

/* Compact civic directory: keep phone private in the visual list and expose a direct call action. */
.hb-compact-civic-row__phone{justify-content:flex-end}
.hb-compact-civic-row__phone .hb-compact-civic-call{display:inline-flex;align-items:center;justify-content:center;gap:.32rem;min-height:34px;padding:.35rem .7rem;border:1px solid rgba(15,118,110,.18);border-radius:9px;background:#edf8f6;color:var(--hb-color-primary);font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap}
.hb-compact-civic-row__phone .hb-compact-civic-call:hover{border-color:rgba(15,118,110,.32);background:#dff3ef;color:var(--hb-color-primary-hover);text-decoration:none}
@media(max-width:767px){.hb-compact-civic-row__phone{justify-content:flex-start}.hb-compact-civic-row__phone .hb-compact-civic-call{min-height:36px;padding:.38rem .68rem}}


/* v5.3.48 — Keep the four public-service quick links outside the white hero search card. */
.hb-home--compact .hb-home-hero .hb-home-search-stack{min-width:0}
.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links{justify-content:flex-end;margin-top:.55rem;padding-inline:.1rem}
@media(max-width:63.99rem){.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links{justify-content:flex-end}}
@media(max-width:39.99rem){.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem}.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links .hb-home-service-link{justify-content:center}}

/* v5.3.49 — Restore the previous light-teal quick-link design while keeping links outside the search card. */
.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links .hb-home-service-link{
    border-color:rgba(15,118,110,.16);
    background:#eef8f6;
    color:#0f5f59;
    box-shadow:0 1px 2px rgba(15,75,72,.04);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links .hb-home-service-link .dashicons{
    color:#0f766e;
    opacity:1;
}
.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links .hb-home-service-link:hover,
.hb-home--compact .hb-home-hero .hb-home-search-stack>.hb-home-service-links .hb-home-service-link:focus-visible{
    border-color:rgba(15,118,110,.30);
    background:#dff3ef;
    color:#0b4f4a;
    box-shadow:0 4px 12px rgba(15,118,110,.10);
}

/* v5.3.50 — Mobile primary menu: keep all navigation items on one horizontal line. */
@media (max-width: 767px) {
    .hb-site-header--mobile-menu .hb-site-header__navigation {
        width: 100%;
        max-width: 100%;
        padding: .38rem .45rem;
        overflow: hidden;
    }

    .hb-site-header--mobile-menu .hb-site-nav {
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hb-site-header--mobile-menu .hb-site-nav::-webkit-scrollbar {
        display: none;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: max-content;
        min-width: 100%;
        gap: .12rem;
        padding: 0;
        margin: 0;
        white-space: nowrap;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu > li {
        flex: 0 0 auto;
        margin: 0;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: .42rem .52rem;
        border-radius: .62rem;
        font-size: .84rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current_page_item > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu .current-menu-ancestor > a::after,
    .hb-site-header--mobile-menu .hb-site-nav__menu a[aria-current="page"]::after {
        left: 50%;
        bottom: .25rem;
        width: .9rem;
        transform: translateX(-50%);
    }
}


/* v5.3.51 — Mobile district carousel: show two district cards and hint at more. */
.hb-district-scroll-shell {
    position: relative;
}

.hb-district-scroll-cue {
    display: none;
}

@media (max-width: 47.99rem) {
    .hb-home--compact .hb-home-districts .hb-district-scroll-shell {
        margin-right: calc(var(--hb-container-gutter) * -1);
        overflow: hidden;
    }

    .hb-home--compact .hb-home-districts .hb-district-grid {
        display: flex;
        grid-template-columns: none;
        gap: .65rem;
        overflow-x: auto;
        padding-right: calc(var(--hb-container-gutter) + 2rem);
        padding-bottom: .35rem;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hb-home--compact .hb-home-districts .hb-district-grid::-webkit-scrollbar {
        display: none;
    }

    .hb-home--compact .hb-home-districts .hb-district-card {
        flex: 0 0 calc((100% - .65rem - var(--hb-container-gutter)) / 2);
        width: calc((100% - .65rem - var(--hb-container-gutter)) / 2);
        min-width: 0;
        scroll-snap-align: start;
    }

    .hb-home--compact .hb-home-districts .hb-district-scroll-cue {
        position: absolute;
        top: 50%;
        right: .45rem;
        z-index: 3;
        display: inline-flex;
        width: 2.15rem;
        height: 2.15rem;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(15,118,110,.18);
        border-radius: 999px;
        background: rgba(255,255,255,.94);
        color: var(--hb-color-primary);
        box-shadow: 0 4px 16px rgba(15,75,72,.14);
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1;
        pointer-events: none;
        transform: translateY(-50%);
    }
}


/* --------------------------------------------------------------------------
   v5.3.52 — Mobile Emergency Section Alignment & Actions
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-emergency__heading {
    text-align: left;
}

.hb-home--compact .hb-home-emergency__footer {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--hb-space-4);
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-emergency__heading,
    .hb-home--compact .hb-home-emergency__heading > div {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
        align-items: stretch;
    }

    .hb-home--compact .hb-emergency-card--compact-home .hb-emergency-card__actions .hb-button {
        width: 100%;
        min-width: 0;
        margin: 0;
        justify-content: center;
        text-align: center;
    }

    .hb-home--compact .hb-home-emergency__footer {
        margin-top: var(--hb-space-4);
    }

    .hb-home--compact .hb-home-emergency__footer .hb-button {
        width: 100%;
    }
}


/* --------------------------------------------------------------------------
   v5.3.54 — Mobile Explore Services carousel (validated CSS)
   Match Locations: one-line tabs, two cards visible, horizontal swipe.
   -------------------------------------------------------------------------- */
.hb-utility-scroll-shell {
    position: relative;
    grid-column: 1 / -1;
    min-width: 0;
}

.hb-utility-scroll-cue {
    display: none;
}

@media (max-width: 47.99rem) {
    .hb-home .hb-home-utility-hub .hb-utility-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: .55rem;
        margin-bottom: var(--hb-space-4);
        padding: 0 0 .2rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .hb-home .hb-home-utility-hub .hb-utility-tabs::-webkit-scrollbar,
    .hb-home .hb-home-utility-hub .hb-utility-grid::-webkit-scrollbar {
        display: none;
    }

    .hb-home .hb-home-utility-hub .hb-utility-tab {
        flex: 0 0 auto;
        width: auto;
        min-height: 40px;
        padding: .48rem .8rem;
        white-space: nowrap;
    }

    .hb-home .hb-home-utility-hub .hb-utility-scroll-shell {
        margin-right: calc(var(--hb-container-gutter) * -1);
        overflow: hidden;
    }

    .hb-home .hb-home-utility-hub .hb-utility-grid {
        display: flex;
        grid-template-columns: none;
        gap: .65rem;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: calc(var(--hb-container-gutter) + 2rem);
        padding-bottom: .35rem;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
    }

    .hb-home .hb-home-utility-hub .hb-utility-item {
        flex: 0 0 calc((100% - .65rem - var(--hb-container-gutter)) / 2);
        width: calc((100% - .65rem - var(--hb-container-gutter)) / 2);
        min-width: 0;
        min-height: 0;
        padding: var(--hb-space-4);
        padding-bottom: 2.65rem;
        scroll-snap-align: start;
    }

    .hb-home .hb-home-utility-hub .hb-utility-item > .dashicons {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .hb-home .hb-home-utility-hub .hb-utility-item__content strong {
        font-size: 1rem;
        line-height: 1.3;
    }

    .hb-home .hb-home-utility-hub .hb-utility-item__content small {
        font-size: .82rem;
    }

    .hb-home .hb-home-utility-hub .hb-utility-scroll-cue {
        position: absolute;
        top: 50%;
        right: .45rem;
        z-index: 3;
        display: inline-flex;
        width: 2.15rem;
        height: 2.15rem;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(15,118,110,.18);
        border-radius: 999px;
        background: rgba(255,255,255,.94);
        color: var(--hb-color-primary);
        box-shadow: 0 4px 16px rgba(15,75,72,.14);
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1;
        pointer-events: none;
        transform: translateY(-50%);
    }
}


/* --------------------------------------------------------------------------
   v5.3.55 — Mobile Directory carousel alignment and actions
   Keep desktop behavior intact; refine the homepage Directory section on phones.
   -------------------------------------------------------------------------- */
.hb-directory-carousel-shell {
    position: relative;
}

.hb-directory-scroll-cue,
.hb-directory-carousel__all-link--bottom {
    display: none;
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-directory-carousel .hb-section-heading--row {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.75rem;
        text-align: left;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-section-heading--row > div:first-child {
        min-width: 0;
        text-align: left;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-carousel__actions {
        width: auto;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.45rem;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-carousel-button {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-carousel__all-link--top {
        display: none;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-carousel__slide {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-carousel__track {
        gap: 0.75rem;
        scroll-padding-inline: 0;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-scroll-cue {
        position: absolute;
        z-index: 5;
        top: 50%;
        right: 0.45rem;
        display: inline-flex;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        border: 1px solid rgba(13, 112, 104, 0.18);
        border-radius: 999px;
        background: rgba(255,255,255,0.92);
        color: var(--hb-color-primary);
        box-shadow: 0 8px 20px rgba(8,42,39,0.12);
        font-size: 1rem;
        line-height: 1;
        pointer-events: none;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__actions {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0.5rem;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-card--home-compact .hb-directory-card__actions .hb-button {
        flex: 1 1 0;
        width: 50%;
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .hb-home--compact .hb-home-directory-carousel .hb-directory-carousel__all-link--bottom {
        display: flex;
        width: 100%;
        margin-top: 0.8rem;
        justify-content: center;
    }
}


/* --------------------------------------------------------------------------
   v5.3.56 — Mobile Civic Services heading alignment and bottom archive action
   -------------------------------------------------------------------------- */
.hb-civic-services__all-link--mobile {
    display: none;
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-civic-contacts .hb-section-heading--row {
        display: block;
        text-align: left;
    }

    .hb-home--compact .hb-home-civic-contacts .hb-section-heading--row > div:first-child {
        width: 100%;
        text-align: left;
    }

    .hb-home--compact .hb-home-civic-contacts .hb-section-heading__eyebrow,
    .hb-home--compact .hb-home-civic-contacts .hb-section-heading h2 {
        text-align: left;
    }

    .hb-home--compact .hb-home-civic-contacts .hb-civic-services__all-link--desktop {
        display: none;
    }

    .hb-home--compact .hb-home-civic-contacts .hb-civic-services__all-link--mobile {
        display: flex;
        width: 100%;
        margin-top: 0.85rem;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   v5.3.57 — Mobile five-line detail content preview
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .hb-mobile-content-preview {
        position: relative;
        overflow: hidden;
        max-height: var(--hb-mobile-preview-height, 9rem);
        transition: max-height 240ms ease;
    }

    .hb-mobile-content-preview.is-expanded {
        max-height: none;
        overflow: visible;
    }

    .hb-mobile-content-toggle {
        display: flex;
        width: 100%;
        min-height: 42px;
        margin-top: 0.8rem;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(13, 112, 104, 0.22);
        border-radius: 12px;
        background: #fff;
        color: var(--hb-color-primary);
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .hb-mobile-content-toggle:hover,
    .hb-mobile-content-toggle:focus-visible {
        border-color: var(--hb-color-primary);
        background: rgba(13, 112, 104, 0.05);
    }
}

/* v5.3.58 — Related Directory footer action */
.hb-directory-related__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .hb-directory-related__footer {
        display: block;
        margin-top: .875rem;
    }

    .hb-directory-related__footer .hb-button {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   v5.3.61 — Mobile Footer Menu Visual Spacing Balance
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .hb-site-footer--single-row .hb-site-footer__nav {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        padding-block: 0.45rem;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .hb-site-footer--single-row .hb-site-footer__menu {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center;
        gap: 1.25rem;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 0 0.1rem;
        list-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
    }

    .hb-site-footer--single-row .hb-site-footer__menu::-webkit-scrollbar {
        display: none;
    }

    .hb-site-footer--single-row .hb-site-footer__menu > li {
        flex: 0 0 auto;
        margin: 0;
    }

    .hb-site-footer--single-row .hb-site-footer__menu a {
        display: inline-flex;
        min-height: auto;
        align-items: center;
        padding-block: 0;
        line-height: 1.2;
        white-space: nowrap;
    }
}


/* --------------------------------------------------------------------------
   v5.3.63 — Sticky header + compact mobile weather placement
   Desktop and mobile headers remain sticky. On mobile, the date is removed and
   live weather sits immediately before the menu toggle on the primary row.
   -------------------------------------------------------------------------- */
.hb-site-header {
    position: sticky;
    top: 0;
    z-index: 80;
}

.admin-bar .hb-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .hb-site-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .hb-site-header--mobile-menu .hb-site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: .5rem;
        row-gap: .45rem;
    }

    .hb-site-header--mobile-menu .hb-site-brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .hb-site-header--mobile-menu .hb-site-header__info {
        grid-column: 2;
        grid-row: 1;
        order: initial;
        width: auto;
        justify-self: end;
        justify-content: flex-end;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .hb-site-header--mobile-menu .hb-site-header__date {
        display: none;
    }

    .hb-site-header--mobile-menu .hb-site-header__weather {
        min-height: 42px;
        padding: .42rem .58rem;
        border-radius: .75rem;
        background: rgba(255,255,255,.62);
    }

    .hb-site-header--mobile-menu .hb-site-header__weather-place {
        display: none;
    }

    .hb-site-header--mobile-menu .hb-site-nav-toggle {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

    .hb-site-header--mobile-menu .hb-site-header__navigation {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   v5.3.64 — Emergency CTA responsive placement
   Desktop: top-right in heading. Mobile: after emergency list.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-emergency__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--hb-space-4);
}

.hb-home--compact .hb-home-emergency__desktop-link {
    flex: 0 0 auto;
}

.hb-home--compact .hb-home-emergency__footer {
    display: none;
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-emergency__heading {
        display: block;
    }

    .hb-home--compact .hb-home-emergency__desktop-link {
        display: none;
    }

    .hb-home--compact .hb-home-emergency__footer {
        display: flex;
        justify-content: flex-start;
        margin-top: var(--hb-space-4);
    }

    .hb-home--compact .hb-home-emergency__footer .hb-button {
        width: 100%;
    }
}


/* --------------------------------------------------------------------------
   v5.3.67 — Shared Premium Archive / Taxonomy Header
   Mirrors the premium Directory Details profile-header visual system.
   -------------------------------------------------------------------------- */
.hb-premium-archive-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow: hidden;
    margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(15,75,72,.12);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 10%, rgba(15,75,72,.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 14px 36px rgba(8,42,39,.07);
}
.hb-premium-archive-header__identity {
    display: flex;
    align-items: center;
    gap: clamp(.85rem, 1.5vw, 1rem);
    min-width: 0;
}
.hb-premium-archive-header__icon {
    display: grid;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(15,75,72,.10);
    border-radius: 18px;
    background: linear-gradient(145deg, #0f4b48, #0a3432);
    box-shadow: 0 8px 22px rgba(8,42,39,.08);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}
.hb-premium-archive-header__copy { min-width: 0; }
.hb-premium-archive-header__badges { gap: .4rem; }
.hb-premium-archive-header h1 {
    margin: .45rem 0 .25rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.12;
}
.hb-premium-archive-header__description {
    max-width: 72ch;
    margin-top: .35rem;
    color: var(--hb-color-text-muted);
    font-size: .92rem;
    line-height: 1.55;
}
.hb-premium-archive-header__description > :first-child { margin-top: 0; }
.hb-premium-archive-header__description > :last-child { margin-bottom: 0; }
.hb-premium-archive-header__description p { margin: .2rem 0; }
.hb-premium-archive-header__meta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .45rem;
    min-height: 38px;
    padding: .48rem .75rem;
    border: 1px solid rgba(15,75,72,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    color: var(--hb-color-heading);
    font-size: .78rem;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(8,42,39,.04);
}
.hb-premium-archive-header__meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 4px rgba(15,118,110,.10);
}
@media (max-width: 47.99rem) {
    .hb-premium-archive-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
        border-radius: 18px;
    }
    .hb-premium-archive-header__identity { align-items: flex-start; }
    .hb-premium-archive-header__icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 14px;
        font-size: 1.15rem;
    }
    .hb-premium-archive-header h1 {
        margin-top: .35rem;
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }
    .hb-premium-archive-header__description { font-size: .84rem; }
    .hb-premium-archive-header__meta { margin-left: 74px; }
}
@media (max-width: 31.99rem) {
    .hb-premium-archive-header__icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
    .hb-premium-archive-header__meta { margin-left: 0; }
}


/* --------------------------------------------------------------------------
   v5.3.73 — Category/archive cards match Homepage Directory + visible action row / cache-busted runtime
   -------------------------------------------------------------------------- */
.hb-directory-archive .hb-directory-grid,
.hb-civic-archive .hb-civic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hb-directory-archive .hb-directory-card--archive-compact,
.hb-civic-archive .hb-directory-card--archive-compact {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(13, 70, 66, 0.12);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
    box-shadow: none;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__media,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background: #0d4541;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__media img,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__media img,
.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__placeholder,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__placeholder,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__placeholder {
    display: grid;
    place-items: center;
    color: var(--hb-color-primary);
    background: linear-gradient(135deg, var(--hb-color-primary-soft), var(--hb-color-surface-soft));
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__media::after,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 34, 32, 0.30));
    pointer-events: none;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__category-overlay,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__category-overlay {
    position: absolute;
    z-index: 2;
    top: .65rem;
    left: .65rem;
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    max-width: calc(100% - 1.3rem);
    padding: .25rem .58rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(10,104,96,.92);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__body,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .38rem;
    padding: .68rem .78rem .74rem;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__title-row,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .45rem;
    min-width: 0;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__title,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__title {
    min-width: 0;
    margin: 0;
    font-size: .88rem;
    line-height: 1.32;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__verified-inline,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__verified-inline {
    flex: none;
    color: #0a8f62;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__meta,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__meta {
    display: -webkit-box;
    margin: 0;
    color: var(--hb-color-text-muted);
    font-size: .76rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__actions,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid rgba(15,75,72,.10);
}

.hb-directory-archive .hb-directory-card--archive-compact .hb-directory-card__actions .hb-button,
.hb-civic-archive .hb-directory-card--archive-compact .hb-directory-card__actions .hb-button {
    min-width: 0;
    min-height: 2.1rem;
    padding: .32rem .72rem;
    border-radius: 10px;
    font-size: .78rem;
    line-height: 1.15;
    white-space: nowrap;
}

.hb-directory-archive .hb-directory-card--archive-compact:hover,
.hb-civic-archive .hb-directory-card--archive-compact:hover {
    border-color: rgba(13,112,104,.24);
}

.hb-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
}
.hb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: .35rem .7rem;
    border: 1px solid var(--hb-color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hb-color-heading);
    text-decoration: none;
}
.hb-pagination .page-numbers.current {
    border-color: var(--hb-color-primary);
    background: var(--hb-color-primary);
    color: #fff;
}

@media (max-width: 991px) {
    .hb-directory-archive .hb-directory-grid,
    .hb-civic-archive .hb-civic-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .hb-directory-archive .hb-directory-grid,
    .hb-civic-archive .hb-civic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
}
@media (max-width: 479px) {
    .hb-directory-archive .hb-directory-grid,
    .hb-civic-archive .hb-civic-grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   v5.3.74 — Compact Civic archive filter bar
   -------------------------------------------------------------------------- */
@media (min-width: 1201px) {
    .hb-civic-filters {
        grid-template-columns: minmax(210px, 1.45fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(125px, .8fr) minmax(125px, .8fr) auto;
        gap: .75rem;
        align-items: end;
        padding: 1rem 1.1rem;
    }
    .hb-civic-filters__keyword {
        grid-column: auto;
    }
    .hb-civic-filters__actions {
        grid-column: auto;
        align-self: end;
        display: flex;
        flex-wrap: nowrap;
        gap: .45rem;
    }
    .hb-civic-filters__actions .hb-button {
        min-width: max-content;
        min-height: 44px;
        padding-inline: .9rem;
        white-space: nowrap;
    }
}


/* --------------------------------------------------------------------------
   v5.3.75 — Civic filter controls exact 44px desktop height parity
   -------------------------------------------------------------------------- */
@media (min-width: 1201px) {
    .hb-civic-filters .hb-input,
    .hb-civic-filters .hb-select,
    .hb-civic-filters__actions .hb-button {
        box-sizing: border-box;
        height: 44px;
        min-height: 44px;
    }
    .hb-civic-filters .hb-input,
    .hb-civic-filters .hb-select {
        padding-top: 0;
        padding-bottom: 0;
    }
    .hb-civic-filters__actions .hb-button {
        padding-top: 0;
        padding-bottom: 0;
    }
}


/* --------------------------------------------------------------------------
   v5.3.76 — Shared premium filter bar parity across Civic, Directory,
              Transport, Travel/Places and News archives
   -------------------------------------------------------------------------- */
.hb-premium-filters {
    display: grid;
    align-items: end;
    gap: .75rem;
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--hb-color-border);
    border-radius: var(--hb-radius-xl);
    background: var(--hb-color-surface);
}
.hb-premium-filters .hb-field {
    display: grid;
    min-width: 0;
    gap: .4rem;
}
.hb-premium-filters .hb-label {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}
.hb-premium-filters .hb-input,
.hb-premium-filters .hb-select,
.hb-premium-filters__actions .hb-button {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
}
.hb-premium-filters .hb-input,
.hb-premium-filters .hb-select {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}
.hb-premium-filters__actions {
    display: flex;
    align-items: end;
    flex-wrap: nowrap;
    gap: .45rem;
    margin: 0;
}
.hb-premium-filters__actions .hb-button {
    min-width: max-content;
    padding-top: 0;
    padding-bottom: 0;
    padding-inline: .9rem;
    white-space: nowrap;
}

@media (min-width: 1201px) {
    .hb-premium-filters--directory,
    .hb-premium-filters--transport {
        grid-template-columns: minmax(240px, 1.45fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    }
    .hb-premium-filters--news {
        grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(135px, .9fr)) auto;
    }
    .hb-premium-filters--places {
        grid-template-columns: minmax(210px, 1.35fr) repeat(5, minmax(120px, .82fr)) auto;
    }
    .hb-premium-filters--places:not(:has(select[name="place_type"])) {
        grid-template-columns: minmax(230px, 1.45fr) repeat(4, minmax(130px, .9fr)) auto;
    }
}
@media (max-width: 1200px) {
    .hb-premium-filters {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .hb-premium-filters__keyword { grid-column: 1 / -1; }
    .hb-premium-filters__actions { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .hb-premium-filters {
        grid-template-columns: 1fr;
        gap: .75rem;
        padding: 1rem;
    }
    .hb-premium-filters__keyword,
    .hb-premium-filters__actions { grid-column: auto; }
    .hb-premium-filters .hb-input,
    .hb-premium-filters .hb-select,
    .hb-premium-filters__actions .hb-button {
        width: 100%;
        height: 46px;
        min-height: 46px;
        font-size: 16px;
    }
    .hb-premium-filters__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------------------------------------------
   v5.3.77 — Directory archive Bengali header + normalized header/filter rhythm
   -------------------------------------------------------------------------- */
.hb-directory-archive {
    gap: 0;
}
.hb-directory-archive > .hb-premium-archive-header {
    margin-bottom: 0;
}
.hb-directory-archive > .hb-premium-filters {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


/* --------------------------------------------------------------------------
   v5.3.79 — News archive spacing parity with the shared archive system
   -------------------------------------------------------------------------- */
.hb-news-archive > .hb-section:first-child {
    padding-top: var(--hb-space-8);
    padding-bottom: var(--hb-space-8);
}
.hb-news-archive .hb-premium-archive-header {
    margin-bottom: 0;
}
.hb-news-archive .hb-premium-filters--news {
    margin-top: 1.5rem;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .hb-news-archive > .hb-section:first-child {
        padding-top: var(--hb-space-6);
        padding-bottom: var(--hb-space-6);
    }
}


/* --------------------------------------------------------------------------
   v5.3.80 — Premium compact News archive cards
   -------------------------------------------------------------------------- */
.hb-news-archive .hb-news-grid {
    gap: 1rem;
}
.hb-news-archive .hb-news-card {
    border: 1px solid rgba(13, 70, 66, .12);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
    box-shadow: 0 8px 24px rgba(15, 48, 45, .035);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hb-news-archive .hb-news-card:hover {
    border-color: rgba(13, 112, 104, .24);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 48, 45, .06);
}
.hb-news-archive .hb-news-card__media {
    aspect-ratio: 16 / 8.4;
}
.hb-news-archive .hb-news-card__body {
    padding: .9rem 1rem 1rem;
}
.hb-news-archive .hb-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    margin: 0 0 .65rem;
    font-size: .76rem;
}
.hb-news-archive .hb-news-card__source {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: .55rem;
}
.hb-news-archive .hb-news-card__source-logo {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 1px solid rgba(13, 70, 66, .10);
    border-radius: 9px;
    background: #fff;
}
.hb-news-archive .hb-news-card__source-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}
.hb-news-archive .hb-news-card__source-copy {
    display: grid;
    min-width: 0;
    gap: .08rem;
    line-height: 1.25;
}
.hb-news-archive .hb-news-card__source-copy strong {
    overflow: hidden;
    color: var(--hb-color-heading);
    font-size: .78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hb-news-archive .hb-news-card__source-copy time {
    color: var(--hb-color-text-muted);
    font-size: .7rem;
}
.hb-news-archive .hb-news-card__meta-badges {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .3rem;
}
.hb-news-archive .hb-news-card__meta-badges .hb-badge {
    min-height: 1.5rem;
    padding: .18rem .45rem;
    font-size: .66rem;
}
.hb-news-archive .hb-news-card__title {
    margin: 0 0 .5rem;
    font-size: clamp(.98rem, 1.35vw, 1.08rem);
    line-height: 1.42;
}
.hb-news-archive .hb-news-card__body > p:not(.hb-news-card__context) {
    display: -webkit-box;
    margin: 0 0 .48rem;
    color: var(--hb-color-text-muted);
    font-size: .78rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-news-archive .hb-news-card__context {
    margin: 0 0 .55rem;
    color: var(--hb-color-text-muted);
    font-size: .72rem;
    line-height: 1.35;
}
.hb-news-archive .hb-news-card__link {
    display: inline-flex;
    align-items: center;
    margin-top: .1rem;
    color: var(--hb-color-primary);
    font-size: .76rem;
    font-weight: 800;
}
@media (max-width: 767px) {
    .hb-news-archive .hb-news-card__body { padding: .82rem .9rem .9rem; }
    .hb-news-archive .hb-news-card__title { font-size: .98rem; }
    .hb-news-archive .hb-news-card__source-logo { flex-basis: 32px; width: 32px; height: 32px; }
}

/* --------------------------------------------------------------------------
   v5.3.81 — Premium compact News Preview / single page
   -------------------------------------------------------------------------- */
.hb-news-preview--premium {
    max-width: 1080px;
    margin-inline: auto;
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.hb-news-preview--premium .hb-news-preview__hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: clamp(1.15rem, 2.4vw, 1.65rem);
    border: 1px solid rgba(13,70,66,.12);
    border-radius: 1.4rem;
    background: linear-gradient(118deg,#fff 0%,#fbfdfd 58%,#eef7f6 100%);
    box-shadow: 0 18px 42px rgba(17,50,48,.06);
}
.hb-news-preview--premium .hb-news-preview__hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -105px;
    right: -70px;
    border-radius: 50%;
    background: rgba(13,128,117,.065);
    pointer-events: none;
}
.hb-news-preview--premium .hb-news-preview__hero-main { position: relative; z-index: 1; max-width: 920px; }
.hb-news-preview--premium .hb-news-preview__badges { margin: 0 0 .55rem; }
.hb-news-preview--premium .hb-news-preview__hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(1.75rem, 3.8vw, 3rem);
    line-height: 1.16;
    letter-spacing: -.018em;
}
.hb-news-preview--premium .hb-news-preview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    margin-top: .8rem;
    color: var(--hb-color-text-muted);
    font-size: .86rem;
}
.hb-news-preview--premium .hb-news-preview__meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.hb-news-preview--premium .hb-news-preview__meta-item + .hb-news-preview__meta-item::before { content: "•"; opacity: .45; margin-right: .45rem; }

.hb-news-preview--premium .hb-news-source--premium {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-radius: 1.15rem;
    box-shadow: none;
}
.hb-news-preview--premium .hb-news-source__identity { gap: .75rem; }
.hb-news-preview--premium .hb-news-source__logo-wrap {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 1px solid var(--hb-color-border);
    border-radius: 12px;
    background: #fff;
}
.hb-news-preview--premium .hb-news-source__logo { width: 100%; height: 100%; padding: 4px; border: 0; border-radius: 0; object-fit: contain; }
.hb-news-preview--premium .hb-news-source__logo-fallback { color: var(--hb-color-primary); font-weight: 800; }
.hb-news-preview--premium .hb-news-source__copy { min-width: 0; }
.hb-news-preview--premium .hb-news-source__label { font-size: .74rem; letter-spacing: .02em; }
.hb-news-preview--premium .hb-news-source h2 { margin: .05rem 0 .1rem; font-size: 1rem; line-height: 1.3; }
.hb-news-preview--premium .hb-news-source__copy .hb-text-muted { font-size: .78rem; }
.hb-news-preview--premium .hb-news-source__actions { flex-wrap: nowrap; gap: .5rem; }
.hb-news-preview--premium .hb-news-source__actions .hb-button { min-height: 38px; padding: .45rem .7rem; border-radius: 10px; font-size: .8rem; white-space: nowrap; }

.hb-news-preview--premium .hb-news-preview__summary-card {
    margin-bottom: 1rem;
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border-radius: 1.2rem;
    background: linear-gradient(135deg,#f6fbfa 0%,#fff 72%);
    box-shadow: none;
}
.hb-news-preview--premium .hb-news-preview__summary-heading {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .8rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(15,75,72,.1);
}
.hb-news-preview--premium .hb-news-preview__summary-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: var(--hb-color-primary-soft);
    color: var(--hb-color-primary);
    font-size: 1.1rem;
    font-weight: 900;
}
.hb-news-preview--premium .hb-news-preview__summary-heading h2 { margin: .05rem 0 0; font-size: 1rem; line-height: 1.3; }
.hb-news-preview--premium .hb-news-preview__summary {
    max-width: none;
    margin: 0;
    color: var(--hb-color-text);
    font-size: clamp(.98rem, 1.6vw, 1.08rem);
    line-height: 1.75;
}
.hb-news-preview--premium .hb-news-preview__summary p { margin: 0 0 .7rem; }
.hb-news-preview--premium .hb-news-preview__summary p:last-child { margin-bottom: 0; }
.hb-news-preview--premium .hb-news-preview__media {
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid rgba(13,70,66,.1);
    border-radius: 1.2rem;
}
.hb-news-preview--premium .hb-news-preview__media img { max-height: 520px; }
.hb-news-preview--premium .hb-news-cluster { margin: 0 0 1rem; border-radius: 1.2rem; box-shadow: none; }
.hb-news-preview--premium .hb-news-preview__notice { margin-top: 0; border-radius: 1rem; font-size: .86rem; }

@media (max-width: 700px) {
    .hb-news-preview--premium { padding-block: 1rem; }
    .hb-news-preview--premium .hb-news-preview__hero { padding: 1rem; border-radius: 1.1rem; }
    .hb-news-preview--premium .hb-news-preview__hero h1 { font-size: clamp(1.65rem, 8vw, 2.25rem); line-height: 1.2; }
    .hb-news-preview--premium .hb-news-source--premium { grid-template-columns: 1fr; padding: .85rem; }
    .hb-news-preview--premium .hb-news-source__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hb-news-preview--premium .hb-news-source__actions .hb-button { width: 100%; text-align: center; }
    .hb-news-preview--premium .hb-news-preview__summary-card { padding: 1rem; }
}
@media (max-width: 430px) {
    .hb-news-preview--premium .hb-news-source__actions { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   v5.3.82 — Hello Barisal Featured News editorial layer
   -------------------------------------------------------------------------- */
@media (min-width: 1201px) {
    .hb-premium-filters--news {
        grid-template-columns: minmax(210px, 1.35fr) repeat(5, minmax(112px, .78fr)) auto;
    }
}
.hb-news-featured-section {
    padding-top: 0;
    padding-bottom: var(--hb-space-8);
    background: #fff;
}
.hb-news-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hb-news-section-heading > div { min-width: 0; }
.hb-news-section-heading span {
    display: block;
    margin-bottom: .2rem;
    color: var(--hb-color-primary);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.hb-news-section-heading h2 {
    margin: 0;
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    line-height: 1.25;
}
.hb-news-section-heading > a {
    flex: none;
    color: var(--hb-color-primary);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.hb-news-section-heading--source { margin-bottom: 1rem; }
.hb-news-grid--featured .hb-news-card--owned {
    border-color: rgba(13,112,104,.2);
    background: linear-gradient(180deg, #fff 0%, rgba(233,248,246,.55) 100%);
}
.hb-news-card .hb-badge--owned,
.hb-news-preview .hb-badge--owned {
    border-color: rgba(13,112,104,.16);
    background: rgba(13,112,104,.09);
    color: var(--hb-color-primary);
}
.hb-news-preview--owned .hb-news-preview__brand {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--hb-color-heading);
}
.hb-news-preview--owned .hb-news-preview__brand img {
    width: 26px;
    height: 26px;
    padding: 2px;
    border: 1px solid rgba(13,70,66,.12);
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}
.hb-news-preview--owned .hb-news-preview__article {
    margin: 0;
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
    border-radius: 1.2rem;
    box-shadow: none;
}
.hb-news-preview--owned .hb-news-preview__article-content {
    max-width: 820px;
    color: var(--hb-color-text);
    font-size: clamp(1rem, 1.7vw, 1.08rem);
    line-height: 1.85;
}
.hb-news-preview--owned .hb-news-preview__article-content > :first-child { margin-top: 0; }
.hb-news-preview--owned .hb-news-preview__article-content > :last-child { margin-bottom: 0; }
.hb-news-preview--owned .hb-news-preview__article-content h2,
.hb-news-preview--owned .hb-news-preview__article-content h3,
.hb-news-preview--owned .hb-news-preview__article-content h4 {
    margin-top: 1.5em;
    color: var(--hb-color-heading);
    line-height: 1.35;
}
@media (max-width: 767px) {
    .hb-news-section-heading { align-items: flex-start; }
    .hb-news-section-heading > a { font-size: .72rem; }
    .hb-news-featured-section { padding-bottom: var(--hb-space-6); }
    .hb-news-preview--owned .hb-news-preview__article { padding: 1rem; }
}

/* --------------------------------------------------------------------------
   v5.3.85 — Featured News editorial section: 1 lead + 4 equal-height stories
   -------------------------------------------------------------------------- */
.hb-home-featured-news {
    padding-block: clamp(1.55rem, 3vw, 2.5rem);
    border-top: 1px solid rgba(13, 112, 104, .10);
    border-bottom: 1px solid rgba(13, 112, 104, .10);
    background:
        radial-gradient(circle at 88% 12%, rgba(15, 116, 106, .08), transparent 30%),
        linear-gradient(180deg, #f5fbfa 0%, #fbfdfd 100%);
}
.hb-home-featured-news__heading {
    margin-bottom: 1rem;
}
.hb-home-featured-news__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 1fr);
    gap: 1rem;
    align-items: stretch;
}
.hb-home-featured-news__lead,
.hb-home-featured-news__secondary-card {
    overflow: hidden;
    border: 1px solid rgba(13, 70, 66, .12);
    border-radius: 1.2rem;
    background: #fff;
}
.hb-home-featured-news__lead {
    display: grid;
    grid-template-rows: minmax(250px, 1fr) auto;
    min-height: 100%;
}
.hb-home-featured-news__lead-media,
.hb-home-featured-news__secondary-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #0d4541, #0f746a);
}
.hb-home-featured-news__lead-media img,
.hb-home-featured-news__secondary-media img,
.hb-home-featured-news__media-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hb-home-featured-news__media-fallback {
    display: grid;
    place-items: center;
    min-height: 120px;
    color: rgba(255,255,255,.9);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.hb-home-featured-news__owned-badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: .3rem .65rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    background: rgba(10, 104, 96, .93);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.hb-home-featured-news__lead-body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1rem 1.05rem 1.1rem;
}
.hb-home-featured-news__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    color: var(--hb-color-text-muted);
    font-size: .72rem;
    line-height: 1.3;
}
.hb-home-featured-news__meta span:first-child {
    color: var(--hb-color-primary);
    font-weight: 800;
}
.hb-home-featured-news__lead h3,
.hb-home-featured-news__secondary-card h3 {
    margin: 0;
    color: var(--hb-color-heading);
}
.hb-home-featured-news__lead h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    line-height: 1.3;
}
.hb-home-featured-news__lead h3 a,
.hb-home-featured-news__secondary-card h3 a {
    color: inherit;
    text-decoration: none;
}
.hb-home-featured-news__lead p {
    display: -webkit-box;
    margin: 0;
    color: var(--hb-color-text-muted);
    font-size: .88rem;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-home-featured-news__read,
.hb-home-featured-news__secondary-body > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    color: var(--hb-color-primary);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.hb-home-featured-news__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    min-height: 0;
    height: 100%;
}
.hb-home-featured-news__secondary-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
}
.hb-home-featured-news__secondary-media {
    min-height: 0;
    aspect-ratio: 16 / 8.8;
}
.hb-home-featured-news__secondary-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: .35rem;
    min-width: 0;
    padding: .62rem .7rem .68rem;
}
.hb-home-featured-news__secondary-card h3 {
    display: -webkit-box;
    font-size: .86rem;
    line-height: 1.38;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-home-featured-news__lead:hover,
.hb-home-featured-news__secondary-card:hover {
    border-color: rgba(13, 112, 104, .24);
}
@media (max-width: 1024px) {
    .hb-home-featured-news__layout {
        grid-template-columns: 1fr;
    }
    .hb-home-featured-news__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
        height: auto;
    }
    .hb-home-featured-news__secondary-card {
        grid-template-rows: auto auto;
    }
    .hb-home-featured-news__secondary-media {
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 767px) {
    .hb-home-featured-news { padding-block: 1.1rem; }
    .hb-home-featured-news__heading { align-items: flex-start; }
    .hb-home-featured-news__lead { grid-template-rows: auto auto; }
    .hb-home-featured-news__lead-media { aspect-ratio: 16 / 9; }
    .hb-home-featured-news__secondary {
        display: flex;
        gap: .75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: .1rem;
    }
    .hb-home-featured-news__secondary::-webkit-scrollbar { display: none; }
    .hb-home-featured-news__secondary-card {
        flex: 0 0 min(82vw, 310px);
        scroll-snap-align: start;
    }
}

/* --------------------------------------------------------------------------
   v5.3.86 — Featured News compact-height refinement
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .hb-home-featured-news {
        padding-block: 1rem;
    }
    .hb-home-featured-news__heading {
        margin-bottom: .7rem;
    }
    .hb-home-featured-news__layout {
        height: 330px;
        gap: .8rem;
    }
    .hb-home-featured-news__lead {
        grid-template-columns: minmax(240px, .95fr) minmax(0, 1.05fr);
        grid-template-rows: 1fr;
        min-height: 0;
    }
    .hb-home-featured-news__lead-media {
        height: 100%;
        min-height: 0;
    }
    .hb-home-featured-news__lead-body {
        justify-content: center;
        gap: .32rem;
        padding: .7rem .82rem .74rem;
        overflow: hidden;
        min-width: 0;
    }
    .hb-home-featured-news__lead h3 {
        font-size: clamp(1rem, 1.5vw, 1.24rem);
        line-height: 1.24;
    }
    .hb-home-featured-news__lead p {
        font-size: .76rem;
        line-height: 1.42;
        -webkit-line-clamp: 3;
    }
    .hb-home-featured-news__meta {
        font-size: .66rem;
    }
    .hb-home-featured-news__read,
    .hb-home-featured-news__secondary-body > a {
        font-size: .7rem;
    }
    .hb-home-featured-news__secondary {
        gap: .55rem;
    }
    .hb-home-featured-news__secondary-card {
        grid-template-rows: 82px minmax(0, 1fr);
    }
    .hb-home-featured-news__secondary-media {
        aspect-ratio: auto;
        height: 82px;
    }
    .hb-home-featured-news__secondary-body {
        gap: .22rem;
        padding: .42rem .5rem .48rem;
        overflow: hidden;
    }
    .hb-home-featured-news__secondary-card h3 {
        font-size: .74rem;
        line-height: 1.28;
        -webkit-line-clamp: 2;
    }
    .hb-home-featured-news__owned-badge {
        top: .55rem;
        left: .55rem;
        min-height: 1.5rem;
        padding: .22rem .5rem;
        font-size: .63rem;
    }
}


/* --------------------------------------------------------------------------
   v5.3.89 — Featured News lead: exact 50/50 split
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .hb-news-featured-section .hb-home-featured-news__lead {
        display: grid;
        grid-template-columns: minmax(0, 50%) minmax(0, 50%);
        grid-template-rows: 1fr;
        height: 100%;
        min-height: 0;
    }
    .hb-news-featured-section .hb-home-featured-news__lead-media {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }
    .hb-news-featured-section .hb-home-featured-news__lead-body {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        height: 100%;
        padding: .8rem .9rem;
    }
    .hb-news-featured-section .hb-home-featured-news__lead-media img,
    .hb-news-featured-section .hb-home-featured-news__lead-media .hb-home-featured-news__media-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* --------------------------------------------------------------------------
   v5.3.90 — Featured lead image keeps its full natural ratio
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .hb-news-featured-section .hb-home-featured-news__layout {
        height: auto;
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__lead {
        grid-template-columns: minmax(0, 50%) minmax(0, 50%);
        grid-template-rows: auto;
        height: auto;
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__lead-media {
        height: auto;
        min-height: 0;
        align-self: start;
        aspect-ratio: auto;
        background: #eef6f5;
    }

    .hb-news-featured-section .hb-home-featured-news__lead-media img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: initial;
    }

    .hb-news-featured-section .hb-home-featured-news__lead-body {
        height: auto;
        align-self: stretch;
        justify-content: center;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary {
        height: 100%;
        align-self: stretch;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }
}


/* --------------------------------------------------------------------------
   v5.3.91 — Featured News 1 lead + 2 equal-height secondary stories
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .hb-news-featured-section .hb-home-featured-news__layout {
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__lead {
        height: 100%;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: .65rem;
        height: 100%;
        min-height: 0;
        align-self: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-card {
        min-height: 0;
        height: 100%;
        grid-template-columns: 42% minmax(0, 58%);
        grid-template-rows: 1fr;
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-media {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-media img,
    .hb-news-featured-section .hb-home-featured-news__secondary-media .hb-home-featured-news__media-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-body {
        height: 100%;
        justify-content: center;
        padding: .55rem .65rem;
    }
}


/* --------------------------------------------------------------------------
   v5.3.92 — News archive featured section: keep 2 right cards vertical
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .hb-news-featured-section .hb-home-featured-news__secondary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1fr);
        gap: .75rem;
        height: 100%;
        min-height: 0;
        align-self: stretch;
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-card {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 132px minmax(0, 1fr);
        min-height: 0;
        height: 100%;
        align-items: stretch;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-media {
        width: 100%;
        height: 132px;
        min-height: 132px;
        aspect-ratio: auto;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-media img,
    .hb-news-featured-section .hb-home-featured-news__secondary-media .hb-home-featured-news__media-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-body {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        padding: .62rem .7rem .72rem;
        gap: .35rem;
    }

    .hb-news-featured-section .hb-home-featured-news__secondary-card h3 {
        font-size: .8rem;
        line-height: 1.36;
        -webkit-line-clamp: 3;
    }
}


/* --------------------------------------------------------------------------
   v5.3.93 — Own News heading + roomier section spacing
   -------------------------------------------------------------------------- */
.hb-news-featured-section.hb-home-featured-news {
    padding-top: clamp(2rem, 4vw, 3.25rem);
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 767px) {
    .hb-news-featured-section.hb-home-featured-news {
        padding-top: 1.6rem;
        padding-bottom: 1.6rem;
    }
}


/* --------------------------------------------------------------------------
   v5.3.95 — Hero quick links: remove Bengali baseline bottom-space illusion
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-hero .hb-home-search-stack > .hb-home-service-links .hb-home-service-link {
    min-height: 0;
    padding: .22rem .58rem;
    line-height: 1.15;
    box-sizing: border-box;
    align-items: center;
}
.hb-home--compact .hb-home-hero .hb-home-search-stack > .hb-home-service-links .hb-home-service-link .dashicons {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    line-height: 14px;
    align-self: center;
}
@media (max-width: 39.99rem) {
    .hb-home--compact .hb-home-hero .hb-home-search-stack > .hb-home-service-links .hb-home-service-link {
        min-height: 0;
        padding: .24rem .48rem;
        line-height: 1.15;
    }
}


/* --------------------------------------------------------------------------
   v5.3.96 — Compact civic rows: show plain phone number beside call action
   -------------------------------------------------------------------------- */
.hb-compact-civic-row {
    grid-template-columns: minmax(200px,1.2fr) minmax(220px,1.35fr) minmax(135px,.72fr) auto;
}
.hb-compact-civic-row__phone-number {
    display:flex;
    align-items:center;
    gap:.32rem;
    min-width:0;
    color:var(--hb-color-primary);
    font-size:.82rem;
    font-weight:700;
    white-space:nowrap;
}
.hb-compact-civic-row__phone-number .dashicons {
    width:1rem;
    height:1rem;
    flex:0 0 1rem;
    font-size:1rem;
    color:var(--hb-color-primary);
}
@media(max-width:1100px){
    .hb-compact-civic-row {
        grid-template-columns:minmax(180px,1fr) minmax(200px,1.2fr) minmax(130px,.7fr) auto;
    }
}
@media(max-width:767px){
    .hb-compact-civic-row {
        grid-template-columns:1fr auto;
        gap:.38rem .65rem;
    }
    .hb-compact-civic-row__name,
    .hb-compact-civic-row__address {
        grid-column:1 / -1;
    }
    .hb-compact-civic-row__phone-number {
        grid-column:1;
        align-self:center;
    }
    .hb-compact-civic-row__phone {
        grid-column:2;
        justify-content:flex-end;
    }
}


/* --------------------------------------------------------------------------
   v5.3.97 — Compact civic directory column header
   -------------------------------------------------------------------------- */
.hb-compact-civic-table-head {
    display:grid;
    grid-template-columns:minmax(200px,1.2fr) minmax(220px,1.35fr) minmax(135px,.72fr) auto;
    align-items:center;
    gap:.8rem;
    padding:.52rem .9rem;
    border-bottom:1px solid rgba(15,75,72,.10);
    background:#f6faf9;
    color:var(--hb-color-text-muted);
    font-size:.74rem;
    font-weight:800;
    line-height:1.25;
}
.hb-compact-civic-table-head span:last-child {
    justify-self:end;
}
@media(max-width:1100px) and (min-width:768px){
    .hb-compact-civic-table-head {
        grid-template-columns:minmax(180px,1fr) minmax(200px,1.2fr) minmax(130px,.7fr) auto;
    }
}
@media(max-width:767px){
    .hb-compact-civic-table-head { display:none; }
}


/* --------------------------------------------------------------------------
   v5.3.98 — Civic column headers: left aligned
   -------------------------------------------------------------------------- */
.hb-compact-civic-table-head span {
    justify-self:start;
    text-align:left;
}
.hb-compact-civic-table-head span:last-child {
    justify-self:start;
    text-align:left;
}


/* --------------------------------------------------------------------------
   v5.3.99 — Civic table: header and all row cells share true left alignment
   -------------------------------------------------------------------------- */
@media (min-width:768px) {
    .hb-compact-civic-table-head,
    .hb-compact-civic-row {
        grid-template-columns:minmax(200px,1.2fr) minmax(220px,1.35fr) minmax(135px,.72fr) minmax(110px,auto);
    }

    .hb-compact-civic-table-head > span,
    .hb-compact-civic-row > div {
        min-width:0;
        width:100%;
        justify-self:stretch;
        text-align:left;
    }

    .hb-compact-civic-row__name,
    .hb-compact-civic-row__address,
    .hb-compact-civic-row__phone-number,
    .hb-compact-civic-row__phone {
        justify-content:flex-start;
        text-align:left;
    }

    .hb-compact-civic-row__phone {
        justify-self:stretch;
    }

    .hb-compact-civic-row__phone .hb-compact-civic-call {
        margin-left:0;
        margin-right:auto;
        justify-content:flex-start;
    }
}
@media (max-width:1100px) and (min-width:768px) {
    .hb-compact-civic-table-head,
    .hb-compact-civic-row {
        grid-template-columns:minmax(180px,1fr) minmax(200px,1.2fr) minmax(130px,.7fr) minmax(110px,auto);
    }
}

/* --------------------------------------------------------------------------
   v5.4.0 — Shared site-wide Review Engine UI
   -------------------------------------------------------------------------- */
.hb-review-rating-summary{display:flex;align-items:center;gap:.3rem;margin:.45rem 0 .1rem;color:var(--hb-color-text-muted);font-size:.78rem;line-height:1.2}.hb-review-rating-summary__star{color:#b7791f;font-size:.9rem}.hb-review-rating-summary strong{color:var(--hb-color-heading);font-weight:800}.hb-review-rating-summary--compact{font-size:.72rem}
.hb-reviews{padding:clamp(2rem,4vw,4rem) 0;background:linear-gradient(180deg,#f7fbfb 0%,#fff 100%);border-top:1px solid rgba(13,112,104,.09)}
.hb-reviews__panel{padding:clamp(1rem,2.2vw,1.6rem);border:1px solid rgba(13,70,66,.12);border-radius:1.25rem;background:#fff;box-shadow:0 14px 38px rgba(14,62,58,.06)}
.hb-reviews__summary{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding-bottom:1rem;border-bottom:1px solid rgba(13,70,66,.1)}.hb-reviews__eyebrow,.hb-review-form__heading span{display:block;margin-bottom:.25rem;color:var(--hb-color-primary);font-size:.72rem;font-weight:900;letter-spacing:.08em}.hb-reviews__summary h2,.hb-review-form__heading h3{margin:0;color:var(--hb-color-heading)}.hb-reviews__summary p{margin:.35rem 0 0;color:var(--hb-color-text-muted)}
.hb-reviews__score{min-width:150px;text-align:center;padding:.75rem 1rem;border-radius:1rem;background:#f2faf8}.hb-reviews__score strong{display:block;font-size:2rem;line-height:1;color:var(--hb-color-heading)}.hb-reviews__stars{display:block;margin:.28rem 0;color:#b7791f;letter-spacing:.08em}.hb-reviews__score small{color:var(--hb-color-text-muted)}
.hb-review-notice{margin:1rem 0 0;padding:.75rem .9rem;border-radius:10px;background:#f3faf8;color:#0b675f;font-weight:700}.hb-review-notice--duplicate,.hb-review-notice--required,.hb-review-notice--slow,.hb-review-notice--error,.hb-review-notice--invalid{background:#fff7ed;color:#9a3412}
.hb-reviews__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:1.25rem;margin-top:1.15rem}.hb-reviews__list{display:grid;gap:.75rem;align-content:start}.hb-review-card{padding:.9rem 1rem;border:1px solid rgba(13,70,66,.11);border-radius:1rem;background:#fbfdfd}.hb-review-card__head{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.hb-review-card__head span{color:#b7791f;letter-spacing:.04em}.hb-review-card p{margin:.55rem 0;color:var(--hb-color-text);line-height:1.65}.hb-review-card time{color:var(--hb-color-text-muted);font-size:.75rem}.hb-reviews__empty{padding:1rem;border:1px dashed rgba(13,70,66,.18);border-radius:1rem;color:var(--hb-color-text-muted)}
.hb-review-form{padding:1rem;border:1px solid rgba(13,70,66,.12);border-radius:1rem;background:#f9fcfc}.hb-review-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:.15rem;margin:.8rem 0;border:0;padding:0}.hb-review-stars legend{width:100%;margin-bottom:.3rem;font-weight:800}.hb-review-stars input{position:absolute;opacity:0;pointer-events:none}.hb-review-stars label{cursor:pointer;color:#cbd5d1;font-size:1.55rem;line-height:1}.hb-review-stars label:hover,.hb-review-stars label:hover~label,.hb-review-stars input:checked~label{color:#b7791f}.hb-review-form__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.hb-review-form label{display:grid;gap:.3rem;color:var(--hb-color-heading);font-size:.82rem;font-weight:800}.hb-review-form label em{color:#b42318;font-style:normal}.hb-review-form label small{color:var(--hb-color-text-muted);font-weight:500}.hb-review-form input,.hb-review-form textarea{width:100%;border:1px solid rgba(13,70,66,.18);border-radius:10px;background:#fff;padding:.66rem .72rem;font:inherit;color:var(--hb-color-text);box-sizing:border-box}.hb-review-form input:focus,.hb-review-form textarea:focus{outline:2px solid rgba(13,112,104,.15);border-color:var(--hb-color-primary)}.hb-review-form__full{grid-column:1/-1}.hb-review-form__privacy{margin:.7rem 0;color:var(--hb-color-text-muted);font-size:.75rem;line-height:1.5}.hb-review-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:767px){.hb-reviews{padding:1.5rem 0}.hb-reviews__summary{align-items:flex-start}.hb-reviews__score{min-width:112px;padding:.6rem}.hb-reviews__score strong{font-size:1.55rem}.hb-reviews__grid{grid-template-columns:1fr}.hb-review-form__fields{grid-template-columns:1fr}.hb-review-form__full{grid-column:auto}.hb-review-card__head{align-items:flex-start;flex-direction:column;gap:.25rem}}

/* --------------------------------------------------------------------------
   v5.4.1 — Premium sitewide Review UX
   -------------------------------------------------------------------------- */
.hb-reviews{padding:clamp(2.2rem,4vw,4.2rem) 0;background:linear-gradient(180deg,#f5faf9 0%,#fbfdfd 48%,#fff 100%);border-top:1px solid rgba(13,112,104,.09)}
.hb-reviews__panel{padding:clamp(1rem,2vw,1.45rem);border:1px solid rgba(13,70,66,.12);border-radius:1.35rem;background:rgba(255,255,255,.96);box-shadow:0 18px 50px rgba(14,62,58,.07)}
.hb-reviews__summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);align-items:center;gap:1.5rem;padding:clamp(.25rem,1vw,.5rem) 0 1.2rem;border-bottom:1px solid rgba(13,70,66,.1)}
.hb-reviews__intro{min-width:0}.hb-reviews__eyebrow,.hb-review-form__heading>span,.hb-reviews__list-heading>div>span{display:block;margin-bottom:.25rem;color:var(--hb-color-primary);font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.hb-reviews__summary h2{margin:0;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.2;color:var(--hb-color-heading)}.hb-reviews__summary p{max-width:620px;margin:.45rem 0 0;color:var(--hb-color-text-muted);font-size:.9rem;line-height:1.6}
.hb-reviews__overview{display:grid;grid-template-columns:120px minmax(0,1fr);gap:1rem;align-items:center;padding:.8rem;border:1px solid rgba(13,112,104,.1);border-radius:1rem;background:linear-gradient(135deg,#f0faf8,#f8fcfb)}
.hb-reviews__score{min-width:0;padding:.35rem .45rem;text-align:center;background:transparent;border-right:1px solid rgba(13,70,66,.1);border-radius:0}.hb-reviews__score strong{display:block;font-size:2.15rem;line-height:1;color:var(--hb-color-heading)}.hb-reviews__stars{display:block;margin:.3rem 0;color:#b7791f;letter-spacing:.06em}.hb-reviews__score small{display:block;color:var(--hb-color-text-muted);font-size:.7rem;line-height:1.35}
.hb-reviews__distribution{display:grid;gap:.27rem}.hb-review-bar{display:grid;grid-template-columns:24px 1fr 28px;gap:.42rem;align-items:center;color:var(--hb-color-text-muted);font-size:.69rem}.hb-review-bar__track{display:block;height:5px;overflow:hidden;border-radius:999px;background:rgba(13,70,66,.09)}.hb-review-bar__track>span{display:block;height:100%;border-radius:inherit;background:#b7791f}.hb-review-bar small{text-align:right}
.hb-review-notice{display:flex;align-items:flex-start;gap:.65rem;margin-top:1rem;padding:.75rem .85rem;border:1px solid rgba(13,112,104,.15);border-radius:.9rem;background:#f1faf8;color:var(--hb-color-heading);font-size:.82rem;line-height:1.5}.hb-review-notice__icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:var(--hb-color-primary);color:#fff;font-weight:900}.hb-review-notice--duplicate,.hb-review-notice--required,.hb-review-notice--slow,.hb-review-notice--error,.hb-review-notice--invalid{border-color:rgba(180,35,24,.14);background:#fff7f6}.hb-review-notice--duplicate .hb-review-notice__icon,.hb-review-notice--required .hb-review-notice__icon,.hb-review-notice--slow .hb-review-notice__icon,.hb-review-notice--error .hb-review-notice__icon,.hb-review-notice--invalid .hb-review-notice__icon{background:#b42318}
.hb-reviews__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);gap:1.1rem;margin-top:1.15rem;align-items:start}.hb-reviews__list{display:grid;gap:.7rem;align-content:start}.hb-reviews__list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:.2rem .15rem .25rem}.hb-reviews__list-heading h3{margin:0;color:var(--hb-color-heading);font-size:1.05rem}.hb-reviews__count-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.25rem .55rem;border-radius:999px;background:#eef8f6;color:var(--hb-color-primary);font-size:.72rem;font-weight:800}
.hb-review-card{padding:.85rem .95rem;border:1px solid rgba(13,70,66,.11);border-radius:1rem;background:#fff;box-shadow:0 7px 20px rgba(14,62,58,.035)}.hb-review-card__head{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.hb-review-card__person{display:flex;align-items:center;gap:.65rem;min-width:0}.hb-review-card__avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#eef9f7;color:var(--hb-color-primary);font-weight:900}.hb-review-card__person>div{display:grid;gap:.08rem;min-width:0}.hb-review-card__person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--hb-color-heading);font-size:.88rem}.hb-review-card__person time{color:var(--hb-color-text-muted);font-size:.7rem}.hb-review-card__rating{flex:0 0 auto;color:#b7791f;letter-spacing:.035em;font-size:.82rem}.hb-review-card p{margin:.65rem 0 0;color:var(--hb-color-text);font-size:.86rem;line-height:1.62}.hb-reviews__empty{display:grid;place-items:center;text-align:center;gap:.35rem;padding:1.5rem 1rem;border:1px dashed rgba(13,70,66,.18);border-radius:1rem;background:#fbfdfd;color:var(--hb-color-text-muted)}.hb-reviews__empty>span{font-size:1.35rem;color:#b7791f}.hb-reviews__empty strong{color:var(--hb-color-heading)}.hb-reviews__empty p{margin:0;font-size:.82rem}
.hb-review-form{position:sticky;top:calc(var(--hb-sticky-header-height,72px) + 16px);padding:1rem;border:1px solid rgba(13,70,66,.12);border-radius:1rem;background:linear-gradient(180deg,#fbfefe,#f6fbfa);box-shadow:0 9px 26px rgba(14,62,58,.045)}.hb-review-form__heading{padding-bottom:.72rem;border-bottom:1px solid rgba(13,70,66,.09)}.hb-review-form__heading h3{margin:0;color:var(--hb-color-heading);font-size:1.18rem}.hb-review-form__heading p{margin:.28rem 0 0;color:var(--hb-color-text-muted);font-size:.78rem;line-height:1.45}
.hb-review-stars{margin:.7rem 0 .85rem;border:0;padding:0}.hb-review-stars legend{width:100%;margin-bottom:.4rem;color:var(--hb-color-heading);font-size:.82rem;font-weight:800}.hb-review-stars legend em,.hb-review-form label em{color:#b42318;font-style:normal}.hb-review-stars__card{display:flex;align-items:center;justify-content:space-between;gap:.9rem;padding:.62rem .7rem;border:1px solid rgba(13,70,66,.12);border-radius:12px;background:linear-gradient(180deg,#f9fcfb 0%,#f2f9f7 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.hb-review-stars__copy{min-width:0;flex:1 1 auto}.hb-review-stars__prompt{display:block;color:var(--hb-color-heading);font-size:.72rem;font-weight:800;line-height:1.35}.hb-review-stars__hint{margin:.22rem 0 0;color:var(--hb-color-text-muted);font-size:.64rem;line-height:1.4}.hb-review-stars__action{display:flex;align-items:center;justify-content:flex-end;gap:.45rem;flex:0 0 auto}.hb-review-stars__control{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:.28rem;min-height:38px;padding:.28rem .34rem;border:1px solid rgba(13,70,66,.11);border-radius:999px;background:#fff;box-shadow:0 6px 16px rgba(14,62,58,.045)}.hb-review-stars input{position:absolute;opacity:0;pointer-events:none}.hb-review-stars label{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;cursor:pointer;border:1px solid rgba(13,70,66,.1);border-radius:50%;background:linear-gradient(180deg,#fbfdfd 0%,#f2f7f6 100%);color:#c8d1cf;font-size:.98rem;line-height:1;box-shadow:0 3px 8px rgba(14,62,58,.035);transition:transform .15s ease,color .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.hb-review-stars label:hover{transform:translateY(-1px)}.hb-review-stars label:hover,.hb-review-stars label:hover~label,.hb-review-stars input:checked~label{color:#b7791f;border-color:rgba(183,121,31,.28);background:linear-gradient(180deg,#fff9ed 0%,#ffefc9 100%);box-shadow:0 5px 12px rgba(183,121,31,.13)}.hb-review-stars input:focus-visible+label{outline:2px solid rgba(13,112,104,.25);outline-offset:2px}.hb-review-stars__choice{display:inline-flex;align-items:center;min-height:26px;padding:.24rem .55rem;border:1px solid rgba(13,70,66,.11);border-radius:999px;background:#fff;color:var(--hb-color-primary);font-size:.65rem;font-weight:800;line-height:1.2;white-space:nowrap;box-shadow:0 4px 10px rgba(14,62,58,.035)}
.hb-review-form__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.hb-review-form label{display:grid;gap:.3rem;color:var(--hb-color-heading);font-size:.8rem;font-weight:800}.hb-review-form label>span{display:flex;align-items:center;gap:.25rem}.hb-review-form label small{color:var(--hb-color-text-muted);font-weight:500}.hb-review-form input,.hb-review-form textarea{width:100%;border:1px solid rgba(13,70,66,.17);border-radius:9px;background:#fff;padding:.62rem .68rem;font:inherit;color:var(--hb-color-text);box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.hb-review-form input::placeholder,.hb-review-form textarea::placeholder{color:#98a4a1}.hb-review-form input:focus,.hb-review-form textarea:focus{outline:0;border-color:var(--hb-color-primary);box-shadow:0 0 0 3px rgba(13,112,104,.09)}.hb-review-form textarea{min-height:105px;resize:vertical}.hb-review-form__full{grid-column:1/-1}.hb-review-form__hint{margin-top:-.08rem;font-size:.68rem!important;font-weight:500!important;color:var(--hb-color-text-muted)!important}.hb-review-form__privacy{display:flex;align-items:flex-start;gap:.5rem;margin:.7rem 0;padding:.65rem .7rem;border-radius:.8rem;background:#eef8f6;color:var(--hb-color-text-muted);font-size:.7rem;line-height:1.45}.hb-review-form__privacy p{margin:0}.hb-review-form__privacy strong{color:var(--hb-color-heading)}.hb-review-form__submit{width:100%;justify-content:center}.hb-review-form__pending-note{margin:.45rem 0 0;text-align:center;color:var(--hb-color-text-muted);font-size:.67rem;line-height:1.4}.hb-review-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:900px){.hb-reviews__summary{grid-template-columns:1fr}.hb-reviews__overview{max-width:520px}.hb-reviews__grid{grid-template-columns:1fr}.hb-review-form{position:static}}
@media(max-width:767px){.hb-reviews{padding:1.5rem 0}.hb-reviews__panel{padding:.85rem;border-radius:1.1rem}.hb-reviews__summary{gap:.9rem;padding-bottom:.9rem}.hb-reviews__overview{grid-template-columns:95px minmax(0,1fr);gap:.7rem;padding:.65rem}.hb-reviews__score strong{font-size:1.65rem}.hb-reviews__stars{font-size:.78rem}.hb-review-bar{grid-template-columns:22px 1fr 24px}.hb-reviews__grid{gap:.9rem;margin-top:.9rem}.hb-review-card{padding:.75rem}.hb-review-card__head{align-items:flex-start}.hb-review-card__rating{font-size:.74rem}.hb-review-form{padding:.85rem}.hb-review-form__fields{grid-template-columns:1fr}.hb-review-form__full{grid-column:auto}.hb-review-stars__card{align-items:flex-start;gap:.55rem;padding:.58rem .62rem}.hb-review-stars__action{gap:.3rem}.hb-review-stars__control{gap:.22rem;min-height:34px;padding:.22rem .28rem}.hb-review-stars label{flex-basis:27px;width:27px;height:27px;font-size:.9rem}.hb-review-stars__choice{font-size:.61rem;padding:.22rem .45rem}.hb-review-stars__prompt{font-size:.68rem}.hb-review-stars__hint{font-size:.6rem}.hb-review-form input,.hb-review-form textarea{padding:.62rem .65rem}}


/* v5.4.4 — Compact review rating row */
.hb-review-stars__prompt strong{color:var(--hb-color-primary);font-weight:900}
.hb-review-stars__action{margin-left:auto;justify-content:flex-end}
.hb-review-stars__choice{display:none!important}
@media(min-width:768px){.hb-review-stars__card{grid-template-columns:minmax(0,1fr) auto}.hb-review-stars__action{align-self:center}}


/* v5.4.6 — Review list progressive reveal */
.hb-review-card[hidden]{display:none!important}
.hb-reviews__more{display:flex;justify-content:center;padding:.25rem 0 .1rem}
.hb-reviews__more-button{min-width:132px;justify-content:center;gap:.35rem}

/* v5.4.7 — Related Directory action: heading on desktop, footer on mobile */
.hb-directory-related__heading-action {
    flex: 0 0 auto;
    align-self: center;
}

@media (min-width: 768px) {
    .hb-directory-related__footer {
        display: none;
    }
}

@media (max-width: 767px) {
    .hb-directory-related__heading-action {
        display: none;
    }
}


/* v5.4.8 — Compact Community Accuracy card inside directory sidebar */
.hb-directory-report-zone--sidebar{
    display:block;
    margin:0;
    padding:.85rem 1rem .9rem;
    border:0;
    border-top:1px solid rgba(15,75,72,.10);
    border-radius:0;
    background:linear-gradient(180deg,rgba(15,75,72,.035),rgba(15,75,72,.012));
}
.hb-directory-report-zone--sidebar .hb-directory-section-heading__eyebrow{
    margin-bottom:.18rem;
    font-size:.62rem;
    letter-spacing:.09em;
}
.hb-directory-report-zone--sidebar h2{
    margin:0;
    font-size:1rem;
    line-height:1.3;
}
.hb-directory-report-zone--sidebar .hb-directory-report-zone__intro p{
    margin:.22rem 0 0;
    font-size:.72rem;
    line-height:1.45;
}
.hb-directory-report-zone--sidebar .hb-report-card{
    margin-top:.45rem;
    padding:0;
}
.hb-directory-report-zone--sidebar .hb-report-card details{
    margin-top:0;
}
.hb-directory-report-zone--sidebar .hb-report-card summary{
    min-height:34px;
    padding:0;
    font-size:.76rem;
    line-height:1.2;
}
.hb-directory-report-zone--sidebar .hb-report-form{
    gap:.55rem;
    margin-top:.55rem;
}
.hb-directory-report-zone--sidebar .hb-report-form label{
    gap:.25rem;
    font-size:.72rem;
}
.hb-directory-report-zone--sidebar .hb-report-form select,
.hb-directory-report-zone--sidebar .hb-report-form input[type="email"],
.hb-directory-report-zone--sidebar .hb-report-form textarea{
    min-height:38px;
    padding:.5rem .6rem;
    border-radius:8px;
    font-size:.76rem;
}
.hb-directory-report-zone--sidebar .hb-report-form textarea{min-height:84px}
.hb-directory-report-zone--sidebar .hb-report-form .hb-button,
.hb-directory-report-zone--sidebar .hb-report-form button{
    min-height:36px;
    padding:.45rem .65rem;
    border-radius:8px;
    font-size:.75rem;
}
@media(max-width:63.99rem){
    .hb-directory-report-zone--sidebar{
        border:1px solid rgba(15,75,72,.12);
        border-radius:14px;
        margin-top:.75rem;
    }
}


/* v5.4.9 — Directory sidebar report card: verified badge + overflow-safe compact form */
.hb-directory-report-zone--sidebar,
.hb-directory-report-zone--sidebar *{
    box-sizing:border-box;
}
.hb-directory-report-zone--sidebar .hb-directory-report-zone__form,
.hb-directory-report-zone--sidebar .hb-report-card,
.hb-directory-report-zone--sidebar .hb-report-card details,
.hb-directory-report-zone--sidebar .hb-report-form,
.hb-directory-report-zone--sidebar .hb-report-form label{
    min-width:0;
    max-width:100%;
}
.hb-directory-report-zone--sidebar .hb-report-card{
    width:100%;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
}
.hb-directory-report-zone--sidebar .hb-report-card > .hb-text-muted{
    display:inline-flex;
    align-items:center;
    width:auto;
    max-width:100%;
    min-height:25px;
    margin:.35rem 0 .08rem!important;
    padding:.22rem .55rem;
    border:1px solid rgba(22,163,74,.14);
    border-radius:999px;
    background:#edf9f1;
    color:transparent;
    font-size:0;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
}
.hb-directory-report-zone--sidebar .hb-report-card > .hb-text-muted::before{
    content:'✓  যাচাইকৃত';
    color:#16834b;
    font-size:.7rem;
    line-height:1;
}
.hb-directory-report-zone--sidebar .hb-report-card details{
    width:100%;
    overflow:visible;
}
.hb-directory-report-zone--sidebar .hb-report-form{
    width:100%;
    overflow:visible;
}
.hb-directory-report-zone--sidebar .hb-report-form select,
.hb-directory-report-zone--sidebar .hb-report-form input,
.hb-directory-report-zone--sidebar .hb-report-form textarea,
.hb-directory-report-zone--sidebar .hb-report-form button{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    margin-left:0;
    margin-right:0;
}
.hb-directory-report-zone--sidebar .hb-report-form select,
.hb-directory-report-zone--sidebar .hb-report-form input[type="email"],
.hb-directory-report-zone--sidebar .hb-report-form textarea{
    padding-left:.55rem;
    padding-right:.55rem;
}
.hb-directory-report-zone--sidebar .hb-report-form textarea{
    overflow:auto;
}


/* v5.4.10 — Directory detail: Community Reviews before Related Directory */
/* v5.4.12 — Full-bleed review background without 100vw overflow */
.hb-directory-single > .hb-reviews{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
    background:#f7fbfa;
    box-shadow:0 0 0 100vmax #f7fbfa;
    clip-path:inset(0 -100vmax);
}
.hb-directory-single > .hb-reviews > .hb-container{
    width:100%;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    padding-left:0;
    padding-right:0;
}


/* v5.4.13 — Directory profile header overview rating */
.hb-directory-profile-card__badges .hb-review-rating-summary{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    margin:0;
    padding:.3rem .58rem;
    border:1px solid rgba(183,121,31,.16);
    border-radius:999px;
    background:#fff9ed;
    color:var(--hb-color-text-muted);
    box-sizing:border-box;
    white-space:nowrap;
}
.hb-directory-profile-card__badges .hb-review-rating-summary__star{font-size:.82rem}
.hb-directory-profile-card__badges .hb-review-rating-summary strong{font-size:.74rem}
.hb-directory-profile-card__badges .hb-review-rating-summary span:last-child{font-size:.68rem}
@media(max-width:767px){
    .hb-directory-profile-card__badges .hb-review-rating-summary{min-height:26px;padding:.25rem .5rem}
}


/* v5.4.15 — Directory header rating: first, plain, star on the right */
.hb-directory-profile-card__badges .hb-review-rating-summary{
    display:inline-flex;
    align-items:center;
    gap:.25rem;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:var(--hb-color-text-muted);
    white-space:nowrap;
}
.hb-directory-profile-card__badges .hb-review-rating-summary strong{order:1;font-size:.74rem}
.hb-directory-profile-card__badges .hb-review-rating-summary span:last-child{order:2;font-size:.68rem}
.hb-directory-profile-card__badges .hb-review-rating-summary__star{order:3;font-size:.82rem;color:#b7791f}
@media(max-width:767px){
    .hb-directory-profile-card__badges .hb-review-rating-summary{min-height:0;padding:0}
}

/* v5.4.16 — Directory profile verification under logo */
.hb-directory-profile-card__logo-stack{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:.42rem}
.hb-directory-profile-card__logo-stack .hb-directory-single__logo{flex:0 0 auto}
.hb-directory-profile-card__verified{margin:0;white-space:nowrap;font-size:.66rem;line-height:1;padding:.28rem .5rem}
@media(max-width:35rem){.hb-directory-profile-card__logo-stack{gap:.32rem}.hb-directory-profile-card__verified{font-size:.62rem;padding:.25rem .42rem}}


/* v5.4.17 — Compact directory cards: rating + category overlay */
.hb-directory-card--home-compact .hb-directory-card__rating-category-overlay,
.hb-directory-card--archive-compact .hb-directory-card__rating-category-overlay {
    position: absolute;
    z-index: 4;
    top: .7rem;
    left: .7rem;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 1.4rem);
    overflow: hidden;
    border: 1px solid rgba(15,75,72,.10);
    border-radius: 10px;
    background: rgba(255,255,255,.90);
    color: var(--hb-color-text-muted);
    box-shadow: 0 5px 14px rgba(8,42,39,.08);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hb-directory-card__rating-category-value,
.hb-directory-card__rating-category-name {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 6px 10px 4px 10px;
    white-space: nowrap;
}
.hb-directory-card__rating-category-value {
    color: var(--hb-color-primary);
    font-weight: 800;
}
.hb-directory-card__rating-category-separator {
    align-self: stretch;
    width: 1px;
    flex: 0 0 1px;
    background: rgba(15,75,72,.12);
}
.hb-directory-card__rating-category-name {
    max-width: 9.5rem;
    overflow: hidden;
    color: var(--hb-color-heading);
    text-overflow: ellipsis;
}
@media (max-width: 47.99rem) {
    .hb-directory-card--home-compact .hb-directory-card__rating-category-overlay,
    .hb-directory-card--archive-compact .hb-directory-card__rating-category-overlay {
        top: .55rem;
        left: .55rem;
        max-width: calc(100% - 1.1rem);
        font-size: .68rem;
    }
    .hb-directory-card__rating-category-name { max-width: 7.5rem; }
}

/* --------------------------------------------------------------------------
   v5.4.20 — Homepage Directory section vertical spacing refinement
   Keep the carousel/card design intact while reducing empty top/bottom space.
   -------------------------------------------------------------------------- */
.hb-home--compact .hb-home-directory-carousel {
    padding-block: clamp(1.2rem, 2vw, 1.65rem);
}

.hb-home--compact .hb-home-directory-carousel .hb-section-heading--compact {
    margin-bottom: clamp(.8rem, 1.2vw, 1rem);
}

@media (max-width: 767px) {
    .hb-home--compact .hb-home-directory-carousel {
        padding-block: 1.15rem;
    }
}

/* --------------------------------------------------------------------------
   v5.4.28 — Mobile Header Always Sticky
   -------------------------------------------------------------------------- */
@media (max-width: 47.99rem) {
    .hb-site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .admin-bar .hb-site-header {
        top: 46px;
    }
}


/* --------------------------------------------------------------------------
   v5.4.29 — Robust fixed mobile header
   Android/mobile browsers can be unreliable with sticky + backdrop-filter.
   Fix the mobile header to the viewport and compensate its measured height on
   the document body so content never jumps underneath it.
   -------------------------------------------------------------------------- */
@media (max-width: 47.99rem) {
    .hb-site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }

    body.admin-bar .hb-site-header {
        top: 46px;
    }

    body.hb-mobile-fixed-header-active {
        padding-top: var(--hb-mobile-fixed-header-height, 0px);
    }
}


/* --------------------------------------------------------------------------
   v5.4.33 — Community Accuracy becomes a shared footer component
   -------------------------------------------------------------------------- */
.hb-site-footer--with-community {
    margin-top: clamp(4.5rem, 7vw, 6rem);
}

.hb-site-footer__community {
    position: relative;
    z-index: 3;
    transform: translateY(-50%);
    margin-bottom: clamp(-4.25rem, -5vw, -3.5rem);
}

.hb-site-footer__community-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding: clamp(1.35rem, 2.6vw, 2rem);
    border: 1px solid var(--hb-color-border);
    background: var(--hb-color-surface);
    box-shadow: 0 18px 45px rgba(8, 31, 30, 0.12);
}

.hb-site-footer__community-copy {
    min-width: 0;
}

.hb-site-footer__community-copy .hb-section-heading__eyebrow {
    margin: 0 0 .3rem;
}

.hb-site-footer__community-copy h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    line-height: 1.15;
}

.hb-site-footer__community-copy > p:last-child {
    margin: .45rem 0 0;
    color: var(--hb-color-text-muted);
}

.hb-site-footer__community-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .7rem;
}

.hb-site-footer--with-community .hb-site-footer__shell {
    padding-top: 24px;
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    .hb-site-footer--with-community {
        margin-top: 0;
        padding-top: 1rem;
    }

    .hb-site-footer__community {
        transform: none;
        margin-bottom: 0;
    }

    .hb-site-footer__community-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.1rem;
    }

    .hb-site-footer__community-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .hb-site-footer__community-actions .hb-button {
        width: 100%;
        justify-content: center;
    }

    .hb-site-footer--with-community .hb-site-footer__shell {
        padding-top: 1.5rem;
    }
}

/* v5.4.35 — Local Advertisement placements */
.hb-local-ad{position:relative;min-width:0;overflow:hidden;border:1px solid var(--hb-border,#dbe5e4);border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(16,48,45,.055)}
.hb-local-ad__link{display:block;position:relative;color:inherit;text-decoration:none}
.hb-local-ad__image{display:block;width:100%;height:100%;object-fit:cover;background:#eef5f4}
.hb-local-ad__meta{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:6px;max-width:calc(100% - 20px);padding:5px 8px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(15,45,42,.09);font-size:11px;line-height:1.1;backdrop-filter:blur(8px)}
.hb-local-ad__label{font-weight:800;color:var(--hb-primary,#0b7f75)}
.hb-local-ad__sponsor{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#445b59}
.hb-home-ads{padding:clamp(18px,2.5vw,30px) 0;background:#fff}
.hb-home-ads__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hb-local-ad--home{aspect-ratio:16/6}
.hb-local-ad--listing{min-height:0;align-self:stretch;aspect-ratio:auto}
.hb-local-ad--listing .hb-local-ad__link,.hb-local-ad--listing .hb-local-ad__image{height:100%}
.hb-local-ad--listing .hb-local-ad__image{min-height:100%;aspect-ratio:1/1.08}
.hb-local-ad--main{margin:0 0 18px;aspect-ratio:16/5}
.hb-local-ad--sidebar{margin:14px 14px 0;aspect-ratio:4/3}
.hb-local-ad--sidebar .hb-local-ad__link,.hb-local-ad--main .hb-local-ad__link,.hb-local-ad--home .hb-local-ad__link{height:100%}
.hb-directory-grid>.hb-local-ad--listing{width:100%}
@media(max-width:767px){
  .hb-home-ads__grid{grid-template-columns:1fr;gap:12px}
  .hb-local-ad--home{aspect-ratio:16/8}
  .hb-local-ad--main{aspect-ratio:16/7;margin-bottom:14px}
  .hb-local-ad--sidebar{margin:12px 12px 0;aspect-ratio:16/7}
  .hb-local-ad__meta{left:8px;top:8px;padding:4px 7px;font-size:10px}
}

/* v5.4.36 — Advertisement Phase 2 archive placements */
.hb-local-ad--archive-card{min-width:0;align-self:stretch;min-height:220px;aspect-ratio:4/3}
.hb-local-ad--archive-card .hb-local-ad__link,.hb-local-ad--archive-card .hb-local-ad__image{height:100%}
.hb-local-ad--archive-card .hb-local-ad__image{object-fit:cover}
.hb-news-grid>.hb-local-ad--archive-card,.hb-doctor-grid>.hb-local-ad--archive-card,.hb-facility-grid>.hb-local-ad--archive-card,.hb-transport-grid>.hb-local-ad--archive-card,.hb-route-grid>.hb-local-ad--archive-card,.hb-place-grid>.hb-local-ad--archive-card{width:100%;height:100%}
@media (max-width:720px){.hb-local-ad--archive-card{min-height:0;aspect-ratio:16/9}}


/* v5.4.37 — Phase 1 blank advertisement placeholders */
.hb-local-ad--placeholder{border-style:dashed;border-color:rgba(11,127,117,.22);background:linear-gradient(180deg,rgba(244,251,250,.92),rgba(237,247,246,.95));box-shadow:none}
.hb-local-ad__placeholder-shell{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;height:100%;padding:1rem;text-align:center;color:#3c5654}
.hb-local-ad__placeholder-copy{display:grid;gap:.3rem;justify-items:center;max-width:18rem}
.hb-local-ad__placeholder-copy strong{font-size:1rem;line-height:1.35;color:#23413e}
.hb-local-ad__placeholder-copy small{font-size:.78rem;line-height:1.45;color:#5d7674}
.hb-local-ad--home .hb-local-ad__placeholder-shell,.hb-local-ad--main .hb-local-ad__placeholder-shell,.hb-local-ad--sidebar .hb-local-ad__placeholder-shell,.hb-local-ad--listing .hb-local-ad__placeholder-shell{height:100%}
@media(max-width:767px){.hb-local-ad__placeholder-copy strong{font-size:.95rem}.hb-local-ad__placeholder-copy small{font-size:.75rem}}
.hb-local-ad--custom-height{height:var(--hb-local-ad-height);aspect-ratio:auto}
.hb-local-ad--custom-height .hb-local-ad__link,.hb-local-ad--custom-height .hb-local-ad__image,.hb-local-ad--custom-height .hb-local-ad__placeholder-shell{height:100%}
.hb-ad-admin-card__fixed-note{display:grid;gap:4px;align-content:start;padding:12px 14px;border:1px dashed rgba(11,127,117,.24);border-radius:12px;background:#f8fbfb;color:#486260}
.hb-ad-admin-card__fixed-note span{font-size:12px;font-weight:700;color:#486260}
.hb-ad-admin-card__fixed-note strong{font-size:13px;color:#213f3c}


/* v5.4.39 — Directory sidebar ad sits after the Contact Information card */
.hb-directory-single__sidebar{display:grid;align-self:start;gap:14px;min-width:0}
.hb-directory-single__sidebar>.hb-local-ad--sidebar{margin:0}
.hb-directory-single__sidebar>.hb-directory-report-zone--sidebar{margin:0;border:1px solid rgba(15,75,72,.10);border-radius:14px;background:linear-gradient(180deg,rgba(15,75,72,.035),rgba(15,75,72,.012))}
