/*
 * ds-locations-hub.css (20 Nov 2026): DS restyle of the delivery locations hub /-/locations (public/locations.html, PublicViews/locations.php).
 * Loaded only by locations.html line 1, which adds body.ds-lhub. Every rule is scoped body.ds.ds-lhub #contents.
 * Builds on the tokens in ds-chrome.css (body.ds). Hero + breadcrumb mirror ds-venues-hub.css (the other hub page).
 * Rollback: /home/ianbird/locations-hub-ds-20261120/ROLLBACK.sh
 */

/* ---------- Hero ---------- */
body.ds.ds-lhub #contents > .row > .col > .carousel { margin-top: 12px; }
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-inner { border-radius: var(--r) !important; box-shadow: var(--shadow-sm); background: var(--dark); }
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-item::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(15, 26, 20, .82) 0%, rgba(15, 26, 20, .5) 45%, rgba(15, 26, 20, .1) 80%);
}
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption {
	z-index: 2; left: 40px; right: auto; bottom: 50%; transform: translateY(50%);
	max-width: 640px; padding: 0; text-align: left;
}
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > :is(h1, h3) {
	background: none !important; color: #fff !important; text-align: left !important;
	text-transform: none !important; padding: 0 !important; margin: 0 0 10px !important;
	font-family: var(--font); font-size: 2.4rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > h1::before {
	content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--g); margin-bottom: 14px;
}
body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > p {
	background: none !important; color: rgba(255, 255, 255, .92) !important; text-align: left !important;
	padding: 0 !important; font-size: 1.05rem; font-weight: 400 !important; line-height: 1.5;
}
@media (min-width: 992px) {
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-item > img { height: 260px !important; object-fit: cover; }
}
@media (max-width: 991.98px) {
	/* Show the real caption (with the h1) as a dark panel; hide the h2-only #page-title duplicate. */
	body.ds.ds-lhub #contents > .row > .col > #page-title { display: none !important; }
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-item::after { content: none !important; }
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption.d-none {
		display: block !important; position: static; transform: none; max-width: none; padding: 18px 20px 20px; background: var(--dark);
	}
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > :is(h1, h3) { font-size: 1.7rem; }
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > h1::before { margin-bottom: 12px; }
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-caption > p { font-size: .98rem; margin: 0; }
}

/* ---------- Breadcrumb + "Change View" (By Area / A-Z) ---------- */
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb { background: transparent !important; border: 0 !important; padding: 0; margin: 4px 0 6px; }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb { background: transparent; padding: 8px 0; margin: 0; font-size: 13px; }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb-item .btn {
	font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); border: 0; padding-top: 0; padding-bottom: 0;
	text-transform: none !important; letter-spacing: 0; box-shadow: none;
}
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb-item .btn:hover { color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb-item[aria-current] .btn { color: var(--ink-2); }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #b5bfb8; }
@media (max-width: 767.98px) {
	body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .breadcrumb-item.d-none { display: list-item !important; }
}
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .float-right { top: 4px !important; }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .float-right .dropdown-toggle {
	font-family: var(--font); font-size: 13px; font-weight: 600; text-transform: none !important; letter-spacing: 0;
	background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px !important; box-shadow: none;
}
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .float-right .dropdown-toggle:hover,
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .float-right .dropdown-toggle[aria-expanded="true"] { background: var(--g-50); border-color: var(--g-100); color: var(--ink); }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); font-family: var(--font); }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .dropdown-item { font-size: .9rem; color: var(--ink-2); text-transform: none !important; }
body.ds.ds-lhub #contents > .row > .col > .main-breadcrumb .dropdown-item:hover { background: var(--g-50); color: var(--ink); }

/* ---------- Phone gutter (the CMS column's .px-1 is !important) ---------- */
@media (max-width: 767.98px) {
	body.ds.ds-lhub #contents > .row > .col.px-1 { padding-left: 14px !important; padding-right: 14px !important; }
}

/* ---------- Jump-to-branch chips ---------- */
body.ds.ds-lhub #contents .lh-jump {
	clear: both; font-family: var(--font); background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow-sm); padding: 16px 18px; margin: 8px 0 20px;
}
body.ds.ds-lhub #contents .lh-jump__count { margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
body.ds.ds-lhub #contents .lh-jump__chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.ds.ds-lhub #contents .lh-chip {
	display: inline-block; border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 500; line-height: 1.3;
	background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); text-decoration: none;
}
body.ds.ds-lhub #contents .lh-chip:hover { background: var(--g-50); border-color: var(--g-100); color: var(--ink); }

