/* HKBR design system — Phase 2 remediation layer (v0.2). Loaded after hkbr-design-system.css.
   Header (Elementor Pro Nav Menu, two rows on desktop, hamburger at <=1024px), logo proportions,
   footer type, areas city grid, Gravity Forms field consistency, focus visibility, responsive tables. */

/* ---------- Header ---------- */
.elementor .hkbr-header { position: relative; }
.elementor .hkbr-header > .e-con-inner { flex-wrap: wrap; row-gap: 0; position: relative; }
.elementor .hkbr-brand-logo img { width: auto; height: 56px; max-width: none; }
.elementor .hkbr-header .hkbr-brand { padding: 10px 0; }
.elementor .hkbr-header .hkbr-header-actions { margin-left: auto; }
.elementor .hkbr-navmenu { order: 5; flex: 1 0 100%; width: 100%; border-top: 1px solid var(--hkbr-border); }
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu { justify-content: space-between; flex-wrap: nowrap; }
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item { font: 600 14px/1.2 var(--hkbr-font-body); color: var(--hkbr-charcoal); padding: 15px 10px; white-space: nowrap; }
.elementor .hkbr-navmenu .elementor-nav-menu--main > .elementor-nav-menu > li:first-child > .elementor-item { padding-left: 0; }
.elementor .hkbr-navmenu .elementor-nav-menu--main > .elementor-nav-menu > li:last-child > .elementor-item { padding-right: 0; }
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item:hover,
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item.highlighted { color: var(--hkbr-accent-ink); }
.elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item.elementor-item-active { box-shadow: inset 0 -2px 0 var(--hkbr-accent); }
.elementor .hkbr-navmenu .sub-arrow { padding-left: 6px; font-size: 10px; }
.elementor .hkbr-navmenu .elementor-nav-menu--main .sub-menu { background: var(--hkbr-white); border: 1px solid var(--hkbr-border); border-radius: 10px; box-shadow: 0 16px 40px rgba(47, 58, 64, .14); padding: 8px 0; min-width: 270px !important; }
.elementor .hkbr-navmenu .elementor-nav-menu--main .sub-menu .elementor-sub-item { font: 500 14px/1.35 var(--hkbr-font-body); color: var(--hkbr-charcoal); padding: 10px 18px; border: 0; }
.elementor .hkbr-navmenu .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover { background: var(--hkbr-stone); color: var(--hkbr-accent-ink); }
.elementor .hkbr-navmenu .elementor-menu-toggle { width: 44px; height: 44px; border: 1px solid var(--hkbr-slate); border-radius: 8px; background: transparent; color: var(--hkbr-charcoal); font-size: 20px; margin: 0; }
.elementor .hkbr-navmenu .elementor-menu-toggle:hover { background: var(--hkbr-stone); }
@media (min-width: 1200px) and (max-width: 1360px) {
  .elementor .hkbr-navmenu .elementor-nav-menu--main .elementor-item { font-size: 13px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 1199px) {
  .elementor .hkbr-header .hkbr-header-actions { display: none; }
  .elementor .hkbr-header .hkbr-mobile-call { display: block; }
  .elementor .hkbr-header > .e-con-inner { flex-wrap: nowrap; }
  .elementor .hkbr-brand-logo img { height: 48px; }
  .elementor .hkbr-header .hkbr-brand { margin-right: auto; padding: 8px 0; }
  .elementor .hkbr-navmenu { order: 6; flex: 0 0 auto; width: auto; border-top: 0; position: static; }
  .elementor .hkbr-navmenu > .elementor-widget-container { position: static; }
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown.elementor-nav-menu__container { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--hkbr-white); border-top: 1px solid var(--hkbr-border); box-shadow: 0 18px 40px rgba(47, 58, 64, .16); margin-top: 0 !important; }
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown .elementor-item,
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown .elementor-sub-item { font: 600 16px/1.3 var(--hkbr-font-body); color: var(--hkbr-charcoal); padding: 14px 24px; border-bottom: 1px solid var(--hkbr-border); min-height: 48px; }
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item { font-weight: 500; padding-left: 40px; background: var(--hkbr-white); }
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown .sub-menu .sub-menu .elementor-sub-item { padding-left: 56px; }
  .elementor .hkbr-navmenu .elementor-nav-menu--dropdown a:hover { background: var(--hkbr-stone); color: var(--hkbr-accent-ink); }
}
@media (max-width: 767px) {
  .elementor .hkbr-brand-logo img { height: 44px; }
}
@media (max-width: 360px) {
  .elementor .hkbr-brand-logo img { height: 38px; }
}

/* ---------- Footer ---------- */
.elementor .hkbr-footer-logo-img img { width: 150px; height: auto; padding: 10px 12px; }
.elementor .hkbr-footer .elementor-widget-text-editor,
.elementor .hkbr-footer .elementor-widget-text-editor p { font-family: var(--hkbr-font-body); font-size: 14px; line-height: 1.65; color: rgba(251, 250, 247, .82); }
.elementor .hkbr-footer .hkbr-nap-w strong { color: var(--hkbr-white); font-weight: 700; }
.elementor .hkbr-footer .elementor-widget-text-editor a { color: var(--hkbr-white); text-decoration: underline; text-underline-offset: 3px; }
.elementor .hkbr-footer-bottom .elementor-widget-text-editor, .elementor .hkbr-footer-bottom .elementor-widget-text-editor p { font-size: 13px; margin: 0; }

/* ---------- Areas: city link grid ---------- */
.elementor .hkbr-areas-band .hkbr-chips--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 991px) { .elementor .hkbr-areas-band .hkbr-chips--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .elementor .hkbr-areas-band .hkbr-chips--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 360px) { .elementor .hkbr-areas-band .hkbr-chips--grid { grid-template-columns: minmax(0, 1fr); } }
.elementor .hkbr-chips--grid a { font: 600 15px/1.3 var(--hkbr-font-body); color: var(--hkbr-charcoal); text-decoration: none; }

