/* Boca Locals Directory — front-end styles */
:root {
	--bl-navy: #0e1a3a;
	--bl-navy-2: #17264f;
	--bl-blue: #1d3fd6;
	--bl-blue-600: #1733b3;
	--bl-blue-50: #eef2ff;
	--bl-red: #e0182d;
	--bl-ink: #101828;
	--bl-text: #344054;
	--bl-muted: #667085;
	--bl-line: #e4e7ec;
	--bl-bg: #f5f7fb;
	--bl-white: #fff;
	--bl-green: #067647;
	--bl-green-50: #ecfdf3;
	--bl-amber: #b54708;
	--bl-amber-50: #fffaeb;
	--bl-error: #b42318;
	--bl-error-50: #fef3f2;
	--bl-r-lg: 16px;
	--bl-r: 12px;
	--bl-r-sm: 8px;
	--bl-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);
	--bl-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--bl-font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.bl-header, .bl-auth, .bl-dash, .bl-wrap, .bl-archive, .bl-search, .bl-cat-grid, .bl-city-grid, .bl-cards, .bl-empty, .bl-kpis, .bl-admin-preview {
	font-family: var(--bl-font);
	color: var(--bl-text);
	box-sizing: border-box;
}
.bl-header *, .bl-auth *, .bl-dash *, .bl-wrap *, .bl-search *, .bl-cards * { box-sizing: border-box; }
.bl-icon { flex: none; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bl-muted { color: var(--bl-muted); font-size: .875rem; }
.bl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:where(.bl-header, .bl-auth, .bl-dash, .bl-wrap, .bl-search, .bl-cards) a:focus-visible,
:where(.bl-header, .bl-auth, .bl-dash, .bl-wrap, .bl-search, .bl-cards) button:focus-visible,
:where(.bl-auth, .bl-dash, .bl-wrap, .bl-search) :is(input, select, textarea):focus-visible {
	outline: 3px solid #8aa2ff;
	outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.bl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font: 600 1rem/1.2 var(--bl-font); padding: .75rem 1.25rem; border-radius: var(--bl-r-sm);
	border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	white-space: nowrap;
}
.bl-btn--primary { background: var(--bl-blue); color: #fff !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
.bl-btn--primary:hover { background: var(--bl-blue-600); }
.bl-btn--secondary { background: var(--bl-blue-50); color: var(--bl-blue) !important; }
.bl-btn--secondary:hover { background: #dfe6ff; }
.bl-btn--ghost { background: #fff; color: var(--bl-ink) !important; border-color: var(--bl-line); }
.bl-btn--ghost:hover { border-color: #c5ccd8; background: #fafbfc; }
.bl-btn--small { padding: .45rem .8rem; font-size: .875rem; }
.bl-btn--block { width: 100%; }

/* ---------- Header ---------- */
.bl-header { background: var(--bl-navy); color: #fff; position: relative; z-index: 50; }
.bl-header__inner { max-width: 1360px; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.bl-logo { display: inline-flex; align-items: center; color: #fff !important; text-decoration: none !important; flex: none; }
.bl-logo__img { height: 46px; width: auto; filter: brightness(0) invert(1); display: block; }
.bl-logo__text { font: 800 1.05rem/1 var(--bl-font); letter-spacing: .04em; }
.bl-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.bl-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.bl-nav__item { position: relative; margin: 0; }
.bl-nav__link {
	display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .8rem; border-radius: var(--bl-r-sm);
	font: 600 1.0625rem/1.2 var(--bl-font); color: #fff !important; background: none; border: 0; cursor: pointer; text-decoration: none !important; white-space: nowrap;
}
.bl-nav__link:hover, .bl-nav__link[aria-expanded="true"], .bl-nav__link[aria-current="page"] { background: rgba(255, 255, 255, .1); }
.bl-caret { width: 16px; height: 16px; transition: transform .2s; }
[aria-expanded="true"] > .bl-caret { transform: rotate(180deg); }
.bl-new { background: var(--bl-red); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .55rem; border-radius: 999px; }
.bl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bl-red); display: inline-block; }
.bl-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: .5rem;
	background: #fff; border-radius: var(--bl-r); box-shadow: var(--bl-shadow); display: none;
}
.bl-nav__toggle[aria-expanded="true"] + .bl-menu { display: block; }
.bl-menu__link { display: block; padding: .6rem .8rem; border-radius: var(--bl-r-sm); color: var(--bl-ink) !important; font: 500 1rem/1.3 var(--bl-font); text-decoration: none !important; }
.bl-menu__link:hover, .bl-menu__link:focus-visible { background: var(--bl-bg); }

.bl-add { position: relative; }
.bl-add__btn { padding: .8rem 1.3rem; font-size: 1.0625rem; }
.bl-add__menu {
	position: absolute; right: 0; top: calc(100% + 12px); width: 300px; list-style: none; margin: 0; padding: .6rem;
	background: #fff; border-radius: var(--bl-r-lg); box-shadow: var(--bl-shadow); display: none;
}
.bl-add__btn[aria-expanded="true"] + .bl-add__menu { display: block; }
.bl-add__item { display: flex; gap: .85rem; padding: .9rem; border-radius: var(--bl-r); text-decoration: none !important; color: var(--bl-ink) !important; }
.bl-add__item:hover, .bl-add__item:focus-visible { background: var(--bl-bg); }
.bl-add__item strong { display: block; font: 600 1.0625rem/1.3 var(--bl-font); margin-bottom: .2rem; }
.bl-add__item span span { display: block; font-size: .9rem; line-height: 1.45; color: var(--bl-muted); }
.bl-add__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bl-blue-50); color: var(--bl-blue); display: grid; place-items: center; }
.bl-burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; border-radius: var(--bl-r-sm); }
.bl-burger .bl-icon { width: 28px; height: 28px; }
.bl-burger__close { display: none; }
.bl-burger[aria-expanded="true"] .bl-burger__open { display: none; }
.bl-burger[aria-expanded="true"] .bl-burger__close { display: inline; }

@media (max-width: 1360px) {
	.bl-nav__link { font-size: 1rem; padding: .55rem .6rem; }
	.bl-nav { gap: .75rem; }
}
@media (max-width: 1200px) {
	.bl-burger { display: inline-flex; }
	.bl-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem;
		background: var(--bl-navy); padding: 1rem 1.5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); max-height: calc(100vh - 76px); overflow-y: auto; box-shadow: 0 16px 32px rgba(0,0,0,.25);
	}
	.bl-header.is-open .bl-nav { display: flex; }
	.bl-nav__list { flex-direction: column; align-items: stretch; }
	.bl-nav__link { width: 100%; justify-content: space-between; padding: .8rem .6rem; font-size: 1.0625rem; }
	.bl-menu { position: static; box-shadow: none; background: rgba(255, 255, 255, .06); margin: .25rem 0 .5rem; }
	.bl-menu__link { color: #fff !important; }
	.bl-menu__link:hover { background: rgba(255, 255, 255, .08); }
	.bl-add__btn { width: 100%; }
	.bl-add__menu { position: static; width: auto; margin-top: .5rem; }
}

/* ---------- Alerts ---------- */
.bl-alert { padding: .85rem 1rem; border-radius: var(--bl-r-sm); margin: 0 0 1.25rem; font-size: .95rem; line-height: 1.5; border: 1px solid; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; }
.bl-alert ul { margin: .4rem 0 0 1.1rem; padding: 0; width: 100%; }
.bl-alert a { color: inherit; font-weight: 600; }
.bl-alert--success { background: var(--bl-green-50); border-color: #abefc6; color: var(--bl-green); }
.bl-alert--error { background: var(--bl-error-50); border-color: #fecdca; color: var(--bl-error); }
.bl-alert--warning { background: var(--bl-amber-50); border-color: #fedf89; color: var(--bl-amber); }
.bl-alert--info { background: var(--bl-blue-50); border-color: #c7d2fe; color: #1e3a8a; }
.bl-inline-form { margin: 0; }

/* ---------- Forms ---------- */
.bl-form { display: grid; gap: 1.1rem; margin: 0; }
.bl-field { display: grid; gap: .4rem; margin: 0; }
.bl-field > label, .bl-label { font: 600 .95rem/1.3 var(--bl-font); color: var(--bl-ink); }
.bl-req { color: var(--bl-red); }
.bl-form input[type="text"], .bl-form input[type="email"], .bl-form input[type="password"], .bl-form input[type="tel"], .bl-form input[type="url"],
.bl-form input[type="number"], .bl-form input[type="search"], .bl-form input[type="time"], .bl-form select, .bl-form textarea {
	width: 100%; font: 400 1rem/1.4 var(--bl-font); color: var(--bl-ink); background: #fff;
	border: 1px solid #d0d5dd; border-radius: var(--bl-r-sm); padding: .7rem .85rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .15s, box-shadow .15s;
}
.bl-form textarea { resize: vertical; min-height: 3rem; }
.bl-form :is(input, select, textarea):focus { border-color: var(--bl-blue); box-shadow: 0 0 0 4px rgba(29, 63, 214, .12); outline: none; }
.bl-field--error :is(input, select, textarea) { border-color: #fda29b; }
.bl-field__help { margin: 0; font-size: .85rem; color: var(--bl-muted); }
.bl-field__error { margin: 0; font-size: .875rem; color: var(--bl-error); font-weight: 500; }
.bl-check { display: inline-flex; align-items: flex-start; gap: .55rem; font-size: .95rem; line-height: 1.45; cursor: pointer; color: var(--bl-text); }
.bl-check input { margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--bl-blue); flex: none; }
.bl-check--small { font-size: .85rem; }
.bl-form__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.bl-form__row a, .bl-auth a { color: var(--bl-blue); font-weight: 500; }
.bl-grid-2, .bl-grid-3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bl-grid-2 { grid-template-columns: repeat(2, 1fr); } .bl-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.bl-details { border: 1px dashed #c5ccd8; border-radius: var(--bl-r-sm); padding: .8rem 1rem; background: #fcfcfd; }
.bl-details summary { cursor: pointer; font-weight: 600; color: var(--bl-blue); }
.bl-details[open] summary { margin-bottom: .75rem; }
.bl-subhead { font: 600 1.05rem/1.3 var(--bl-font); color: var(--bl-ink); margin: .5rem 0 0; }

/* Media */
.bl-media__current { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.bl-media__current li { display: grid; gap: .3rem; justify-items: start; }
.bl-media__current img, .bl-media__preview img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--bl-r-sm); border: 1px solid var(--bl-line); }
.bl-media__preview { display: flex; flex-wrap: wrap; gap: .5rem; }
.bl-media__preview p { margin: 0; font-size: .85rem; color: var(--bl-error); width: 100%; }
.bl-drop { display: flex; align-items: center; gap: .6rem; border: 1.5px dashed #c5ccd8; border-radius: var(--bl-r-sm); padding: .9rem 1rem; cursor: pointer; color: var(--bl-blue); font-weight: 600; background: #fcfcfd; position: relative; }
.bl-drop:hover, .bl-drop:focus-within { border-color: var(--bl-blue); background: var(--bl-blue-50); }
.bl-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Hours */
.bl-hours { display: grid; gap: .5rem; }
.bl-hours__row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto; gap: .6rem; align-items: center; }
.bl-hours__day { font-weight: 500; color: var(--bl-ink); }
@media (max-width: 560px) { .bl-hours__row { grid-template-columns: 1fr 1fr; } .bl-hours__day { grid-column: 1 / -1; } .bl-hours__row > span[aria-hidden] { display: none; } }

/* Wizard */
.bl-steps { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.bl-steps li { margin: 0; flex: 1 0 auto; }
.bl-steps__btn { width: 100%; display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); background: #fff; font: 500 .95rem/1.2 var(--bl-font); color: var(--bl-muted); cursor: pointer; }
.bl-steps__num { width: 26px; height: 26px; border-radius: 50%; background: var(--bl-bg); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--bl-muted); }
.bl-steps__btn[aria-current="step"] { border-color: var(--bl-blue); color: var(--bl-ink); background: var(--bl-blue-50); }
.bl-steps__btn[aria-current="step"] .bl-steps__num { background: var(--bl-blue); color: #fff; }
.bl-steps__btn.has-error .bl-steps__num { background: var(--bl-error); color: #fff; }
.bl-step { border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1.5rem; margin: 0; display: grid; gap: 1.1rem; background: #fff; min-width: 0; }
.bl-step__title { font: 700 1.2rem/1.3 var(--bl-font); color: var(--bl-ink); padding: 0; float: left; width: 100%; margin-bottom: .25rem; }
.bl-wizard.is-js .bl-step:not(.is-current) { display: none; }
.bl-wizard__nav { display: none; justify-content: space-between; gap: 1rem; }
.bl-wizard.is-js .bl-wizard__nav { display: flex; }
.bl-wizard.is-last .bl-wizard__nav [data-bl-next], .bl-wizard.is-first .bl-wizard__nav [data-bl-prev] { visibility: hidden; }
.bl-submit { background: var(--bl-bg); border-radius: var(--bl-r); padding: 1.25rem; display: grid; gap: 1rem; }
.bl-submit p { margin: 0; }
.bl-submit__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bl-submit__actions .bl-btn--primary { margin-left: auto; }
@media (max-width: 560px) { .bl-submit__actions .bl-btn { width: 100%; } }

/* ---------- Auth pages ---------- */
.bl-auth { display: flex; justify-content: center; padding: 3.5rem 1rem 4.5rem; background: var(--bl-bg); }
.bl-auth__card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--bl-r-lg); box-shadow: var(--bl-shadow); padding: 2.25rem 2rem; }
.bl-auth__title { font: 700 1.85rem/1.2 var(--bl-font); color: var(--bl-ink); margin: 0 0 .4rem; }
.bl-auth__intro { margin: 0 0 1.5rem; color: var(--bl-muted); }
.bl-auth__footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--bl-line); text-align: center; font-size: .95rem; }

/* ---------- Dashboard ---------- */
.bl-dash { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.75rem; max-width: 1320px; margin: 0 auto; padding: 2rem 1.5rem 4rem; align-items: start; }
.bl-dash__side { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: 1rem; position: sticky; top: 1rem; }
.bl-dash__user { display: flex; gap: .75rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--bl-line); margin-bottom: .75rem; min-width: 0; }
.bl-dash__user strong { display: block; color: var(--bl-ink); }
.bl-dash__user span:not(.bl-avatar) { display: block; font-size: .8rem; color: var(--bl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.bl-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bl-navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.bl-dash__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bl-dash__nav li { margin: 0; }
.bl-dash__nav a { display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: var(--bl-r-sm); color: var(--bl-text) !important; text-decoration: none !important; font-weight: 500; font-size: .95rem; }
.bl-dash__nav a:hover { background: var(--bl-bg); }
.bl-dash__nav a.is-active { background: var(--bl-blue-50); color: var(--bl-blue) !important; }
.bl-dash__count { margin-left: auto; background: var(--bl-bg); color: var(--bl-text); border-radius: 999px; font-size: .75rem; padding: .1rem .5rem; font-weight: 600; }
.bl-dash__nav a.is-active .bl-dash__count { background: #fff; }
.bl-dash__main { min-width: 0; display: grid; gap: 1.5rem; align-content: start; }
.bl-dash__main > .bl-alert { margin: 0; }
.bl-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.bl-page-head h2 { font: 700 1.75rem/1.2 var(--bl-font); color: var(--bl-ink); margin: 0 0 .3rem; }
.bl-page-head p { margin: 0; color: var(--bl-muted); max-width: 640px; }
@media (max-width: 900px) {
	.bl-dash { grid-template-columns: minmax(0, 1fr); padding: 1rem 1rem 3rem; gap: 1rem; }
	.bl-dash__side { min-width: 0; }
	.bl-dash__side { position: static; padding: .5rem; }
	.bl-dash__user { display: none; }
	.bl-dash__nav { display: flex; overflow-x: auto; gap: .25rem; scrollbar-width: thin; }
	.bl-dash__nav a { white-space: nowrap; }
}

.bl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.bl-stat { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1.1rem; display: grid; gap: .35rem; text-decoration: none !important; color: var(--bl-text) !important; transition: border-color .15s, box-shadow .15s; }
.bl-stat:hover { border-color: #c7d2fe; box-shadow: var(--bl-shadow-sm); }
.bl-stat .bl-icon { color: var(--bl-blue); }
.bl-stat--published .bl-icon { color: var(--bl-green); }
.bl-stat--pending .bl-icon { color: var(--bl-amber); }
.bl-stat--changes .bl-icon { color: var(--bl-error); }
.bl-stat__num { font: 700 2rem/1 var(--bl-font); color: var(--bl-ink); }
.bl-stat__label { font-size: .9rem; color: var(--bl-muted); }

.bl-grid-dash { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .bl-grid-dash { grid-template-columns: 1fr 1fr; } }
.bl-panel { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1.25rem 1.4rem; }
.bl-panel h3 { font: 600 1.15rem/1.3 var(--bl-font); color: var(--bl-ink); margin: 0 0 1rem; }
.bl-panel__head { display: flex; justify-content: space-between; align-items: baseline; }
.bl-panel__head a { color: var(--bl-blue); font-weight: 500; font-size: .9rem; }
.bl-mini-list, .bl-timeline, .bl-notes { list-style: none; margin: 0; padding: 0; }
.bl-mini-list li { display: grid; grid-template-columns: 1fr auto; gap: .15rem .75rem; padding: .7rem 0; border-top: 1px solid var(--bl-line); align-items: center; }
.bl-mini-list li:first-child { border-top: 0; }
.bl-mini-list a { color: var(--bl-ink); font-weight: 600; text-decoration: none; }
.bl-mini-list .bl-badge { grid-row: 1 / 3; grid-column: 2; }
.bl-timeline li { display: flex; gap: .75rem; padding: .55rem 0; font-size: .95rem; }
.bl-timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bl-blue); margin-top: .45rem; flex: none; }
.bl-timeline__dot--approved, .bl-timeline__dot--update_approved { background: var(--bl-green); }
.bl-timeline__dot--changes, .bl-timeline__dot--rejected { background: var(--bl-error); }
.bl-timeline__dot--created { background: #98a2b3; }

.bl-badge { display: inline-flex; align-items: center; padding: .22rem .65rem; border-radius: 999px; font: 600 .78rem/1.3 var(--bl-font); white-space: nowrap; background: var(--bl-bg); color: var(--bl-text); vertical-align: middle; }
.bl-badge--publish { background: var(--bl-green-50); color: var(--bl-green); }
.bl-badge--pending, .bl-badge--update-pending { background: var(--bl-amber-50); color: var(--bl-amber); }
.bl-badge--changes, .bl-badge--rejected, .bl-badge--update-changes, .bl-badge--update-rejected { background: var(--bl-error-50); color: var(--bl-error); }
.bl-badge--update-draft { background: var(--bl-blue-50); color: var(--bl-blue); }

.bl-table-wrap { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); overflow: hidden; }
.bl-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.bl-table th { text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--bl-muted); background: #f9fafb; padding: .75rem 1rem; border-bottom: 1px solid var(--bl-line); }
.bl-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--bl-line); vertical-align: top; border-left: 0; border-right: 0; }
.bl-table tr:last-child td { border-bottom: 0; }
.bl-table__title { display: block; color: var(--bl-ink) !important; font-weight: 600; text-decoration: none !important; }
.bl-table__actions { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: flex-end; }
.bl-table__actions form { margin: 0; }
.bl-act { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .55rem; border-radius: 6px; font: 500 .85rem/1.2 var(--bl-font); color: var(--bl-text) !important; background: none; border: 0; cursor: pointer; text-decoration: none !important; }
.bl-act .bl-icon { width: 16px; height: 16px; }
.bl-act:hover { background: var(--bl-bg); }
.bl-act--danger { color: var(--bl-error) !important; }
@media (max-width: 1100px) {
	.bl-table thead { display: none; }
	.bl-table, .bl-table tbody, .bl-table tr, .bl-table td { display: block; width: 100%; }
	.bl-table tr { padding: 1rem; border-bottom: 1px solid var(--bl-line); }
	.bl-table td { padding: .25rem 0; border: 0; display: flex; gap: 1rem; justify-content: space-between; }
	.bl-table td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--bl-muted); font-size: .85rem; }
	.bl-table td:first-child { display: block; }
	.bl-table td:first-child::before { display: none; }
	.bl-table__actions { justify-content: flex-start; padding-top: .5rem !important; }
}

.bl-feedback { background: var(--bl-error-50); border: 1px solid #fecdca; color: #7a271a; padding: 1rem 1.1rem; border-radius: var(--bl-r-sm); }
.bl-feedback p { margin: .35rem 0 0; }
.bl-feedback--inline { margin-top: .6rem; font-size: .88rem; padding: .6rem .75rem; }
.bl-feedback a { color: var(--bl-error); font-weight: 600; }

.bl-note { display: flex; gap: 1rem; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1rem 1.2rem; margin-bottom: .75rem; border-left: 4px solid var(--bl-line); }
.bl-note.is-unread { border-left-color: var(--bl-blue); }
.bl-note--approved { border-left-color: var(--bl-green) !important; }
.bl-note--changes, .bl-note--rejected { border-left-color: var(--bl-error) !important; }
.bl-note strong { color: var(--bl-ink); }
.bl-note p { margin: .25rem 0; }

.bl-empty { text-align: center; background: #fff; border: 1px dashed #c5ccd8; border-radius: var(--bl-r-lg); padding: 2.75rem 1.5rem; }
.bl-empty__icon { width: 44px; height: 44px; color: var(--bl-blue); background: var(--bl-blue-50); border-radius: 12px; padding: 9px; }
.bl-empty h2, .bl-empty h3 { font: 700 1.3rem/1.3 var(--bl-font); color: var(--bl-ink); margin: 1rem 0 .4rem; }
.bl-empty p { margin: 0 auto 1.25rem; max-width: 520px; color: var(--bl-muted); }
.bl-empty__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.bl-preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; background: var(--bl-navy); color: #fff; padding: .8rem 1rem; border-radius: var(--bl-r); }
.bl-preview-bar .bl-btn { margin-left: auto; }
.bl-preview { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: 1.5rem; }

/* ---------- Public directory ---------- */
.bl-wrap { width: 100%; max-width: 1360px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
@media (max-width: 640px) { .bl-wrap { padding-left: 16px; padding-right: 16px; } }
.bl-single { padding-top: 1.5rem; padding-bottom: 4rem; }
.bl-band { background: var(--bl-navy); color: #fff; padding: 3rem 0 2.5rem; margin-bottom: 2rem; }
.bl-band h1 { font: 700 clamp(1.9rem, 3.5vw, 2.75rem)/1.15 var(--bl-font); color: #fff; margin: 0 0 .5rem; }
.bl-band p { color: #c9d2ea; margin: 0 0 1.5rem; font-size: 1.1rem; max-width: 720px; }
.bl-archive { padding-bottom: 4rem; }
.bl-result-count { color: var(--bl-muted); margin: 0 0 1rem; }

.bl-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: .75rem; background: #fff; padding: .75rem; border-radius: var(--bl-r-lg); box-shadow: var(--bl-shadow); align-items: end; }
.bl-search__field { display: grid; gap: .3rem; }
.bl-search__field label { font: 600 .8rem/1.2 var(--bl-font); color: var(--bl-muted); text-transform: uppercase; letter-spacing: .04em; padding-left: .2rem; }
.bl-search input, .bl-search select { width: 100%; height: 50px; font: 400 1rem var(--bl-font); color: var(--bl-ink); border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); padding: 0 .9rem; background: #fff; }
.bl-search__submit { height: 50px; padding: 0 1.6rem; }
@media (max-width: 860px) { .bl-search { grid-template-columns: 1fr 1fr; } .bl-search__field--q { grid-column: 1 / -1; } .bl-search__submit { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bl-search { grid-template-columns: 1fr; } }

.bl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.bl-card { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.bl-card:hover { box-shadow: var(--bl-shadow); transform: translateY(-2px); }
.bl-card__media { display: block; aspect-ratio: 16 / 10; background: var(--bl-bg); overflow: hidden; }
.bl-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-card__img--logo { object-fit: contain; padding: 1.5rem; }
.bl-card__ph { width: 100%; height: 100%; display: grid; place-items: center; font: 800 3rem var(--bl-font); color: #fff; background: linear-gradient(135deg, var(--bl-navy), var(--bl-blue)); }
.bl-card__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .4rem; align-content: start; }
.bl-card__cat { font: 600 .78rem/1 var(--bl-font); color: var(--bl-blue); text-transform: uppercase; letter-spacing: .05em; }
.bl-card__title { font: 700 1.2rem/1.3 var(--bl-font); margin: 0; }
.bl-card__title a { color: var(--bl-ink) !important; text-decoration: none !important; }
.bl-card__meta { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--bl-muted); }
.bl-card__meta .bl-icon { width: 16px; height: 16px; }
.bl-card__desc { margin: .2rem 0; font-size: .95rem; line-height: 1.5; color: var(--bl-text); }
.bl-card__price { font: 700 1.25rem var(--bl-font); color: var(--bl-green); }
.bl-pagination { margin-top: 2.5rem; display: flex; justify-content: center; gap: .35rem; flex-wrap: wrap; }
.bl-pagination .page-numbers { padding: .55rem .9rem; border-radius: var(--bl-r-sm); border: 1px solid var(--bl-line); color: var(--bl-ink); text-decoration: none; font-weight: 500; background: #fff; }
.bl-pagination .page-numbers.current { background: var(--bl-blue); border-color: var(--bl-blue); color: #fff; }

.bl-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.bl-chips--nav { margin-bottom: 1.5rem; }
.bl-chip { display: inline-flex; padding: .3rem .75rem; border-radius: 999px; background: var(--bl-blue-50); color: var(--bl-blue) !important; font: 600 .85rem/1.3 var(--bl-font); text-decoration: none !important; }
.bl-chip--soft { background: var(--bl-bg); color: var(--bl-text) !important; font-weight: 500; }
.bl-chip--sale { background: var(--bl-green-50); color: var(--bl-green) !important; }

.bl-cat-grid { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.bl-cat { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: 1.3rem 1.4rem; }
.bl-cat h3 { font: 700 1.15rem/1.3 var(--bl-font); margin: 0 0 .75rem; }
.bl-cat h3 a { color: var(--bl-ink) !important; text-decoration: none !important; }
.bl-cat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.bl-cat li a { color: var(--bl-blue); text-decoration: none; font-size: .95rem; }
.bl-cat li a:hover { text-decoration: underline; }
.bl-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.bl-city { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1rem 1.1rem; text-decoration: none !important; color: var(--bl-ink) !important; transition: border-color .15s, box-shadow .15s; }
.bl-city:hover { border-color: #c7d2fe; box-shadow: var(--bl-shadow-sm); }
.bl-city > .bl-icon { color: var(--bl-blue); width: 24px; height: 24px; }
.bl-city strong { display: block; font-size: 1.05rem; }
.bl-kpis { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2.5rem; }
.bl-kpis strong { display: block; font: 700 2.2rem/1 var(--bl-font); color: #fff; }
.bl-kpis span { color: #c9d2ea; }

/* Listing detail */
.bl-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--bl-muted); margin-bottom: 1.25rem; }
.bl-crumbs a { color: var(--bl-muted); text-decoration: none; }
.bl-crumbs a:hover { color: var(--bl-blue); }
.bl-hero { border-radius: var(--bl-r-lg); overflow: hidden; background: #fff; border: 1px solid var(--bl-line); margin-bottom: 2rem; }
.bl-hero__media { aspect-ratio: 21 / 7; background: var(--bl-bg); }
.bl-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-hero__main { display: flex; gap: 1.5rem; padding: 1.75rem; align-items: flex-start; }
.bl-hero--img .bl-hero__logo { margin-top: -4rem; }
.bl-hero__logo { width: 104px; height: 104px; border-radius: var(--bl-r); object-fit: cover; border: 4px solid #fff; box-shadow: var(--bl-shadow-sm); background: #fff; flex: none; }
.bl-hero__logo--ph { display: grid; place-items: center; font: 800 2.5rem var(--bl-font); color: #fff; background: linear-gradient(135deg, var(--bl-navy), var(--bl-blue)); }
.bl-hero__title { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.15 var(--bl-font); color: var(--bl-ink); margin: .6rem 0 .4rem; }
.bl-hero__where { display: flex; align-items: center; gap: .35rem; color: var(--bl-muted); margin: 0 0 .75rem; }
.bl-hero__lead { font-size: 1.1rem; margin: 0 0 1.1rem; max-width: 760px; }
.bl-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) { .bl-hero__main { flex-direction: column; padding: 1.25rem; } .bl-hero__media { aspect-ratio: 16 / 9; } }
.bl-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .bl-detail { grid-template-columns: 1fr; } }
.bl-section { margin-bottom: 2.25rem; }
.bl-section h2, .bl-related h2 { font: 700 1.4rem/1.3 var(--bl-font); color: var(--bl-ink); margin: 0 0 .9rem; }
.bl-prose { font-size: 1.05rem; line-height: 1.7; }
.bl-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem 1rem; }
.bl-checklist li { display: flex; gap: .5rem; align-items: flex-start; }
.bl-checklist .bl-icon { color: var(--bl-green); }
.bl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.bl-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bl-r-sm); display: block; }
.bl-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--bl-r); }
.bl-detail__side { display: grid; gap: 1.25rem; }
.bl-box { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: 1.3rem 1.4rem; }
.bl-box h3 { font: 700 1.1rem/1.3 var(--bl-font); color: var(--bl-ink); margin: 0 0 .9rem; }
.bl-box--map { padding: 0; overflow: hidden; }
.bl-box--map iframe { width: 100%; height: 260px; border: 0; display: block; }
.bl-box--price { background: var(--bl-navy); border-color: var(--bl-navy); color: #fff; }
.bl-box--price .bl-muted { color: #c9d2ea; }
.bl-price { display: block; font: 800 2.2rem/1.1 var(--bl-font); margin: .3rem 0 1rem; color: #fff; }
.bl-facts { margin: 0; display: grid; gap: .5rem; }
.bl-facts div { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: .5rem; }
.bl-facts dt { color: #c9d2ea; }
.bl-facts dd { margin: 0; font-weight: 600; }
.bl-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.bl-contact li { display: flex; gap: .65rem; align-items: flex-start; word-break: break-word; }
.bl-contact .bl-icon { color: var(--bl-blue); margin-top: .1rem; }
.bl-contact a { color: var(--bl-ink); }
.bl-hours-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95rem; }
.bl-hours-table th, .bl-hours-table td { padding: .4rem 0; border: 0; border-bottom: 1px solid var(--bl-line); text-align: left; font-weight: 400; background: none; }
.bl-hours-table td { text-align: right; }
.bl-hours-table tr.is-today { font-weight: 600; color: var(--bl-blue); }
.bl-related { margin-top: 3rem; }
.bl-empty--public { margin: 1rem 0; }

/* ---------- Elementor page helpers (footer, FAQ) ---------- */
.bl-footer-logo img { filter: brightness(0) invert(1); }
.bl-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.bl-footer-links a, .bl-footer a { color: #c9d2ea !important; text-decoration: none; }
.bl-footer-links a:hover, .bl-footer a:hover { color: #fff !important; text-decoration: underline; }
.bl-faq { display: grid; gap: .75rem; font-family: var(--bl-font); }
.bl-faq__item { border: 1px solid var(--bl-line); border-radius: var(--bl-r); background: #fff; padding: 0 1.25rem; }
.bl-faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font: 600 1.1rem/1.4 var(--bl-font); color: var(--bl-ink); position: relative; }
.bl-faq__item summary::-webkit-details-marker { display: none; }
.bl-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--bl-blue); }
.bl-faq__item[open] summary::after { content: "\2212"; }
.bl-faq__item p { margin: 0 0 1.1rem; color: var(--bl-text); font-size: 1.05rem; line-height: 1.6; }
.bl-faq__item summary:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; border-radius: 4px; }

/* ---------- Theme reset overrides (Hello Elementor styles bare buttons and images) ---------- */
.bl-header button, .bl-dash button, .bl-auth button, .bl-wrap button, .bl-search button, .bl-empty button, .bl-wizard button { font-family: var(--bl-font); text-transform: none; letter-spacing: normal; }
.bl-burger, .bl-burger:hover, .bl-burger:focus { background: none; border: 0; color: #fff; }
.bl-burger:hover { background: rgba(255, 255, 255, .1); }
.bl-nav__toggle, .bl-nav__toggle:focus { border: 0; color: #fff; background: none; border-radius: var(--bl-r-sm); }
.bl-nav__toggle:hover, .bl-nav__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.bl-btn--primary, .bl-btn--primary:focus { border: 1px solid transparent; }
.bl-btn--primary:hover { background: var(--bl-blue-600); color: #fff; }
.bl-btn--ghost:hover { color: var(--bl-ink); }
.bl-btn--secondary:hover { color: var(--bl-blue); border-color: transparent; }
.bl-act, .bl-act:focus { border: 0; background: none; }
.bl-act:hover { background: var(--bl-bg); color: var(--bl-text); }
.bl-act--danger:hover { color: var(--bl-error); }
.bl-steps__btn:hover { background: #fafbfc; color: var(--bl-ink); border-color: #c5ccd8; }
.bl-logo img.bl-logo__img { height: 46px; width: auto; max-width: none; }
.bl-header, .bl-dash, .bl-band { max-width: 100%; }
html, body { overflow-x: clip; }
.bl-table th, .bl-table td { border: 0; border-bottom: 1px solid var(--bl-line); }
.bl-table tbody > tr:nth-child(odd) > td, .bl-table tbody tr:hover > td { background: none; }
.bl-hours-table tbody > tr:nth-child(odd) > :is(td, th), .bl-hours-table tbody tr:hover > :is(td, th) { background: none; }

/* =========================================================================
   Listing detail (.boca-listing-detail) and archive (.boca-listing-archive)
   ========================================================================= */
.boca-listing-detail, .boca-listing-archive { overflow-x: clip; }
.boca-listing-detail img, .boca-listing-archive img { max-width: 100%; }

/* Six-image gallery */
.bl-gal { display: grid; gap: 8px; margin: 0 0 1.25rem; border-radius: var(--bl-r-lg); overflow: hidden; grid-template-rows: repeat(2, clamp(150px, 15vw, 215px)); }
.bl-gal__tile { position: relative; display: block; overflow: hidden; background: var(--bl-bg); min-width: 0; min-height: 0; }
.bl-gal__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bl-gal__tile:hover img, .bl-gal__tile:focus-visible img { transform: scale(1.03); }
.bl-gal__tile:focus-visible { outline: 3px solid #8aa2ff; outline-offset: -3px; }
.bl-gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 26, 58, .55); color: #fff; font: 700 1.15rem/1 var(--bl-font); }
.bl-gal--6 { grid-template-columns: 2fr 2fr 1fr 1fr; }
.bl-gal--6 .bl-gal__tile:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.bl-gal--6 .bl-gal__tile:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.bl-gal--5 { grid-template-columns: 2fr 1fr 1fr; }
.bl-gal--5 .bl-gal__tile:nth-child(1) { grid-row: 1 / 3; }
.bl-gal--4 { grid-template-columns: 2fr 1fr 1fr; }
.bl-gal--4 .bl-gal__tile:nth-child(1) { grid-row: 1 / 3; }
.bl-gal--4 .bl-gal__tile:nth-child(4) { grid-column: 2 / 4; }
.bl-gal--3 { grid-template-columns: 2fr 1fr; }
.bl-gal--3 .bl-gal__tile:nth-child(1) { grid-row: 1 / 3; }
.bl-gal--2 { grid-template-columns: 1fr 1fr; }
.bl-gal--2 .bl-gal__tile { grid-row: 1 / 3; }
.bl-gal--1 { grid-template-columns: 1fr; }
.bl-gal--1 .bl-gal__tile { grid-row: 1 / 3; }
@media (max-width: 1024px) {
	.bl-gal--6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, clamp(120px, 18vw, 170px)); }
	.bl-gal--6 .bl-gal__tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
	.bl-gal--6 .bl-gal__tile:nth-child(2) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 640px) {
	.bl-gal, .bl-gal--6, .bl-gal--5, .bl-gal--4, .bl-gal--3, .bl-gal--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; grid-auto-rows: 120px; gap: 6px; border-radius: var(--bl-r); }
	.bl-gal .bl-gal__tile { grid-column: auto !important; grid-row: auto !important; }
	.bl-gal .bl-gal__tile:first-child { grid-column: 1 / 3 !important; }
	.bl-gal .bl-gal__tile:last-child:nth-child(even) { grid-column: 1 / 3 !important; }
	.bl-gal--1 { grid-template-columns: 1fr; }
}

/* Business information card */
.bl-info { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1.5rem 1.75rem; margin-bottom: 2rem; display: grid; gap: 1rem; box-shadow: var(--bl-shadow-sm); }
.bl-info__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bl-info__titles { display: grid; gap: .6rem; min-width: 0; }
.bl-info__title { font: 700 clamp(1.6rem, 3vw, 2.25rem)/1.15 var(--bl-font); color: var(--bl-ink); margin: 0; overflow-wrap: anywhere; }
.bl-info__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--bl-text); }
.bl-info__facts li { display: inline-flex; align-items: flex-start; gap: .45rem; margin: 0; }
.bl-info__facts .bl-icon { color: var(--bl-blue); margin-top: .1rem; }
.bl-info__lead { margin: 0; color: var(--bl-text); font-size: 1.05rem; max-width: 900px; }
.bl-info__hours { border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); background: #fcfcfd; max-width: 560px; }
.bl-info__hours summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: .65rem .85rem; color: var(--bl-ink); }
.bl-info__hours summary::-webkit-details-marker { display: none; }
.bl-info__hours summary .bl-icon:first-child { color: var(--bl-blue); }
.bl-info__hours summary .bl-caret { margin-left: auto; transition: transform .2s; }
.bl-info__hours[open] summary .bl-caret { transform: rotate(180deg); }
.bl-info__hours summary:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; border-radius: var(--bl-r-sm); }
.bl-info__hours-body { padding: 0 .85rem .75rem; }
.bl-hours-note { margin: 0; }
.bl-info__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .25rem; }
@media (max-width: 640px) {
	.bl-info { padding: 1.1rem; }
	.bl-info__actions .bl-btn { flex: 1 1 calc(50% - .6rem); white-space: normal; text-align: center; }
	.bl-info__actions .bl-btn--primary { flex-basis: 100%; }
}
.boca-listing-detail .bl-detail { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1024px) { .boca-listing-detail .bl-detail { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 860px) { .boca-listing-detail .bl-detail { grid-template-columns: minmax(0, 1fr); } }
.boca-listing-detail .bl-related .bl-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .boca-listing-detail .bl-related .bl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .boca-listing-detail .bl-related .bl-cards { grid-template-columns: minmax(0, 1fr); } }

/* Archive: search band and card grid inside the same container */
.boca-listing-archive .bl-band { padding: 2.75rem 0 2.25rem; }
.boca-listing-archive .bl-search { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.boca-listing-archive .bl-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.boca-listing-archive .bl-card__media { aspect-ratio: 4 / 3; }
.boca-listing-archive .bl-card__body { padding: 1rem 1rem 1.15rem; }
.boca-listing-archive .bl-card__title { font-size: 1.08rem; overflow-wrap: anywhere; }
.boca-listing-archive .bl-card__desc { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1279px) { .boca-listing-archive .bl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .boca-listing-archive .bl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .boca-listing-archive .bl-search { grid-template-columns: 1fr 1fr; } .boca-listing-archive .bl-search__field--q, .boca-listing-archive .bl-search__submit { grid-column: 1 / -1; } }
@media (max-width: 559px) { .boca-listing-archive .bl-cards { grid-template-columns: minmax(0, 1fr); } .boca-listing-archive .bl-search { grid-template-columns: 1fr; } }

/* ---------- Listing "Photos" carousel (.boca-listing-photos-gallery) ---------- */
.boca-listing-photos-gallery { container-type: inline-size; }
.bl-ps__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.bl-ps__head h2 { margin: 0 !important; }
.bl-ps__toggle, .bl-ps__toggle:focus { font: 500 .85rem/1 var(--bl-font); color: var(--bl-muted); background: #fff; border: 1px solid var(--bl-line); border-radius: 999px; padding: .45rem .85rem; cursor: pointer; }
.bl-ps__toggle:hover { color: var(--bl-ink); background: var(--bl-bg); border-color: #c5ccd8; }
.bl-ps__toggle[hidden], .bl-ps__nav[hidden] { display: none; }
.bl-ps__viewport { position: relative; }
.bl-ps__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.bl-ps__track::-webkit-scrollbar { display: none; }
.bl-ps__track:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 3px; }
.bl-ps__slide { flex: 0 0 calc((100% - 48px) / 4); margin: 0; scroll-snap-align: start; min-width: 0; }
@container (max-width: 799px) { .bl-ps__slide { flex-basis: calc((100% - 32px) / 3); } }
@container (max-width: 539px) { .bl-ps__slide { flex-basis: calc((100% - 16px) / 2); } }
@container (max-width: 299px) { .bl-ps__slide { flex-basis: 100%; } }
.bl-ps__slide a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bl-bg); }
.bl-ps__slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bl-ps__slide a:hover img, .bl-ps__slide a:focus-visible img { transform: scale(1.04); }
.bl-ps__slide a:focus-visible { outline: 3px solid #8aa2ff; outline-offset: -3px; }
.bl-ps__nav, .bl-ps__nav:focus { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--bl-blue); border: 1px solid var(--bl-line); box-shadow: 0 4px 14px rgba(16, 24, 40, .16); transition: background .15s, color .15s; }
.bl-ps__nav:hover { background: var(--bl-blue); color: #fff; border-color: var(--bl-blue); }
.bl-ps__nav:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }
.bl-ps__nav--prev { left: -18px; }
.bl-ps__nav--next { right: -18px; }
@media (max-width: 640px) { .bl-ps__nav, .bl-ps__nav:focus { width: 38px; height: 38px; } .bl-ps__nav--prev { left: 6px; } .bl-ps__nav--next { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .bl-ps__slide img { transition: none; } .bl-ps__track { scroll-behavior: auto; } }

/* ---------- Ratings & Reviews (.boca-listing-reviews) ---------- */
.bl-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.bl-stars svg { fill: #d0d5dd; flex: none; }
.bl-stars__base, .bl-stars__fill { display: inline-flex; gap: 1px; white-space: nowrap; }
.bl-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; }
.bl-stars__fill svg { fill: #f5a524; }
.bl-stars--lg svg { width: 24px; height: 24px; }
.bl-rating-inline { display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; color: var(--bl-text) !important; text-decoration: none !important; flex-wrap: wrap; }
.bl-rating-inline strong { color: var(--bl-ink); }
.bl-rating-inline > span:last-child { color: var(--bl-muted); }
a.bl-rating-inline:hover strong { color: var(--bl-blue); }
.bl-rating-inline--empty { color: var(--bl-muted) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.bl-card .bl-rating-inline { font-size: .85rem; }
.bl-card .bl-stars svg { width: 14px; height: 14px; }
.boca-listing-reviews { scroll-margin-top: 1.5rem; }
.bl-detail__main { container-type: inline-size; }
.bl-rv-top { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 1.5rem; }
@container (max-width: 640px) { .bl-rv-top { grid-template-columns: minmax(0, 1fr); } }
.bl-rv-summary { background: var(--bl-bg); border-radius: var(--bl-r); padding: 1.25rem; display: grid; gap: .5rem; }
.bl-rv-score { display: flex; align-items: baseline; gap: .4rem; }
.bl-rv-score strong { font: 800 2.6rem/1 var(--bl-font); color: var(--bl-ink); }
.bl-rv-score--empty strong { font-size: 1.35rem; }
.bl-rv-summary p { margin: 0; }
.bl-rv-bars { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; }
.bl-rv-bars li { display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: .5rem; font-size: .85rem; margin: 0; }
.bl-rv-bar { height: 8px; border-radius: 999px; background: #e4e7ec; overflow: hidden; }
.bl-rv-bar span { display: block; height: 100%; background: #f5a524; border-radius: 999px; }
.bl-rv-bar__count { text-align: right; color: var(--bl-muted); }
.bl-rv-side { border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 1.25rem; background: #fff; display: grid; gap: .75rem; min-width: 0; }
.bl-rv-side > .bl-alert { margin: 0; }
.bl-rv-prompt p { margin: 0 0 .9rem; }
.bl-rv-prompt__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.bl-rv-as { margin: 0; color: var(--bl-muted); font-size: .9rem; }
.bl-rv-form { gap: .9rem; }
.bl-rv-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bl-rate { display: inline-flex; gap: 2px; }
.bl-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bl-rate label { cursor: pointer; line-height: 0; padding: 2px; border-radius: 6px; }
.bl-rate label svg { fill: #d0d5dd; transition: fill .12s, transform .12s; }
.bl-rate:has(input:checked) label svg { fill: #f5a524; }
.bl-rate input:checked + label ~ label svg { fill: #d0d5dd; }
.bl-rate.bl-rate:hover label svg { fill: #f5a524; }
.bl-rate.bl-rate label:hover ~ label svg { fill: #d0d5dd; }
.bl-rate label:hover svg { transform: scale(1.08); }
.bl-rate input:focus-visible + label { outline: 3px solid #8aa2ff; outline-offset: 1px; }
.bl-rate__text { margin: .2rem 0 0; font-weight: 600; color: var(--bl-ink); font-size: .95rem; }
.bl-rv-mine { display: grid; gap: .5rem; }
.bl-rv-mine__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.bl-rv-mine__title { margin: 0; font-weight: 600; color: var(--bl-ink); }
.bl-rv-mine__text p { margin: 0 0 .4rem; }
.bl-rv-edit > summary { list-style: none; width: max-content; }
.bl-rv-edit > summary::-webkit-details-marker { display: none; }
.bl-rv-edit[open] > summary { margin-bottom: .9rem; }
.bl-rv-delete { margin-top: .5rem; }
.bl-rv-listhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--bl-line); padding-top: 1.25rem; margin-bottom: .5rem; }
.bl-rv-listhead h3 { margin: 0; font: 700 1.15rem/1.3 var(--bl-font); color: var(--bl-ink); }
.bl-rv-sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: 0; }
.bl-rv-sort select { font: 400 .9rem var(--bl-font); padding: .45rem .7rem; border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); background: #fff; }
.bl-rv-list { list-style: none; margin: 0; padding: 0; }
.bl-rv { padding: 1.1rem 0; border-bottom: 1px solid var(--bl-line); display: grid; gap: .45rem; margin: 0; }
.bl-rv__head { display: flex; gap: .75rem; align-items: center; }
.bl-rv__head time { display: block; font-size: .82rem; }
.bl-rv__name { color: var(--bl-ink); }
.bl-avatar--sm { width: 36px; height: 36px; font-size: .9rem; }
.bl-rv__title { margin: 0; font: 600 1.02rem/1.35 var(--bl-font); color: var(--bl-ink); }
.bl-rv__text { overflow-wrap: anywhere; }
.bl-rv__text p { margin: 0 0 .5rem; }
.bl-stars { width: max-content; justify-self: start; align-self: center; flex: none; }
.bl-rv-sort label { white-space: nowrap; }

/* =========================================================================
   Premium directory archive (.boca-listing-archive)
   ========================================================================= */
.bl-hero-dir { background: var(--bl-navy); color: #fff; padding: 3.25rem 0 2.75rem; position: relative; overflow: hidden; }
.bl-hero-dir::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 0%, rgba(29, 63, 214, .35), transparent 60%); pointer-events: none; }
.bl-hero-dir .bl-wrap { position: relative; }
.bl-hero-dir__eyebrow { margin: 0 0 .5rem; color: #9fb0ff; font: 600 .85rem/1 var(--bl-font); letter-spacing: .08em; text-transform: uppercase; }
.bl-hero-dir__title { margin: 0 0 .6rem; color: #fff; font: 700 clamp(2rem, 3.6vw, 3rem)/1.1 var(--bl-font); letter-spacing: -.01em; }
.bl-hero-dir__intro { margin: 0 0 1.75rem; color: #c9d2ea; font-size: 1.1rem; max-width: 700px; }
.bl-hero-dir .bl-search { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.boca-listing-archive .bl-search { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.bl-hero-dir__facts { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: #c9d2ea; font-size: .95rem; }
.bl-hero-dir__facts li { margin: 0; }
.bl-hero-dir__facts strong { color: #fff; font-weight: 700; }

.bl-results { padding-top: 1.75rem; padding-bottom: 4rem; }
/* Category discovery strip */
.bl-cs { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .75rem; margin-bottom: .75rem; scrollbar-width: thin; }
.bl-cs__item { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1px solid var(--bl-line); border-radius: 999px; background: #fff; color: var(--bl-ink) !important; text-decoration: none !important; font: 500 .92rem/1.2 var(--bl-font); transition: border-color .15s, background .15s, box-shadow .15s; }
.bl-cs__item .bl-icon { width: 18px; height: 18px; color: var(--bl-blue); }
.bl-cs__item:hover { border-color: #b8c4f5; box-shadow: var(--bl-shadow-sm); }
.bl-cs__item.is-active { background: var(--bl-blue); border-color: var(--bl-blue); color: #fff !important; }
.bl-cs__item.is-active .bl-icon, .bl-cs__item.is-active .bl-cs__count { color: #fff; background: rgba(255, 255, 255, .18); }
.bl-cs__count { font-size: .75rem; font-weight: 600; color: var(--bl-muted); background: var(--bl-bg); border-radius: 999px; padding: .1rem .45rem; }
.bl-cs__item--more { color: var(--bl-blue) !important; border-style: dashed; }
.bl-cs__item:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }

/* Results header */
.bl-results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bl-line); }
.bl-results__summary { display: grid; gap: .6rem; }
.bl-results__count { margin: 0; font: 700 1.35rem/1.2 var(--bl-font); color: var(--bl-ink); }
.bl-filters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.bl-filters li { margin: 0; }
.bl-filter { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem .3rem .75rem; border-radius: 999px; background: var(--bl-blue-50); color: var(--bl-blue) !important; font: 600 .85rem/1.2 var(--bl-font); text-decoration: none !important; }
.bl-filter .bl-icon { width: 14px; height: 14px; }
.bl-filter:hover { background: #dfe6ff; }
.bl-filters__clear { font-size: .85rem; color: var(--bl-muted) !important; }
.bl-sortform { display: flex; align-items: center; gap: .5rem; margin: 0; }
.bl-sortform label { font-size: .9rem; color: var(--bl-muted); white-space: nowrap; }
.bl-sortform select { font: 500 .92rem var(--bl-font); color: var(--bl-ink); padding: .55rem 2rem .55rem .8rem; border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); background-color: #fff; min-height: 42px; }
.bl-sortform select:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }

/* Premium cards */
.bl-pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1279px) { .bl-pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .bl-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (max-width: 599px) { .bl-pcards { grid-template-columns: minmax(0, 1fr); } }
.bl-pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.bl-pc:hover { box-shadow: 0 14px 32px -16px rgba(16, 24, 40, .28); transform: translateY(-3px); border-color: #d5dbe6; }
.bl-pc__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bl-bg); overflow: hidden; }
.bl-pc__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bl-pc:hover .bl-pc__img { transform: scale(1.04); }
.bl-pc__ph { width: 100%; height: 100%; display: grid; place-items: center; font: 800 3rem var(--bl-font); color: #fff; background: var(--bl-navy-2); }
.bl-pc__badge { position: absolute; left: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--bl-ink); font: 600 .78rem/1 var(--bl-font); box-shadow: 0 2px 8px rgba(16, 24, 40, .15); max-width: calc(100% - 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-pc__badge .bl-icon { width: 14px; height: 14px; color: var(--bl-blue); flex: none; }
.bl-pc__body { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.bl-pc__title { margin: 0; font: 700 1.12rem/1.3 var(--bl-font); overflow-wrap: anywhere; }
.bl-pc__title a { color: var(--bl-ink) !important; text-decoration: none !important; }
.bl-pc__title a:hover { color: var(--bl-blue) !important; }
.bl-pc__title a:focus-visible, .bl-pc__cta:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; border-radius: 4px; }
.bl-pc__rating .bl-rating-inline { font-size: .88rem; }
.bl-pc__rating .bl-stars svg { width: 15px; height: 15px; }
.bl-pc__desc { margin: 0; color: var(--bl-text); font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-pc__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .88rem; color: var(--bl-muted); }
.bl-pc__meta li { display: flex; align-items: center; gap: .45rem; margin: 0; min-width: 0; }
.bl-pc__meta li > span, .bl-pc__meta li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-pc__meta .bl-icon { width: 16px; height: 16px; color: var(--bl-blue); flex: none; }
.bl-pc__meta a { color: var(--bl-text) !important; text-decoration: none !important; }
.bl-pc__meta a:hover { color: var(--bl-blue) !important; }
.bl-pc__price span { color: var(--bl-green); font-weight: 700; font-size: 1rem; }
.bl-pc__cta { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--bl-line); display: inline-flex; align-items: center; gap: .35rem; color: var(--bl-blue) !important; font: 600 .92rem/1.2 var(--bl-font); text-decoration: none !important; }
.bl-pc__cta .bl-icon { width: 16px; height: 16px; transition: transform .2s; }
.bl-pc:hover .bl-pc__cta .bl-icon { transform: translateX(3px); }
.bl-results__empty { margin-top: .5rem; }
.bl-results__empty .bl-muted a { color: var(--bl-blue); }
@media (max-width: 899px) { .boca-listing-archive .bl-search { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
	.bl-hero-dir { padding: 2.25rem 0 2rem; }
	.boca-listing-archive .bl-search { grid-template-columns: minmax(0, 1fr); }
	.bl-results__head { align-items: stretch; }
	.bl-sortform { width: 100%; }
	.bl-sortform select { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .bl-pc, .bl-pc__img, .bl-pc__cta .bl-icon { transition: none; } .bl-pc:hover { transform: none; } .bl-pc:hover .bl-pc__img { transform: none; } }

/* =========================================================================
   Homepage sections ([bl_home_*] shortcodes)
   ========================================================================= */
.bl-hh, .bl-hs, .bl-hcta { font-family: var(--bl-font); color: var(--bl-text); box-sizing: border-box; }
.bl-hh *, .bl-hs *, .bl-hcta * { box-sizing: border-box; }

/* Hero */
.bl-hh { position: relative; }
.bl-hh__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "text collage" "search search"; gap: 2rem 3rem; align-items: center; }
.bl-hh__text { grid-area: text; }
.bl-hh__eyebrow { margin: 0 0 .75rem; display: inline-block; padding: .35rem .75rem; border-radius: 999px; background: rgba(159, 176, 255, .14); color: #c7d2ff; font: 600 .82rem/1.2 var(--bl-font); letter-spacing: .04em; }
.bl-hh__title { margin: 0 0 1rem; color: #fff; font: 800 clamp(2.3rem, 4.6vw, 3.75rem)/1.06 var(--bl-font); letter-spacing: -.02em; }
.bl-hh__lead { margin: 0 0 1.5rem; color: #c9d2ea; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 600px; }
.bl-hh__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: #c9d2ea; }
.bl-hh__facts li { margin: 0; }
.bl-hh__facts strong { color: #fff; font-size: 1.35rem; font-weight: 800; margin-right: .2rem; }
.bl-hh__collage { grid-area: collage; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 150px 150px; gap: 12px; }
.bl-hh__tile { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #17264f; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
.bl-hh__tile--1 { grid-row: 1 / 3; }
.bl-hh__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bl-hh__tile:hover .bl-hh__img { transform: scale(1.04); }
.bl-hh__cap { position: absolute; left: .6rem; bottom: .6rem; right: .6rem; padding: .35rem .6rem; border-radius: 999px; background: rgba(14, 26, 58, .78); color: #fff; font: 600 .78rem/1.2 var(--bl-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: max-content; max-width: calc(100% - 1.2rem); }
.bl-hh__search { grid-area: search; }
.bl-hh__search .bl-search { box-shadow: 0 22px 50px -22px rgba(0, 0, 0, .6); }
@media (max-width: 1100px) { .bl-hh__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "search"; } .bl-hh__collage { display: none; } }

/* Shared section header */
.bl-hs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.bl-hs__eyebrow { margin: 0 0 .4rem; color: var(--bl-blue); font: 700 .8rem/1.2 var(--bl-font); letter-spacing: .08em; text-transform: uppercase; }
.bl-hs__title { margin: 0; color: var(--bl-ink); font: 800 clamp(1.7rem, 2.8vw, 2.35rem)/1.15 var(--bl-font); letter-spacing: -.01em; }
.bl-hs__intro { margin: .6rem 0 0; color: var(--bl-muted); font-size: 1.02rem; max-width: 640px; }
.bl-hs__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--bl-blue) !important; font: 600 .98rem/1.2 var(--bl-font); text-decoration: none !important; padding: .55rem .9rem; border-radius: 999px; border: 1px solid #c7d2fe; background: #fff; transition: background .15s, border-color .15s; white-space: nowrap; }
.bl-hs__more:hover { background: var(--bl-blue-50); border-color: var(--bl-blue); }
.bl-hs__more .bl-icon { width: 18px; height: 18px; }
.bl-hs a:focus-visible, .bl-hcta a:focus-visible, .bl-hh a:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }

/* Category cards */
.bl-hc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023px) { .bl-hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .bl-hc-grid { grid-template-columns: minmax(0, 1fr); } }
.bl-hc { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.1rem; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); text-decoration: none !important; color: var(--bl-ink) !important; transition: border-color .15s, box-shadow .2s, transform .2s; min-width: 0; }
.bl-hc:hover { border-color: #b8c4f5; box-shadow: 0 12px 28px -16px rgba(16, 24, 40, .3); transform: translateY(-2px); }
.bl-hc__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bl-blue-50); color: var(--bl-blue); }
.bl-hc__icon .bl-icon { width: 24px; height: 24px; }
.bl-hc__body { display: grid; gap: .1rem; min-width: 0; }
.bl-hc__body strong { font: 700 1.05rem/1.25 var(--bl-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-hc__group { font-size: .8rem; color: var(--bl-muted); }
.bl-hc__count { font-size: .85rem; font-weight: 600; color: var(--bl-green); }
.bl-hc__count--empty { color: var(--bl-muted); font-weight: 500; }
.bl-hc__arrow { margin-left: auto; color: #98a2b3; flex: none; transition: transform .2s, color .2s; }
.bl-hc:hover .bl-hc__arrow { color: var(--bl-blue); transform: translateX(3px); }

/* Featured businesses reuse .bl-pcards / .bl-pc from the archive. */

/* City cards */
.bl-hcity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.bl-hcity { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--bl-r-lg); overflow: hidden; text-decoration: none !important; background: var(--bl-navy-2); isolation: isolate; }
.bl-hcity__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bl-hcity__img--ph { background: radial-gradient(120% 100% at 100% 0%, #1d3fd6 0%, #0e1a3a 70%); }
.bl-hcity:hover .bl-hcity__img { transform: scale(1.05); }
.bl-hcity__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 58, 0) 35%, rgba(14, 26, 58, .88) 100%); }
.bl-hcity__body { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: grid; gap: .15rem; color: #fff; }
.bl-hcity__body strong { font: 700 1.25rem/1.2 var(--bl-font); color: #fff; }
.bl-hcity__body span { font-size: .88rem; color: #dbe2f5; }

/* How it works */
.bl-step3-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
@media (max-width: 899px) { .bl-step3-grid { grid-template-columns: minmax(0, 1fr); } }
.bl-step3 { position: relative; margin: 0; padding: 1.6rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); }
.bl-step3__num { position: absolute; top: 1.2rem; right: 1.3rem; font: 800 2.4rem/1 var(--bl-font); color: #eef2ff; }
.bl-step3__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bl-blue); color: #fff; margin-bottom: 1rem; }
.bl-step3__icon .bl-icon { width: 26px; height: 26px; }
.bl-step3 h3 { margin: 0 0 .4rem; font: 700 1.25rem/1.25 var(--bl-font); color: var(--bl-ink); }
.bl-step3 p { margin: 0; color: var(--bl-text); line-height: 1.6; }

/* Business-owner CTA */
.bl-hcta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 24px; background: var(--bl-navy); color: #fff; position: relative; overflow: hidden; }
.bl-hcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 140% at 100% 0%, rgba(29, 63, 214, .55), transparent 65%); pointer-events: none; }
.bl-hcta > * { position: relative; }
.bl-hcta h2 { margin: 0 0 .6rem; color: #fff; font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--bl-font); }
.bl-hcta p { margin: 0 0 1.1rem; color: #c9d2ea; font-size: 1.08rem; max-width: 620px; }
.bl-hcta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.bl-hcta li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; color: #e4e9f7; font-size: .95rem; }
.bl-hcta li .bl-icon { color: #7ee2a8; width: 18px; height: 18px; }
.bl-hcta__actions { display: grid; gap: .8rem; justify-items: center; }
.bl-hcta__btn { padding: 1rem 1.6rem; font-size: 1.08rem; box-shadow: 0 12px 28px -12px rgba(29, 63, 214, .9); }
.bl-hcta__link { display: inline-flex; align-items: center; gap: .35rem; color: #c7d2ff !important; font-weight: 600; text-decoration: none !important; }
.bl-hcta__link .bl-icon { width: 16px; height: 16px; }
@media (max-width: 799px) { .bl-hcta { grid-template-columns: minmax(0, 1fr); } .bl-hcta__actions { justify-items: start; } }

/* Blog cards */
.bl-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1023px) { .bl-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .bl-post-grid { grid-template-columns: minmax(0, 1fr); } }
.bl-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; min-width: 0; }
.bl-post:hover { box-shadow: 0 14px 32px -16px rgba(16, 24, 40, .28); transform: translateY(-3px); }
.bl-post__media { display: block; aspect-ratio: 16 / 10; background: var(--bl-bg); overflow: hidden; }
.bl-post__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bl-post:hover .bl-post__img { transform: scale(1.04); }
.bl-post__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.bl-post__meta { margin: 0; display: flex; gap: .6rem; align-items: center; font-size: .82rem; color: var(--bl-muted); }
.bl-post__cat { color: var(--bl-blue); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bl-post__title { margin: 0; font: 700 1.15rem/1.35 var(--bl-font); }
.bl-post__title a { color: var(--bl-ink) !important; text-decoration: none !important; }
.bl-post__title a:hover { color: var(--bl-blue) !important; }
.bl-post__excerpt { margin: 0; color: var(--bl-text); font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-post__more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; color: var(--bl-blue) !important; font-weight: 600; text-decoration: none !important; padding-top: .3rem; }
.bl-post__more .bl-icon { width: 16px; height: 16px; }

/* Reviews (only rendered when approved reviews exist) */
.bl-hr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.bl-hr { margin: 0; padding: 1.4rem; background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); display: grid; gap: .6rem; }
.bl-hr__title { margin: 0; font-weight: 700; color: var(--bl-ink); }
.bl-hr blockquote { margin: 0; padding: 0; border: 0; font-style: normal; color: var(--bl-text); line-height: 1.6; }
.bl-hr figcaption { font-size: .9rem; color: var(--bl-muted); }
.bl-hr figcaption a { color: var(--bl-blue); }

@media (prefers-reduced-motion: reduce) { .bl-hc, .bl-hcity__img, .bl-post, .bl-post__img, .bl-hh__img { transition: none; } .bl-hc:hover, .bl-post:hover { transform: none; } }

/* Homepage Elementor bands and footer */
.bl-home-hero { position: relative; overflow: hidden; }
.bl-home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 88% 10%, rgba(29, 63, 214, .45), transparent 65%), radial-gradient(40% 70% at 0% 100%, rgba(29, 63, 214, .18), transparent 70%); pointer-events: none; }
.bl-home-hero > .e-con-inner { position: relative; }
.bl-home-reviews .bl-hs--reviews { padding: 72px 0 80px; }
.bl-footer-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: .25rem 0 0; }
.bl-footer .bl-footer-btn { display: inline-flex; align-items: center; padding: .6rem 1rem; border-radius: 8px; background: var(--bl-blue); color: #fff !important; font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.bl-footer .bl-footer-btn:hover { background: var(--bl-blue-600); color: #fff !important; text-decoration: none !important; }
.bl-footer .bl-footer-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .3); }
.bl-footer .bl-footer-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.bl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin: 0; font-size: .88rem; color: #98a2c3; }
.bl-footer .bl-footer-links a:focus-visible, .bl-footer a:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }

/* Elementor sets .elementor img { height: auto }; these images must fill their frames. */
.bl-hh .bl-hh__img, .bl-hcity .bl-hcity__img, .bl-post .bl-post__img, .bl-pc .bl-pc__img { height: 100%; width: 100%; max-width: none; }

/* =========================================================================
   Listing detail premium layout (single bl_listing)
   ========================================================================= */
body.single-bl_listing { background: var(--bl-bg); }
.boca-listing-detail.bl-single { padding-top: 1.25rem; padding-bottom: 3.5rem; }
.boca-listing-detail .bl-crumbs { margin-bottom: 1rem; font-size: .88rem; }
.boca-listing-detail .bl-crumbs a { color: var(--bl-muted); }
.boca-listing-detail .bl-crumbs [aria-current] { color: var(--bl-ink); font-weight: 500; }

/* Business header: details left, contact actions right */
.boca-listing-detail .bl-info { grid-template-columns: minmax(0, 1fr) minmax(220px, 260px); column-gap: 2rem; row-gap: .85rem; padding: 1.75rem 2rem; border-radius: var(--bl-r-lg); margin-bottom: 1.25rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.boca-listing-detail .bl-info > * { grid-column: 1; }
.boca-listing-detail .bl-info > .bl-info__actions { grid-column: 2; grid-row: 1 / span 6; align-self: start; flex-direction: column; flex-wrap: nowrap; gap: .55rem; padding: 1rem; margin: 0; background: var(--bl-bg); border-radius: var(--bl-r); }
.boca-listing-detail .bl-info__actions .bl-btn { width: 100%; justify-content: center; }
.boca-listing-detail .bl-info__title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.01em; }
.boca-listing-detail .bl-info__titles { gap: .5rem; }
.boca-listing-detail .bl-info__lead { color: var(--bl-muted); }
@media (max-width: 860px) {
	.boca-listing-detail .bl-info { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
	.boca-listing-detail .bl-info > .bl-info__actions { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; }
	.boca-listing-detail .bl-info__actions .bl-btn { width: auto; flex: 1 1 calc(50% - .55rem); }
	.boca-listing-detail .bl-info__actions .bl-btn--primary { flex-basis: 100%; }
}
/* Call Now: icon, label and number centered on one line; if space runs out the number moves
   to its own line as a whole, never clipped or split. Scoped to the listing action panel. */
.boca-listing-detail .bl-info__actions .bl-btn--call { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .45rem; row-gap: .1rem; min-width: 0; max-width: 100%; min-height: 46px; padding-left: .75rem; padding-right: .75rem; text-align: center; overflow-wrap: normal; }
.boca-listing-detail .bl-info__actions .bl-btn--call .bl-icon { flex: none; }
.boca-listing-detail .bl-info__actions .bl-btn--call .bl-btn__label, .boca-listing-detail .bl-info__actions .bl-btn--call .bl-btn__num { white-space: nowrap; }
@media (min-width: 861px) { .boca-listing-detail .bl-info__actions .bl-btn--call { font-size: .875rem; column-gap: .35rem; padding-left: .5rem; padding-right: .5rem; } }
@media (max-width: 359px) { .boca-listing-detail .bl-info__actions .bl-btn--call { font-size: .9375rem; padding-left: .6rem; padding-right: .6rem; } }

/* Gallery sits inside the same container, under the header */
.boca-listing-detail .bl-gal { margin-bottom: 1.5rem; }

/* Two columns: content cards + sticky contact sidebar */
.boca-listing-detail .bl-detail { gap: 1.5rem; }
.boca-listing-detail .bl-detail__main > .bl-section { background: #fff; border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: 1.5rem 1.75rem; margin: 0 0 1.25rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.boca-listing-detail .bl-detail__main > .bl-section > h2, .boca-listing-detail .bl-ps__head h2 { font-size: 1.35rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .55rem; }
.boca-listing-detail .bl-detail__main > .bl-section > h2::before, .boca-listing-detail .bl-ps__head h2::before { content: ""; width: 4px; height: 1.15em; border-radius: 4px; background: var(--bl-blue); }
.boca-listing-detail .bl-prose { max-width: 72ch; font-size: 1.04rem; line-height: 1.75; color: var(--bl-text); }
.boca-listing-detail .bl-prose p { margin: 0 0 1rem; }
.boca-listing-detail .bl-services .bl-checklist { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem 1.25rem; }
.boca-listing-detail .bl-services .bl-checklist li { padding: .45rem .6rem; border-radius: 8px; background: #f8fafc; font-size: .97rem; }
.boca-listing-detail .bl-services .bl-checklist .bl-icon { color: var(--bl-green); flex: none; margin-top: .1rem; }
.boca-listing-detail .bl-ps__nav--prev { left: -12px; }
.boca-listing-detail .bl-ps__nav--next { right: -12px; }
@media (max-width: 640px) {
	.boca-listing-detail .bl-detail__main > .bl-section { padding: 1.15rem; }
	.boca-listing-detail .bl-ps__nav--prev { left: 6px; }
	.boca-listing-detail .bl-ps__nav--next { right: 6px; }
}
.boca-listing-detail .bl-detail__side { position: sticky; top: 1rem; gap: 1rem; }
@media (max-width: 860px) { .boca-listing-detail .bl-detail__side { position: static; } }
.boca-listing-detail .bl-box { border-radius: var(--bl-r-lg); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.boca-listing-detail .bl-box h3 { font-size: 1.05rem; text-transform: none; }
.boca-listing-detail .bl-contact li { padding-bottom: .65rem; border-bottom: 1px solid var(--bl-line); }
.boca-listing-detail .bl-contact li:last-child { border-bottom: 0; padding-bottom: 0; }
.boca-listing-detail .bl-contact a { color: var(--bl-ink); text-decoration: none; font-weight: 500; }
.boca-listing-detail .bl-contact a:hover { color: var(--bl-blue); }
.boca-listing-detail .bl-box--map iframe { height: 280px; }

/* Similar businesses */
.boca-listing-detail .bl-related { margin-top: 2.5rem; }
.bl-related__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.bl-related__head h2 { margin: 0 !important; }
.boca-listing-detail .bl-related .bl-pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .boca-listing-detail .bl-related .bl-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .boca-listing-detail .bl-related .bl-pcards { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   Blog archive (.boca-blog-archive) and article (.boca-blog-single)
   ========================================================================= */
.bl-blog, .bl-article-page { font-family: var(--bl-font); color: var(--bl-text); }
.bl-blog *, .bl-article-page * { box-sizing: border-box; }
.bl-crumbs--light, .bl-crumbs--light a { color: #9fb0d8 !important; }
.bl-crumbs--light [aria-current] { color: #fff; }

.bl-blog-hero { background: var(--bl-navy); color: #fff; padding: 1.75rem 0 2.5rem; position: relative; overflow: hidden; }
.bl-blog-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 0%, rgba(29, 63, 214, .38), transparent 62%); pointer-events: none; }
.bl-blog-hero .bl-wrap { position: relative; }
.bl-blog-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2.5rem; flex-wrap: wrap; margin-top: .75rem; }
.bl-blog-hero__title { margin: 0 0 .5rem; color: #fff; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1.1 var(--bl-font); letter-spacing: -.01em; }
.bl-blog-hero__intro { margin: 0; color: #c9d2ea; font-size: 1.08rem; max-width: 620px; }
.bl-blog-search { display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: 12px; width: min(420px, 100%); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .6); }
.bl-blog-search input { flex: 1; min-width: 0; border: 0; font: 400 1rem var(--bl-font); color: var(--bl-ink); padding: .6rem .7rem; background: transparent; }
.bl-blog-search input:focus { outline: none; }
.bl-blog-search:focus-within { box-shadow: 0 0 0 3px #8aa2ff, 0 16px 36px -18px rgba(0, 0, 0, .6); }
.bl-blog-search .bl-btn { padding: .6rem .9rem; }

.bl-blog__body { padding-top: 1.75rem; padding-bottom: 4rem; }
.bl-blog-cats { margin-bottom: 1.5rem; }
.bl-blog__head h2 { margin: 2.25rem 0 1.1rem; font: 700 1.45rem/1.2 var(--bl-font); color: var(--bl-ink); }

.bl-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--bl-line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.bl-feature--noimg { grid-template-columns: minmax(0, 1fr); }
.bl-feature__media { display: block; min-height: 320px; background: var(--bl-bg); overflow: hidden; }
.bl-feature .bl-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bl-feature:hover .bl-feature__img { transform: scale(1.03); }
.bl-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: .85rem; align-items: flex-start; }
.bl-feature__label { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--bl-blue-50); color: var(--bl-blue); font: 700 .75rem/1.2 var(--bl-font); letter-spacing: .06em; text-transform: uppercase; }
.bl-feature__title { margin: 0; font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--bl-font); }
.bl-feature__title a { color: var(--bl-ink) !important; text-decoration: none !important; }
.bl-feature__title a:hover { color: var(--bl-blue) !important; }
.bl-feature__excerpt { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--bl-text); }
.bl-feature .bl-btn .bl-icon { width: 18px; height: 18px; }
@media (max-width: 899px) { .bl-feature { grid-template-columns: minmax(0, 1fr); } .bl-feature__media { min-height: 0; aspect-ratio: 16 / 9; } }

.bl-post__meta a.bl-post__cat, .bl-article-head .bl-post__cat { color: var(--bl-blue) !important; text-decoration: none !important; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; }
.bl-post__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #eef2ff, #f5f7fb); color: #b8c4f5; }
.bl-post__ph .bl-icon { width: 48px; height: 48px; }
.bl-post .bl-post__img { height: 100%; width: 100%; }

/* Article */
body.single-post { background: #fff; }
.bl-article-page { padding: 1.25rem 0 4rem; }
.bl-article-page .bl-wrap { max-width: 1280px; }
.bl-article-head { max-width: 860px; margin: .75rem 0 2rem; display: grid; gap: .75rem; }
.bl-article-head__title { margin: 0; color: var(--bl-ink); font: 800 clamp(1.9rem, 3.8vw, 2.9rem)/1.15 var(--bl-font); letter-spacing: -.015em; }
.bl-article-head__meta { margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; color: var(--bl-muted); font-size: .95rem; }
.bl-article-head__intro { margin: .25rem 0 0; font-size: 1.15rem; line-height: 1.65; color: var(--bl-text); }
.bl-article-head__media { margin: .75rem 0 0; border-radius: 18px; overflow: hidden; }
.bl-article-head__media img { width: 100%; height: auto; display: block; }

.bl-article-layout { display: grid; grid-template-columns: minmax(0, 800px) 300px; justify-content: space-between; gap: 3rem; align-items: start; }
@media (max-width: 1080px) { .bl-article-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }
.bl-article { min-width: 0; }
.bl-article__body { font-size: 1.1rem; line-height: 1.8; color: #2b3445; overflow-wrap: anywhere; }
.bl-article__body > * { max-width: 100%; }
.bl-article__body p { margin: 0 0 1.2rem; }
.bl-article__body h1, .bl-article__body h2 { margin: 2.25rem 0 .85rem; font: 800 1.65rem/1.3 var(--bl-font); color: var(--bl-ink); scroll-margin-top: 1.25rem; }
.bl-article__body h3 { margin: 1.75rem 0 .65rem; font: 700 1.3rem/1.35 var(--bl-font); color: var(--bl-ink); scroll-margin-top: 1.25rem; }
.bl-article__body h4 { margin: 1.5rem 0 .5rem; font: 700 1.12rem/1.4 var(--bl-font); color: var(--bl-ink); }
.bl-article__body ul, .bl-article__body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.bl-article__body li { margin: 0 0 .45rem; }
.bl-article__body a { color: var(--bl-blue); text-decoration: underline; text-underline-offset: 3px; }
.bl-article__body strong { color: var(--bl-ink); }
.bl-article__body img { max-width: 100%; height: auto; border-radius: 14px; }
.bl-article__body figure { margin: 1.75rem 0; }
.bl-article__body figcaption { margin-top: .5rem; font-size: .9rem; color: var(--bl-muted); text-align: center; }
.bl-article__body blockquote { margin: 1.5rem 0; padding: .75rem 1.25rem; border-left: 4px solid var(--bl-blue); background: var(--bl-bg); border-radius: 0 10px 10px 0; }
.bl-table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--bl-line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.bl-table-scroll:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }
.bl-article__body table { width: 100%; min-width: 480px; border-collapse: collapse; margin: 0; font-size: 1rem; }
.bl-article__body th, .bl-article__body td { padding: .7rem .9rem; border: 0; border-bottom: 1px solid var(--bl-line); text-align: left; vertical-align: top; }
.bl-article__body th { background: var(--bl-bg); color: var(--bl-ink); font-weight: 700; }
.bl-article__body tr:last-child td { border-bottom: 0; }
.bl-article__body tbody > tr:nth-child(odd) > td { background: none; }
.bl-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--bl-line); }
.bl-article__tags > span { font-weight: 600; color: var(--bl-ink); margin-right: .25rem; }

.bl-article-side { position: sticky; top: 1rem; display: grid; gap: 1rem; }
@media (max-width: 1080px) { .bl-article-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.bl-side-box { background: #fff; border: 1px solid var(--bl-line); border-radius: 16px; padding: 1.2rem 1.25rem; }
.bl-side-box__title { margin: 0 0 .8rem; font: 700 1rem/1.3 var(--bl-font); color: var(--bl-ink); }
.bl-toc ol { margin: 0; padding-left: 1.15rem; display: grid; gap: .45rem; font-size: .93rem; }
.bl-toc a { color: var(--bl-text); text-decoration: none; }
.bl-toc a:hover { color: var(--bl-blue); text-decoration: underline; }
.bl-side-posts, .bl-side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bl-side-posts a { display: flex; gap: .7rem; align-items: center; color: var(--bl-ink); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.bl-side-posts a:hover span { color: var(--bl-blue); }
.bl-side-posts img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.bl-side-cats a { display: flex; justify-content: space-between; color: var(--bl-text); text-decoration: none; }
.bl-side-cats a:hover { color: var(--bl-blue); }
.bl-side-cats span { font-size: .8rem; background: var(--bl-bg); border-radius: 999px; padding: .1rem .5rem; color: var(--bl-muted); }
.bl-side-cta { background: var(--bl-navy); border-color: var(--bl-navy); color: #c9d2ea; }
.bl-side-cta .bl-side-box__title { color: #fff; }
.bl-side-cta p { margin: 0 0 1rem; font-size: .95rem; }
.bl-side-box a:focus-visible, .bl-article__body a:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; }
.bl-article-related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--bl-line); }
.bl-article-related .bl-related__head h2 { font: 800 1.6rem/1.2 var(--bl-font); color: var(--bl-ink); }