/* ---------- Branch cards ---------- */
body.ds.ds-lhub #contents .lh-list { display: grid; gap: 16px; font-family: var(--font); }
body.ds.ds-lhub #contents .lh-branch {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
	padding: 20px 22px 18px; scroll-margin-top: 96px;
}
body.ds.ds-lhub #contents .lh-branch > h3 {
	margin: 0 0 4px !important; font-family: var(--font); font-size: 1.45rem; font-weight: 700; line-height: 1.2;
	letter-spacing: -.02em; text-transform: none !important;
}
body.ds.ds-lhub #contents .lh-branch > h3 > a { color: var(--ink); text-decoration: none; }
body.ds.ds-lhub #contents .lh-branch > h3 > a::after { content: "\00a0\2192"; color: var(--g-700); font-weight: 600; }
body.ds.ds-lhub #contents .lh-branch > h3 > a:hover { color: var(--g-700); }
body.ds.ds-lhub #contents .lh-branch > p { margin: 0 0 14px !important; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Area heading (city / county link) */
body.ds.ds-lhub #contents .lh-branch > h4 { margin: 16px 0 6px !important; padding-top: 14px; border-top: 1px solid var(--line); }
body.ds.ds-lhub #contents .lh-branch > p + h4 { margin-top: 0 !important; }
body.ds.ds-lhub #contents .lh-branch > h4 > .btn {
	display: inline-block; width: auto; max-width: 100%; white-space: normal; text-align: left;
	background: none !important; border: 0 !important; box-shadow: none !important; padding: 0; border-radius: 0;
	font-family: var(--font); font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1.3;
	color: var(--ink) !important; text-transform: none !important; letter-spacing: -.01em;
}
body.ds.ds-lhub #contents .lh-branch > h4 > .btn::after { content: "\00a0\2192"; color: var(--g-700); }
body.ds.ds-lhub #contents .lh-branch > h4 > .btn:hover { color: var(--g-700) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Town links: responsive grid of quiet tiles */
body.ds.ds-lhub #contents .lh-branch > .container { padding: 0; margin-top: 0 !important; max-width: none; }
body.ds.ds-lhub #contents .lh-branch > .container > .row {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0;
}
body.ds.ds-lhub #contents .lh-branch > .container > .row:empty { display: none; }
body.ds.ds-lhub #contents .lh-branch > .container > .row > [class*="col"] { flex: none; max-width: none; width: auto; padding: 0 !important; }
body.ds.ds-lhub #contents .lh-branch > .container > .row > [class*="col"] > .btn {
	display: block; height: 100%; text-align: left; white-space: normal;
	background: var(--bg); color: var(--ink-2) !important; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: none;
	font-family: var(--font); font-size: .88rem; font-weight: 500; line-height: 1.35; text-transform: none !important; letter-spacing: 0;
	padding: 8px 12px;
}
body.ds.ds-lhub #contents .lh-branch > .container > .row > [class*="col"] > .btn:hover { background: var(--g-50); border-color: var(--g-100); color: var(--ink) !important; }
@media (max-width: 991.98px) {
	body.ds.ds-lhub #contents .lh-branch > .container > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	body.ds.ds-lhub #contents .lh-branch { padding: 16px; scroll-margin-top: 80px; }
	body.ds.ds-lhub #contents .lh-branch > h3 { font-size: 1.25rem; }
	body.ds.ds-lhub #contents .lh-branch > .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.ds.ds-lhub #contents .lh-jump { padding: 14px; }
}

/* ---------- Equipment grid ---------- */
body.ds.ds-lhub #contents > .row > .col > .lh-cats { margin-top: 36px !important; }
body.ds.ds-lhub #contents .lh-cats > .same-category > .container-fluid { padding-left: 0; padding-right: 0; }
body.ds.ds-lhub #contents .lh-cats > .same-category > .container-fluid > .row { margin-left: -4px; margin-right: -4px; }
body.ds.ds-lhub #contents .lh-cats > .lh-cats__title {
	font-family: var(--font); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-transform: none !important;
	letter-spacing: -.02em; margin: 0 0 12px;
}

/* ---------- Focus ring (DS standard) ---------- */
body.ds.ds-lhub #contents :is(.lh-jump, .lh-branch) a:focus-visible { outline: 2px solid var(--g-700); outline-offset: 2px; box-shadow: none; }

/* ===== LH-CTA BEGIN (22 Nov 2026): hero CTAs matching location pages (.ds-loc-cta in ds-location.css). Rollback: /home/ianbird/locations-hub-cta-20261122/ROLLBACK.sh ===== */
body.ds.ds-lhub #contents .lh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body.ds.ds-lhub #contents .lh-cta .btn {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px;
	font-family: var(--font); font-size: .95rem; font-weight: 700; text-transform: none !important; letter-spacing: 0;
}
body.ds.ds-lhub #contents .lh-cta .btn-primary { background: var(--g); border-color: var(--g); color: var(--ink); }
body.ds.ds-lhub #contents .lh-cta .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
body.ds.ds-lhub #contents .lh-cta .btn-outline-light { background: transparent; border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
body.ds.ds-lhub #contents .lh-cta .btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
body.ds.ds-lhub #contents .lh-cta .btn:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
@media (min-width: 992px) {
	body.ds.ds-lhub #contents > .row > .col > .carousel .carousel-item > img { height: 300px !important; }
}
@media (max-width: 991.98px) {
	body.ds.ds-lhub #contents .lh-cta { margin-top: 16px; }
	body.ds.ds-lhub #contents .lh-cta .btn { flex: 1 1 auto; justify-content: center; min-height: 44px; padding: 0 18px; }
}
/* ===== LH-CTA END ===== */