/* ---------- Gravity Forms (legacy markup, forms 1 and 2): one consistent field system ---------- */
.elementor .hkbr-gform .gform_wrapper fieldset.gfield { border: 0 !important; padding: 0 !important; margin: 0 0 16px !important; min-width: 0; }
.elementor .hkbr-gform .gform_wrapper fieldset.gfield > legend.gfield_label { float: none; display: block; padding: 0; margin: 0 0 8px; border: 0; width: 100%; }
.elementor .hkbr-gform .gform_wrapper .gfield { margin: 0 0 16px !important; padding: 0 !important; }
.elementor .hkbr-gform .gform_wrapper .ginput_complex { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100% !important; margin: 0 !important; }
.elementor .hkbr-gform .gform_wrapper .ginput_complex > span { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }
.elementor .hkbr-gform .gform_wrapper .ginput_complex label { font-size: 12.5px !important; letter-spacing: 0 !important; text-transform: none !important; opacity: .85; margin-top: 4px; }
.elementor .hkbr-gform .gform_wrapper input[type="text"], .elementor .hkbr-gform .gform_wrapper input[type="email"],
.elementor .hkbr-gform .gform_wrapper input[type="tel"], .elementor .hkbr-gform .gform_wrapper textarea { width: 100% !important; box-sizing: border-box; min-height: 48px; font-size: 16px !important; }
.elementor .hkbr-gform .gform_wrapper ul.gform_fields { list-style: none; margin: 0; padding: 0; }
@media (max-width: 480px) { .elementor .hkbr-gform .gform_wrapper .ginput_complex { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Accessibility ---------- */
.elementor a:focus-visible, .elementor button:focus-visible, .elementor summary:focus-visible, .elementor .elementor-button:focus-visible,
.elementor input:focus-visible, .elementor textarea:focus-visible { outline: 3px solid var(--hkbr-accent-ink); outline-offset: 2px; }
.elementor .hkbr-dark a:focus-visible, .elementor .hkbr-dark .elementor-button:focus-visible, .elementor .hkbr-footer a:focus-visible { outline-color: var(--hkbr-on-slate, #F4C2BE); }
.elementor .hkbr-trust-label, .elementor .hkbr-glance-list dt, .elementor .hkbr-contact-details dt, .elementor .hkbr-micro { color: var(--hkbr-taupe); }
.elementor .hkbr-dark .hkbr-contact-details dt { color: #F4C2BE; }

/* ---------- Long-form content and articles ---------- */
.elementor .hkbr-article table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.elementor .hkbr-article th, .elementor .hkbr-article td { border: 1px solid var(--hkbr-border); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 120px; }
.elementor .hkbr-article img { max-width: 100%; height: auto; }
.elementor .hkbr-article iframe { max-width: 100%; }
.elementor .hkbr-abody-aside .hkbr-gform .gform_wrapper .gfield_label { color: var(--hkbr-charcoal) !important; }

/* ---------- Blog: related services strip ---------- */
.hkbr-relsvc { max-width: 1280px; margin: 0 auto; padding: 0 40px 72px; box-sizing: border-box; }
.hkbr-relsvc-eyebrow { font: 700 12px/1.4 var(--hkbr-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hkbr-accent-ink); margin: 0 0 10px; }
.hkbr-relsvc-title { font: 700 clamp(26px, 3vw, 34px)/1.12 var(--hkbr-font-display); color: var(--hkbr-charcoal); margin: 0 0 24px; }
@media (max-width: 991px) { .hkbr-relsvc { padding: 0 32px 64px; } }
@media (max-width: 767px) { .hkbr-relsvc { padding: 0 20px 48px; } }

/* HKBR breakpoints: mobile 767, tablet 991, tablet_extra 1199, laptop 1439. Hamburger at <=1199px, full menu from 1200px. */
@media (min-width: 1200px) { .elementor .hkbr-header .hkbr-mobile-call { display: none !important; } }

/* Long-form service/location copy uses the article typography (text-editor widget .hkbr-article-w) */
.elementor .hkbr-article-w{max-width: 46rem; font: 400 17px/1.75 var(--hkbr-font-body); color: var(--hkbr-taupe); overflow-wrap: break-word;}
.elementor .hkbr-article-w > :first-child{margin-top: 0;}
.elementor .hkbr-article-w p{margin: 0 0 1.15em;}
.elementor .hkbr-article-w h2{margin: 1.9em 0 .55em; font: 700 30px/1.15 var(--hkbr-font-display); letter-spacing: -.02em; color: var(--hkbr-charcoal); scroll-margin-top: 120px; text-wrap: balance;}
.elementor .hkbr-article-w h3{margin: 1.6em 0 .45em; font: 700 21px/1.3 var(--hkbr-font-display); letter-spacing: -.01em; color: var(--hkbr-charcoal); scroll-margin-top: 120px;}
.elementor .hkbr-article-w h4{margin: 1.4em 0 .4em; font: 700 17px/1.4 var(--hkbr-font-body); color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w ul,.elementor .hkbr-article-w ol{margin: 0 0 1.2em; padding-left: 1.3em;}
.elementor .hkbr-article-w li{margin: 0 0 .45em; padding-left: .2em;}
.elementor .hkbr-article-w li::marker{color: var(--hkbr-accent);}
.elementor .hkbr-article-w strong,.elementor .hkbr-article-w b{color: var(--hkbr-charcoal); font-weight: 650;}
.elementor .hkbr-article-w a{color: var(--hkbr-accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;}
.elementor .hkbr-article-w a:hover{color: var(--hkbr-accent-hi);}
.elementor .hkbr-article-w a:focus-visible{outline: 2px solid var(--hkbr-accent); outline-offset: 2px; border-radius: 2px;}
.elementor .hkbr-article-w blockquote{margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--hkbr-sand); color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w table{width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; display: block; overflow-x: auto;}
.elementor .hkbr-article-w th,.elementor .hkbr-article-w td{border: 1px solid var(--hkbr-border); padding: 10px 12px; text-align: left; vertical-align: top;}
.elementor .hkbr-article-w th{background: var(--hkbr-stone); color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w li:has(> :is(h2, h3, h4):only-child){list-style: none; margin-left: -1.3em; padding-left: 0;}
.elementor .hkbr-article-w figcaption,.elementor .hkbr-article-w .wp-caption-text{margin: 10px 0 0; font: 400 14px/1.5 var(--hkbr-font-body); color: var(--hkbr-taupe-faint); text-align: left;}
.elementor .hkbr-article-w h1{margin: 1.9em 0 .55em; font: 700 34px/1.12 var(--hkbr-font-display); letter-spacing: -.02em; color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w em,.elementor .hkbr-article-w i{font-style: italic;}
.elementor .hkbr-article-w img{max-width: 100%; height: auto; border-radius: 8px;}
.elementor .hkbr-article-w figure,.elementor .hkbr-article-w .wp-caption{margin: 1.6em 0 !important; max-width: 100%;}
.elementor .hkbr-article-w figure img,.elementor .hkbr-article-w .wp-caption img{display: block;}
.elementor .hkbr-article-w .aligncenter{display: block; margin-left: auto; margin-right: auto;}
.elementor .hkbr-article-w .aligncenter > img,.elementor .hkbr-article-w figure.aligncenter img{margin-left: auto; margin-right: auto;}
.elementor .hkbr-article-w .alignleft,.elementor .hkbr-article-w .alignright{display: block; margin: 1.4em 0 !important;}
.elementor .hkbr-article-w .alignwide,.elementor .hkbr-article-w .alignfull{max-width: 100%; margin-left: 0; margin-right: 0;}
.elementor .hkbr-article-w .wp-block-gallery{display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;}
.elementor .hkbr-article-w .wp-block-gallery .wp-block-image{margin: 0 !important;}
.elementor .hkbr-article-w .wp-block-table{margin: 0 0 1.4em !important; overflow-x: auto;}
.elementor .hkbr-article-w .wp-block-table table{display: table; margin: 0;}
.elementor .hkbr-article-w .wp-block-table figcaption{margin-top: 8px;}
.elementor .hkbr-article-w blockquote > :last-child{margin-bottom: 0;}
.elementor .hkbr-article-w blockquote p{font-size: 18px; line-height: 1.6;}
.elementor .hkbr-article-w blockquote cite,.elementor .hkbr-article-w .wp-block-quote cite,.elementor .hkbr-article-w .wp-block-pullquote cite{display: block; margin-top: .6em; font: 600 13px/1.4 var(--hkbr-font-body); font-style: normal; letter-spacing: .04em; color: var(--hkbr-taupe-faint);}
.elementor .hkbr-article-w .wp-block-pullquote{margin: 1.8em 0 !important; padding: 22px 0; border-top: 2px solid var(--hkbr-accent); border-bottom: 1px solid var(--hkbr-border); text-align: left;}
.elementor .hkbr-article-w .wp-block-pullquote blockquote{margin: 0; padding: 0; border: 0;}
.elementor .hkbr-article-w hr,.elementor .hkbr-article-w .wp-block-separator{height: 0; margin: 2.2em 0; border: 0; border-top: 1px solid var(--hkbr-border); background: none; opacity: 1;}
.elementor .hkbr-article-w .wp-block-buttons{display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1.6em;}
.elementor .hkbr-article-w .wp-block-button{margin: 0;}
.elementor .hkbr-article-w .wp-block-button__link,.elementor .hkbr-article-w a.wp-block-button__link{display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; box-sizing: border-box;
  border: 1px solid var(--hkbr-accent-btn); border-radius: 8px; background: var(--hkbr-accent-btn); color: #fff;
  font: 700 13px/1.2 var(--hkbr-font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s;}
.elementor .hkbr-article-w .wp-block-button__link:hover{background: var(--hkbr-accent-hi); border-color: var(--hkbr-accent-hi); color: #fff;}
.elementor .hkbr-article-w .is-style-outline .wp-block-button__link{background: transparent; color: var(--hkbr-charcoal); border-color: var(--hkbr-slate);}
.elementor .hkbr-article-w .is-style-outline .wp-block-button__link:hover{background: var(--hkbr-slate); color: #fff;}
.elementor .hkbr-article-w .wp-block-embed,.elementor .hkbr-article-w .wp-block-video{margin: 1.6em 0 !important;}
.elementor .hkbr-article-w iframe,.elementor .hkbr-article-w video{display: block; max-width: 100%; border: 0; border-radius: 8px;}
.elementor .hkbr-article-w .wp-block-embed.is-type-video iframe,.elementor .hkbr-article-w .wp-embed-aspect-16-9 iframe{width: 100%; height: auto; aspect-ratio: 16 / 9;}
.elementor .hkbr-article-w details{margin: 0; padding: 14px 0; border-top: 1px solid var(--hkbr-border);}
.elementor .hkbr-article-w details:last-of-type{border-bottom: 1px solid var(--hkbr-border); margin-bottom: 1.4em;}
.elementor .hkbr-article-w details summary{cursor: pointer; font: 700 17px/1.4 var(--hkbr-font-display); color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w details[open] summary{margin-bottom: .5em;}
.elementor .hkbr-article-w details > :last-child{margin-bottom: 0;}
.elementor .hkbr-article-w code,.elementor .hkbr-article-w kbd{padding: .1em .35em; border-radius: 4px; background: var(--hkbr-stone); font: 500 .9em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--hkbr-charcoal);}
.elementor .hkbr-article-w pre{margin: 0 0 1.4em; padding: 16px; overflow-x: auto; border-radius: 8px; background: var(--hkbr-stone);}
.elementor .hkbr-article-w pre code{padding: 0; background: none;}
.elementor .hkbr-article-w .has-text-align-center{text-align: center;}
.elementor .hkbr-article-w .has-text-align-right{text-align: right;}
.elementor .hkbr-article-w::after{content: ""; display: table; clear: both;}
.elementor .hkbr-article-w iframe[src*="youtube"],.elementor .hkbr-article-w iframe[src*="youtu.be"],.elementor .hkbr-article-w iframe[src*="vimeo"]{width: 100%; height: auto; aspect-ratio: 16 / 9;}
.elementor .hkbr-article-w :is(blockquote, table, pre, hr, details, .wp-block-table, figure.aligncenter, .wp-caption.aligncenter){clear: both;}
.elementor .hkbr-article-w h2:first-child{margin-top:0}
@media (max-width: 767px) { .elementor .hkbr-article-w { font-size: 16.5px; } .elementor .hkbr-article-w h2 { font-size: 25px; } .elementor .hkbr-article-w h3 { font-size: 19px; } }

/* Phase 2 — single-post hero: long article titles need a wider measure than page heroes */
.elementor .single-post .hkbr-ihero-h1 .elementor-heading-title,
body.single-post .elementor .hkbr-ihero-h1 .elementor-heading-title { max-width: 26ch; }
@media (max-width: 479px) { .hkbr-relsvc .hkbr-chips--grid { grid-template-columns: minmax(0, 1fr); } }
/* Phase 2 — project card whose source image is missing: neutral 4:3 tile keeps the grid aligned and the flag off the title */
.elementor .hkbr-project-card:not(:has(.hkbr-card-media))::before { content: ""; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--hkbr-stone, #ece6dc); order: -1; position: static !important; inset: auto; height: auto; flex: 0 0 auto; border-radius: 0; }
/* Phase 4 — blog archive (posts page, categories, tags) */
.hkbr-archive { background: var(--hkbr-white, #FBFAF7); }
.hkbr-archive-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.hkbr-archive-hero { padding: 48px 0 32px; }
.hkbr-archive-crumbs p { margin: 0; font: 500 13px/1.5 var(--hkbr-font-body); color: var(--hkbr-taupe); }
.hkbr-archive-crumbs a { color: var(--hkbr-taupe); text-decoration: none; }
.hkbr-archive-crumbs .last { color: var(--hkbr-charcoal); font-weight: 600; }
.hkbr-archive-eyebrow { font: 700 12px/1.4 var(--hkbr-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hkbr-accent-ink); margin: 20px 0 10px; }
.hkbr-archive-title { font: 700 clamp(34px, 4.5vw, 54px)/1.08 var(--hkbr-font-display); letter-spacing: -.02em; color: var(--hkbr-charcoal); margin: 0 0 14px; }
.hkbr-archive-lede { font: 400 18px/1.6 var(--hkbr-font-body); color: var(--hkbr-taupe); max-width: 62ch; margin: 0; }
.hkbr-archive-list { padding: 16px 0 88px; }
.hkbr-archive .hkbr-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hkbr-archive .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.hkbr-archive .page-numbers { display: inline-block; min-width: 44px; padding: 11px 14px; box-sizing: border-box; text-align: center; border: 1px solid var(--hkbr-border); border-radius: 8px; color: var(--hkbr-charcoal); text-decoration: none; font: 600 14px/1.2 var(--hkbr-font-body); }
.hkbr-archive .page-numbers.current { background: var(--hkbr-charcoal); border-color: var(--hkbr-charcoal); color: #fff; }
.hkbr-archive .page-numbers:focus-visible { outline: 2px solid var(--hkbr-accent); outline-offset: 2px; }
.hkbr-archive .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 991px) { .hkbr-archive-inner { padding: 0 32px; } .hkbr-archive .hkbr-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hkbr-archive-inner { padding: 0 20px; } .hkbr-archive .hkbr-post-grid { grid-template-columns: minmax(0, 1fr); } .hkbr-archive-hero { padding: 32px 0 24px; } }
/* Phase 4 — original widgets kept on Gallery / Sitemap */
.elementor .hkbr-legacy-section { max-width: 1280px; margin: 0 auto; padding: 48px 40px; box-sizing: border-box; }
@media (max-width: 767px) { .elementor .hkbr-legacy-section { padding: 32px 20px; } }
.elementor .hkbr-legacy-section .gallery-item img, .elementor .hkbr-legacy-section .elementor-image-gallery img { border-radius: 8px; }


/* ============ Phase 4 refinement (Phase 5 pass): shared components ============ */
/* Header: larger logo (aspect kept), calmer nav, stronger CTA, visible toggle */
.hkbr-header.e-con { --min-height: 78px; }
.hkbr-header .hkbr-brand, .hkbr-header .hkbr-brand-logo { width: auto !important; --width: auto; --container-widget-width: auto; flex: 0 0 auto; max-width: none; }
.hkbr-brand-logo img { max-width: none !important; width: 112px !important; height: auto !important; max-height: 58px; object-fit: contain; }
.hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item { font-size: 15px; font-weight: 600; letter-spacing: .005em; color: var(--hkbr-charcoal); padding: 10px 10px; white-space: nowrap; }
.hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item:hover,
.hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item.elementor-item-active { color: var(--hkbr-accent-ink); }
.hkbr-navmenu .elementor-nav-menu--main .sub-menu a.elementor-sub-item { font-size: 14.5px; padding: 10px 16px; color: var(--hkbr-charcoal); }
.hkbr-header-cta .elementor-button { padding: 13px 22px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(158, 27, 34, .22); }
.hkbr-header-cta .elementor-button:hover { box-shadow: 0 8px 20px rgba(158, 27, 34, .3); transform: translateY(-1px); }
.hkbr-navmenu .elementor-menu-toggle { color: var(--hkbr-charcoal); background: var(--hkbr-white); border: 1px solid var(--hkbr-slate); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hkbr-navmenu .elementor-menu-toggle svg, .hkbr-navmenu .elementor-menu-toggle i { color: var(--hkbr-charcoal); fill: var(--hkbr-charcoal); width: 22px; height: 22px; font-size: 22px; }
.hkbr-navmenu .elementor-menu-toggle:focus-visible { outline: 2px solid var(--hkbr-accent); outline-offset: 2px; }
@media (min-width: 1200px) {
	/* fewer top-level items on wide screens: Home = the logo link, Free Estimate = the CTA button; both stay in the mobile menu */
	.hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-3366,
	.hkbr-navmenu .elementor-nav-menu--main .elementor-nav-menu > li.menu-item-4740 { display: none; }
}
@media (max-width: 1199px) { .hkbr-brand-logo img { width: 96px !important; max-height: 50px; } }
@media (max-width: 767px) {
	.hkbr-header.e-con { --min-height: 64px; }
	.hkbr-brand-logo img { width: 84px !important; max-height: 44px; }
	.hkbr-header .hkbr-mobile-call, .hkbr-header .hkbr-mobile-call .hkbr-icon-btn { width: 44px; height: 44px; }
}

/* Homepage / page hero: balanced copy, intentional media proportions, no empty frames */
.hkbr-hero .hkbr-hero-grid { align-items: center; }
.hkbr-hero .hkbr-h1 .elementor-heading-title { line-height: 1.04; letter-spacing: -.012em; margin-bottom: 4px; text-wrap: balance; }
.hkbr-hero .hkbr-hero-line { display: block; }
.hkbr-hero .hkbr-hero-lede { max-width: 36rem; margin-top: 18px; }
.hkbr-hero .hkbr-btn-row { margin-top: 26px; gap: 12px; }
.hkbr-hero-media { position: relative; }
.hkbr-hero-shot { border-radius: var(--hkbr-radius); overflow: hidden; }
.hkbr-hero-main img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hkbr-hero-detail { position: absolute; left: -28px; bottom: -28px; width: 42%; border: 6px solid var(--hkbr-white); border-radius: var(--hkbr-radius); overflow: hidden; box-shadow: var(--hkbr-shadow); }
.hkbr-hero-detail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hkbr-hero-media img:not([src]), .hkbr-hero-media img[src=""] { display: none; }
.hkbr-hero-media .elementor-widget-image:not(:has(img)) { display: none; }
@media (max-width: 991px) { .hkbr-hero-detail { display: none; } .hkbr-hero-main img { aspect-ratio: 16 / 10; } }

/* Service cards: compact, consistent media, aligned text and links */
.hkbr-services-grid { gap: 20px; }
.hkbr-service-card .hkbr-card-media img { aspect-ratio: 3 / 2; }
.hkbr-service-card > .hkbr-card-body { padding: 18px 20px 20px; gap: 6px; }
.hkbr-service-card .hkbr-card-title .elementor-heading-title { font-size: 19px; line-height: 1.25; }
.hkbr-service-card .hkbr-text .elementor-widget-container { font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1200px) { .hkbr-services-grid.e-grid { --e-con-grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.hkbr-services-grid.e-grid { --e-con-grid-template-columns: 1fr; grid-template-columns: 1fr; gap: 12px; }
	.hkbr-service-card.e-con { --flex-direction: row; --flex-wrap: nowrap; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch; }
	.hkbr-service-card > .hkbr-card-body.e-con { width: auto; --width: auto; flex: 1 1 auto; min-width: 0; }
	.hkbr-service-card .hkbr-card-media.elementor-widget { margin: 0; }
	.hkbr-service-card .hkbr-card-media { width: 38%; flex: 0 0 38%; max-width: 150px; }
	.hkbr-service-card .hkbr-card-media .elementor-widget-container, .hkbr-service-card .hkbr-card-media img { height: 100%; }
	.hkbr-service-card .hkbr-card-media img { aspect-ratio: auto; min-height: 112px; }
	.hkbr-service-card > .hkbr-card-body { padding: 14px 16px; }
	.hkbr-service-card .hkbr-card-title .elementor-heading-title { font-size: 17px; }
	.hkbr-service-card .hkbr-text .elementor-widget-container { font-size: 14px; -webkit-line-clamp: 2; }
}

/* Process: readable on charcoal, distinct numbers/titles, balanced columns, compact mobile timeline */
.hkbr-process .hkbr-step-num .elementor-heading-title { font: 700 30px/1 var(--hkbr-font-display); letter-spacing: .02em; color: #F1B9B5; }
.hkbr-process .hkbr-step-title .elementor-heading-title { font-size: 19px; line-height: 1.3; color: #FBFAF7; font-weight: 700; }
.hkbr-process .hkbr-step-text, .hkbr-process .hkbr-step-text .elementor-widget-container { opacity: 1; color: rgba(251, 250, 247, .9); font-size: 16px; line-height: 1.6; }
@media (min-width: 992px) { .hkbr-process-grid.e-grid { --e-con-grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; column-gap: 40px; } .hkbr-step { padding-left: 22px; } }
@media (max-width: 767px) {
	.hkbr-process-grid.e-grid { --e-con-grid-template-columns: 1fr; grid-template-columns: 1fr; row-gap: 0; }
	.hkbr-step.e-con { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 0 0 22px 0; border-left: 0; }
	.hkbr-step::before { display: none; }
	.hkbr-step .hkbr-step-num { grid-row: 1 / span 2; position: relative; }
	.hkbr-step .hkbr-step-num .elementor-heading-title { font-size: 22px; }
	.hkbr-step:not(:last-child) .hkbr-step-num::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: -22px; width: 1px; background: rgba(251, 250, 247, .3); }
	.hkbr-process .hkbr-step-title .elementor-heading-title { font-size: 17px; }
	.hkbr-process .hkbr-step-text .elementor-widget-container { font-size: 15px; }
}

/* Gravity Forms: contrast, consistent heights and spacing (fields/config unchanged) */
.hkbr-gform .gform_wrapper .gfield_label, .hkbr-gform .gform_wrapper .gform-field-label, .hkbr-gform .gform_wrapper legend.gfield_label { color: var(--hkbr-charcoal); font: 600 14px/1.4 var(--hkbr-font-body); margin-bottom: 6px; letter-spacing: .01em; text-transform: none; }
.hkbr-gform .gform_wrapper .gfield_required, .hkbr-gform .gform_wrapper .gfield_required_text { color: #6B6560; font-weight: 500; font-size: 12.5px; }
.hkbr-gform .gform_wrapper input[type="text"], .hkbr-gform .gform_wrapper input[type="email"], .hkbr-gform .gform_wrapper input[type="tel"], .hkbr-gform .gform_wrapper select { min-height: 48px; padding: 11px 14px; font-size: 16px; color: var(--hkbr-charcoal); background: #FFFFFF; border: 1px solid #BDB5AA; border-radius: 6px; box-shadow: none; }
.hkbr-gform .gform_wrapper textarea { min-height: 128px; padding: 12px 14px; font-size: 16px; color: var(--hkbr-charcoal); border: 1px solid #BDB5AA; border-radius: 6px; }
.hkbr-gform .gform_wrapper input:focus, .hkbr-gform .gform_wrapper textarea:focus, .hkbr-gform .gform_wrapper select:focus { outline: 2px solid var(--hkbr-accent); outline-offset: 1px; border-color: var(--hkbr-accent); }
.hkbr-gform .gform_wrapper ::placeholder { color: #7A736C; opacity: 1; }
.hkbr-gform .gform_wrapper .gform_fields { row-gap: 16px; column-gap: 14px; }
.hkbr-gform .gform_wrapper .ginput_complex label, .hkbr-gform .gform_wrapper .gform-field-label--type-sub { color: #6B6560; font-size: 12.5px; margin-top: 4px; }
.hkbr-gform .gform_wrapper .gform_footer input[type="submit"], .hkbr-gform .gform_wrapper .gform_footer button { min-height: 50px; width: 100%; font-weight: 700; letter-spacing: .06em; }
.hkbr-gform .gform_wrapper .validation_message, .hkbr-gform .gform_wrapper .gfield_validation_message { color: #9E1B22; font-size: 13px; }

/* Footer: typography, spacing, readable details and legal links */
.hkbr-footer { font-size: 15px; line-height: 1.7; }
.hkbr-footer .hkbr-footer-logo-img img { width: 150px; height: auto; }
.hkbr-footer .hkbr-footer-h .elementor-heading-title { font: 700 12.5px/1.4 var(--hkbr-font-body); letter-spacing: .14em; text-transform: uppercase; color: #FBFAF7; margin-bottom: 14px; }
.hkbr-footer .hkbr-footer-links a, .hkbr-footer .hkbr-footer-summary, .hkbr-footer .hkbr-footer-brand .hkbr-text { color: rgba(251, 250, 247, .86); font-size: 15px; }
.hkbr-footer .hkbr-footer-links li { margin: 0 0 8px; }
.hkbr-footer .hkbr-footer-links a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.hkbr-footer .hkbr-footer-cols { column-gap: 40px; row-gap: 32px; }
.hkbr-footer .hkbr-footer-bottom, .hkbr-footer .hkbr-legal { font-size: 14px; color: rgba(251, 250, 247, .78); }
.hkbr-footer .hkbr-legal a { color: rgba(251, 250, 247, .9); margin-left: 18px; }
@media (max-width: 767px) {
	.hkbr-footer .hkbr-footer-cols.e-grid { --e-con-grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.hkbr-footer .hkbr-legal a { display: inline-block; margin: 6px 16px 0 0; }
	.hkbr-footer .hkbr-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Blog archive cards: featured image (existing assignment), consistent ratio, balanced text */
.elementor .hkbr-post-card.hkbr-post-card--media { padding-top: 0; overflow: hidden; }
.elementor .hkbr-post-card-media { margin: 0 -24px 6px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hkbr-stone); }
.elementor .hkbr-post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.elementor .hkbr-post-card:hover .hkbr-post-card-media img { transform: scale(1.03); }
.elementor .hkbr-post-card--text { border-top: 4px solid var(--hkbr-accent); }
.elementor .hkbr-post-card-title { font-size: 18px; line-height: 1.32; }
.elementor .hkbr-post-card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
@media (max-width: 1024px) { .elementor .hkbr-post-card-media { margin-left: -20px; margin-right: -20px; } }
.hkbr-archive .nav-links { margin-top: 48px; }
.hkbr-archive .page-numbers { min-width: 46px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--hkbr-white); }
.hkbr-archive .page-numbers:hover:not(.current):not(.dots) { border-color: var(--hkbr-charcoal); }
.hkbr-archive .page-numbers.prev, .hkbr-archive .page-numbers.next { padding-left: 18px; padding-right: 18px; }
.hkbr-archive .page-numbers.dots { border-color: transparent; background: transparent; }
.hkbr-archive-crumbs .rank-math-breadcrumb p, .hkbr-archive-crumbs p { margin: 0 0 14px; font-size: 14px; }

/* Single post: ~75/25 article and sidebar, readable rhythm, tables, honest sticky behavior */
@media (min-width: 1100px) {
	.elementor .hkbr-abody-grid.e-con { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); column-gap: 56px; align-items: start; }
	.elementor .hkbr-abody-aside { position: static; top: auto; }
}
@media (min-width: 1100px) and (min-height: 940px) { .elementor .hkbr-abody-aside { position: sticky; top: 108px; } }
@media (max-width: 1099px) { .elementor .hkbr-abody-aside { position: static; } .elementor .hkbr-abody-aside .hkbr-toc--aside { display: none; } }
.hkbr-ahero h1, .hkbr-ahero .elementor-heading-title { text-wrap: balance; }
.hkbr-ahero h1.elementor-heading-title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.012em; }
.hkbr-article-media { margin: 0 0 32px; border-radius: var(--hkbr-radius); overflow: hidden; }
.hkbr-article-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hkbr-article { font-size: 18px; line-height: 1.75; color: var(--hkbr-charcoal); }
.hkbr-article p { margin: 0 0 1.15em; }
.hkbr-article h2 { margin: 2.1em 0 .6em; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.22; }
.hkbr-article h3 { margin: 1.7em 0 .5em; font-size: 21px; line-height: 1.3; }
.hkbr-article h2:first-child, .hkbr-article h3:first-child { margin-top: 0; }
.hkbr-article ul, .hkbr-article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.hkbr-article li { margin: 0 0 .45em; }
.hkbr-article table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15.5px; line-height: 1.5; }
.hkbr-article th, .hkbr-article td { padding: 10px 14px; border: 1px solid var(--hkbr-border); text-align: left; vertical-align: top; }
.hkbr-article thead th, .hkbr-article tr:first-child th { background: var(--hkbr-stone); font-weight: 700; }
.hkbr-toc--aside { padding: 20px 22px; border: 1px solid var(--hkbr-border); border-radius: var(--hkbr-radius); background: var(--hkbr-white); margin-bottom: 24px; }
.hkbr-toc--aside .hkbr-toc-title { margin: 0 0 10px; font: 700 12.5px/1.4 var(--hkbr-font-body); letter-spacing: .14em; text-transform: uppercase; }
.hkbr-toc-list { margin: 0; padding-left: 1.1em; font-size: 15px; line-height: 1.5; }
.hkbr-toc-list li { margin: 0 0 8px; }
@media (max-width: 767px) { .hkbr-article { font-size: 17px; } .hkbr-article-media { margin-bottom: 24px; } }

/* Location planning section */
.hkbr-loc-links { font-size: 15px; color: var(--hkbr-taupe); }
.hkbr-glance h3, .hkbr-section .hkbr-text h3 { margin: 1.2em 0 .5em; font-size: 19px; }


/* ==========================================================================
   HKBR production hotfix 1 (2026-12-02) - post-migration UI fixes
   Scope: header/footer gaps, FAQ icons, dropdown active state, gallery grid,
   single-post layout width. CSS only; no markup, content or settings changes.
   ========================================================================== */

/* 1 + 2. Header and footer white bands: the U-Design theme adds
   main { padding: 8rem 0 11rem } around the redesigned Elementor layouts.
   Limited to the redesigned templates (cleaning pages use page-template-default). */
body.hkbr-design.elementor-template-full-width main#main,
body.hkbr-design.page-template-elementor_header_footer main#main,
body.hkbr-design.blog main#main,
body.hkbr-design.archive main#main,
body.hkbr-design.single-post main#main {
	padding-top: 0;
	padding-bottom: 0;
}

/* 3. FAQ accordion icons: brand-red circle with a white glyph in both states,
   on every Elementor accordion (home, services, locations, FAQs page). */
body.hkbr-design .elementor-widget-n-accordion {
	--n-accordion-icon-normal-color: #fff;
	--n-accordion-icon-hover-color: #fff;
	--n-accordion-icon-active-color: #fff;
}
body.hkbr-design .e-n-accordion-item-title-icon {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--hkbr-accent-btn);
	background: var(--hkbr-accent-btn);
	color: #fff;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, border-color .2s ease;
}
body.hkbr-design .e-n-accordion-item-title-icon i,
body.hkbr-design .e-n-accordion-item-title-icon svg,
body.hkbr-design .e-n-accordion-item-title-icon span {
	color: #fff !important;
	fill: #fff !important;
}
body.hkbr-design .e-n-accordion-item-title-icon i { font-size: 12px; line-height: 1; }
body.hkbr-design .e-n-accordion-item-title-icon svg { width: 12px; height: 12px; }
body.hkbr-design .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon,
body.hkbr-design .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon {
	background: var(--hkbr-accent-hi);
	border-color: var(--hkbr-accent-hi);
}
body.hkbr-design .e-n-accordion-item-title:focus-visible {
	outline: 2px solid var(--hkbr-accent);
	outline-offset: 4px;
	border-radius: 4px;
}
@media (max-width: 767px) {
	body.hkbr-design .e-n-accordion-item-title-icon { width: 30px; height: 30px; }
}

/* 4. Dropdown active / hover / focus states (Remodeling Services and all menus). */
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item.elementor-item-active,
.elementor .hkbr-navmenu .sub-menu .current-menu-item > a.elementor-sub-item,
.elementor .hkbr-navmenu .sub-menu .current-menu-ancestor > a.elementor-sub-item,
.elementor .hkbr-navmenu .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active {
	background: #F6E7E5 !important;
	color: var(--hkbr-accent-ink) !important;
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--hkbr-accent);
}
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item:hover,
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item.highlighted,
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item:focus,
.elementor .hkbr-navmenu .elementor-nav-menu--dropdown a.elementor-item:hover,
.elementor .hkbr-navmenu .elementor-nav-menu--dropdown a.elementor-item:focus {
	background: var(--hkbr-stone) !important;
	color: var(--hkbr-accent-ink) !important;
}
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item.elementor-item-active:hover,
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item.elementor-item-active:focus {
	background: #F1DCD9 !important;
}
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item:focus-visible,
.elementor .hkbr-navmenu .elementor-nav-menu--dropdown a.elementor-item:focus-visible {
	outline: 2px solid var(--hkbr-accent);
	outline-offset: -2px;
}
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item .sub-arrow,
.elementor .hkbr-navmenu .sub-menu a.elementor-sub-item .sub-arrow i { color: inherit !important; }

/* 5. Gallery: curated grid (4 / 3 / 2 columns) with a repeating 2x2 feature tile.
   Tiles keep the 570x400 thumbnail ratio; images fill with object-fit (no distortion). */
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 14px;
	margin: 0 !important;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery > br { display: none !important; }
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery .gallery-item {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
	aspect-ratio: 57 / 40;
	overflow: hidden;
	border-radius: 10px;
	background: var(--hkbr-stone);
	box-shadow: var(--hkbr-shadow-sm);
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery figure.gallery-item:nth-of-type(9n+1) {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: auto;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery figure.gallery-item:nth-of-type(18n+10) {
	grid-column: -3 / -1;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-icon,
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-icon a,
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-icon picture {
	display: block;
	width: 100%;
	height: 100%;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border: 0 !important;
	border-radius: 0 !important;
	transition: transform .5s ease;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-item:hover img { transform: scale(1.04); }
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-icon a:focus-visible {
	outline: 3px solid var(--hkbr-accent);
	outline-offset: -3px;
}
.elementor .hkbr-legacy-section .elementor-image-gallery .gallery-caption {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 1024px) {
	.elementor .hkbr-legacy-section .elementor-image-gallery .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 767px) {
	.elementor .hkbr-legacy-section .elementor-image-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.elementor .hkbr-legacy-section .elementor-image-gallery .gallery .gallery-item { border-radius: 8px; }
}

/* 6. Single post layout (hotfix 2). Root cause: the U-Design theme sets :root { font-size: 62.5% },
   so 1rem = 10px here and every rem-based width in the design system rendered at 62.5% of its
   intent (.hkbr-article 46rem = 460px). Widths below are in px and scoped to single posts only. */
body.single-post .elementor .hkbr-ahero .hkbr-ahero-copy,
body.single-post .elementor .hkbr-ahero .hkbr-ihero-h1 .elementor-heading-title { max-width: none; }
body.single-post .elementor .hkbr-article-w,
body.single-post .elementor .hkbr-article,
body.single-post .elementor .hkbr-article-media { max-width: none; width: 100%; }
body.single-post .elementor .hkbr-article-media { margin: 0 0 32px !important; }
body.single-post .elementor .hkbr-article-media img { width: 100%; max-width: 100%; }
/* desktop: full-width header above a ~75/25 content/sidebar split with a 32px gap */
@media (min-width: 1000px) {
	body.single-post .elementor .hkbr-ahero.e-con { --padding-top: 32px; --padding-bottom: 32px; }
	body.single-post .elementor .hkbr-abody-grid.e-con {
		display: grid !important;
		grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr) !important;
		column-gap: 32px !important;
		align-items: start;
	}
}
@media (max-width: 999px) {
	body.single-post .elementor .hkbr-abody-grid.e-con { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 767px) {
	body.single-post .elementor .hkbr-ahero.e-con,
	body.single-post .elementor .hkbr-abody.e-con { --padding-left: 20px; --padding-right: 20px; }
	body.single-post .elementor .hkbr-ahero > .e-con-inner,
	body.single-post .elementor .hkbr-abody > .e-con-inner { margin-left: 0; margin-right: 0; width: 100%; max-width: none; }
}
/* automated articles: inline <section style="max-width:900px;margin:0 auto"> wrapper */
body.single-post .hkbr-article > section[style] {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* legacy Elementor-built articles: neutralise nested section/column/card geometry so the text
   aligns with the featured image and uses the column width (content itself is unchanged) */
body.single-post .hkbr-article .elementor,
body.single-post .hkbr-article .elementor-section,
body.single-post .hkbr-article .elementor-container,
body.single-post .hkbr-article .elementor-column,
body.single-post .hkbr-article .elementor-widget-wrap,
body.single-post .hkbr-article .elementor-widget,
body.single-post .hkbr-article .elementor-widget-container {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}
body.single-post .hkbr-article .elementor-section {
	width: 100% !important;
	padding: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	left: auto !important;
}
body.single-post .hkbr-article .elementor-section > .elementor-container { width: 100%; }
body.single-post .hkbr-article .elementor-column > .elementor-widget-wrap,
body.single-post .hkbr-article .elementor-column > .elementor-element-populated {
	padding: 0 !important;
	box-shadow: none !important;
	background: none !important;
	border: 0 !important;
}
@media (min-width: 768px) {
	body.single-post .hkbr-article .elementor-section > .elementor-container { gap: 24px; }
	body.single-post .hkbr-article .elementor-section > .elementor-container > .elementor-column {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}
}
@media (max-width: 767px) {
	body.single-post .hkbr-article .elementor-section > .elementor-container { flex-wrap: wrap; }
	body.single-post .hkbr-article .elementor-section > .elementor-container > .elementor-column { width: 100% !important; }
}
