/* ==================================================================
   0.15.29.12 UX audit of November 27 2026 (pass 1 "Global design
   system spec v1", pass 2 build list). Loaded LAST (after v2-nav.css)
   so these shared rules win without editing the older sheets.
   Numbers in the comments are the build-list item numbers.
   ================================================================== */

:root {
	/* 0.15.29.13 (B2-6, pass 1 S15): the values live in theme.json
	   settings.custom.dl (one scale); these short names read them, with
	   the same values as fallbacks. */
	--dl-sec-y: var(--wp--custom--dl--section--desktop, 72px);          /* #11 Section */
	--dl-sec-compact-y: var(--wp--custom--dl--compact--desktop, 40px);  /* #11 Compact section */
	--dl-panel-pad: var(--wp--custom--dl--panel--desktop, 32px);        /* #11 inner panel */
	--dl-card-pad: var(--wp--custom--dl--card--desktop, 20px);          /* S15 card padding */
	--dl-r-card: var(--wp--custom--dl--radius--card, 16px);             /* #19 radii */
	--dl-r-panel: var(--wp--custom--dl--radius--panel, 18px);
	--dl-r-hero: var(--wp--custom--dl--radius--hero, 24px);
	--dl-ph-top: 150px;        /* #1 photo band above hero text */
	--dl-h1-a: 52px;           /* #10 H1 per title variant */
	--dl-h1-b: 44px;
	--dl-h1-c: 40px;
}
@media (max-width: 781px) {
	:root { --dl-sec-y: var(--wp--custom--dl--section--phone, 48px); --dl-sec-compact-y: var(--wp--custom--dl--compact--phone, 32px); --dl-panel-pad: var(--wp--custom--dl--panel--phone, 20px); --dl-card-pad: var(--wp--custom--dl--card--phone, 16px); --dl-r-hero: var(--wp--custom--dl--radius--hero-phone, 16px); --dl-r-panel: var(--wp--custom--dl--radius--panel-phone, 14px); --dl-ph-top: 110px; --dl-h1-a: 36px; --dl-h1-b: 32px; --dl-h1-c: 30px; }
}

/* ------------------------------------------------------------------
   #1 One scrim for every photo/texture title box (Know Your Lake hub,
   lake page, /guides/). Text sits below a photo band (padding-top =
   --dl-ph-top) and the gradient reaches .78 navy exactly where the text
   starts, then .92 at the bottom. Worst case on a pure white photo:
   white text >= 7:1. Eyebrow is white (gold only on >= .85; not
   guaranteed at the first line, so not used).
   ------------------------------------------------------------------ */
.dl-lakedir__hero.dl-lakebg,
.dl-lakep__hero.dl-lakebg,
.dl-gh__hero.dl-lakebg {
	--dl-scrim: linear-gradient(180deg, rgba(28,43,69,.20) 0, rgba(28,43,69,.78) var(--dl-ph-top), rgba(28,43,69,.92) 100%);
	padding-top: var(--dl-ph-top);
	border-radius: var(--dl-r-hero);
	display: flex; flex-direction: column; justify-content: flex-end;
}
.dl-lakedir__hero.dl-lakebg:not(.dl-lakebg--photo),
.dl-lakep__hero.dl-lakebg:not(.dl-lakebg--photo),
.dl-gh__hero.dl-lakebg:not(.dl-lakebg--photo) {
	background-image: var(--dl-scrim), url('../images/pro-band-1600.jpg') !important;
}
.dl-lakedir__hero.dl-lakebg--photo::before,
.dl-lakep__hero.dl-lakebg--photo::before,
.dl-gh__hero.dl-lakebg--photo::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: var(--dl-scrim);
}
.dl-lakedir__hero .dl-eyebrow,
.dl-lakep__hero .dl-eyebrow,
.dl-gh__hero .dl-eyebrow { color: #fff !important; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.dl-lakep__hero .dl-lead, .dl-lakedir__hero .dl-lead, .dl-gh__hero .dl-lead { color: rgba(255,255,255,.92) !important; }
/* #15 credit inside the hero: bottom-right, 12 px, on the .92 end of the scrim. */
.dl-lakebg__credit { right: 16px; bottom: 10px; font-size: 12px; color: rgba(255,255,255,.85); }
.dl-lakep__hero.dl-lakebg--photo { padding-bottom: 40px; }
@media (max-width: 781px) { .dl-lakep__hero.dl-lakebg--photo { padding-bottom: 36px; } }

/* #10 H1 scale: A 52/36 (photo boxes), B 44/32 (tinted), C 40/30 (plain). */
.dl-lakebg h1.dl-pagetitle, .dl-gh__hero .dl-pagetitle { font-size: var(--dl-h1-a) !important; line-height: 1.08; }
.dl-park__title, .dl-fishp h1.dl-pagetitle, .dl-fish-hub h1.dl-pagetitle, .dl-main--fishing h1.dl-pagetitle { font-size: var(--dl-h1-b) !important; line-height: 1.1; }
.dl-doc__title, .dl-signin h1 { font-size: var(--dl-h1-c) !important; line-height: 1.15; }

/* ------------------------------------------------------------------
   #3 One breadcrumb look (.dl-crumbs; the older .dl-doc__crumbs and
   .dl-guidex__crumbs on fishing and park pages are drawn the same).
   ------------------------------------------------------------------ */
.dl-crumbs { margin: 16px 0 16px; }
.dl-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--dl-muted, #4A5468); }
.dl-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--dl-muted, #4A5468); }
.dl-crumbs a { color: var(--dl-lake, #44708F); text-decoration: underline; text-underline-offset: 3px; }
.dl-crumbs [aria-current="page"] { color: var(--dl-navy, #1C2B45); font-weight: 500; }
.dl-doc__crumbs, .dl-guidex__crumbs { margin: 16px 0 16px; gap: 6px 8px; font-size: 14px; }
.dl-lhead .dl-crumbs { margin-top: 0; }
.dl-results .dl-crumbs { margin: 0 0 8px; }
@media (max-width: 781px) { .dl-crumbs, .dl-doc__crumbs { margin: 12px 0; } }

/* ------------------------------------------------------------------
   #7 #16 Footer: five groups inside <nav aria-label="Footer">,
   32 px link rows (WCAG 2.2 target size), © line shown on phones.
   ------------------------------------------------------------------ */
.dl-footer__grid { grid-template-columns: 1.2fr 5fr; }
.dl-footer__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.dl-footer__links { gap: 0 !important; }
.dl-footer__links a { display: inline-block; padding: 6px 0; line-height: 20px; min-height: 32px; box-sizing: border-box; }
.dl-footer__heading { margin-bottom: 6px !important; }
@media (max-width: 1100px) {
	.dl-footer__grid { grid-template-columns: 1fr; }
	.dl-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.dl-footer__nav { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
	.dl-footer__nav .dl-footer__col, .dl-footer__nav .dl-footer__links { display: block; }
	.dl-footer__nav .dl-footer__heading { display: block; }
	.dl-footer__copy { display: block; }
}

/* ------------------------------------------------------------------
   #11 Section tokens and #12 no navy-on-navy.
   ------------------------------------------------------------------ */
.dl-sec { padding-top: var(--dl-sec-y); padding-bottom: var(--dl-sec-y); }
.dl-listing-main > .dl-section-block { padding-top: var(--dl-sec-compact-y); padding-bottom: 8px; }
.dl-park__sec { margin: 0; padding: 0 0 var(--dl-sec-compact-y); }
.dl-lakep .dl-fish, .dl-lakep .dl-park__lakeblock { margin-top: var(--dl-sec-compact-y); }
/* The lake page CTA is a navy BOX inside a white section, never the last band before the navy footer. */
.dl-lakep .dl-cta2, .dl-cta2 { margin-bottom: var(--dl-sec-y); border-radius: var(--dl-r-hero); }

/* #13 Privacy and policy pages: 320 px rail + 720 px reading column (was 260 + 412). */
@media (min-width: 961px) {
	.is-layout-constrained > .dl-doc:has(> .dl-doc__layout) { --dl-docw: min(1072px, calc(100vw - 48px)); width: var(--dl-docw); max-width: none !important; margin-left: calc(50% - var(--dl-docw) / 2) !important; margin-right: 0 !important; }
	.dl-doc__layout { grid-template-columns: 320px minmax(0, 720px); gap: 32px; }
	.dl-doc__body { max-width: 720px; }
}

/* #14 Listing card without owner photos: Mist box with the loon mark (no text, decision 0.15.10 #14). */
.dl-photo--empty { position: relative; background: #F2F5F8; }
.dl-photo--empty::after { content: ""; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; background: url('../images/loon-mark-navy.svg') center / contain no-repeat; opacity: .22; }

/* #15 Credit in the body: figcaption pattern, 13 px muted. */
.dl-credit, figcaption.dl-credit { margin: 8px 0 0; font-size: 13px; color: var(--dl-muted, #4A5468); }
.dl-credit a { color: inherit; text-decoration: underline; }

/* #19 Card radius and shadow: card 16, panel 18, hero 24; clickable cards use the theme card shadow. */
.dl-card { border-radius: var(--dl-r-card); }
.dl-grid .dl-card, .dl-cardrow .dl-card { box-shadow: 0 1px 2px rgba(28,43,69,.06), 0 8px 24px rgba(28,43,69,.06); }
.dl-grid .dl-card:hover, .dl-cardrow .dl-card:hover { border-color: #44708F; }
.dl-lakedir__list a.dl-lakebg, .dl-lakedir__bar, .dl-lc, .dl-snap, .dl-book { border-radius: var(--dl-r-panel); }
.dl-gh__hero, .dl-lakedir__hero, .dl-lakep__hero { border-radius: var(--dl-r-hero); }

/* #20 Counts sit beside the heading, not inside it. */
.dl-fishp__ghead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dl-fishp__ghead .dl-h2 { margin: 0; }
.dl-count { font-size: 15px; color: var(--dl-muted, #4A5468); }

/* P2 #36 Request to book: "(required)" in labels, inline errors, error summary. */
.dl-req { font-weight: 400; color: var(--dl-muted, #4A5468); }
.dl-field__err { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #B3261E; }
.dl-field input[aria-invalid="true"], .dl-field select[aria-invalid="true"] { border-color: #B3261E !important; box-shadow: 0 0 0 1px #B3261E; }
.dl-co__errsum { display: block; margin: 0 0 20px; }
.dl-co__errsum:focus { outline: 2px solid #B3261E; outline-offset: 2px; }
.dl-co__errsum-title { margin: 0 0 6px; font-weight: 600; }
.dl-co__errsum ul { margin: 0; padding-left: 20px; }
.dl-co__errsum a { color: inherit; text-decoration: underline; }

/* P2 #30 One D&L Checked badge: green tick + name, linked to its explanation. */
.dl-badge--checked { display: inline-flex; align-items: center; margin: 0; }
.dl-badge__link { display: inline-flex; align-items: center; gap: 6px; color: #2F6A4F !important; font-weight: 600; text-decoration: none; min-height: 24px; }
.dl-badge__link:hover, .dl-badge__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.dl-badge__link:focus-visible { outline: 2px solid #44708F; outline-offset: 2px; border-radius: 4px; }
.dl-badge__tick { flex: none; }
.dl-tile--checked { background: #E8F1EC !important; }
#checked { scroll-margin-top: 130px; }

/* P2 #32 Active-filter pills (each removes one filter) + Clear all. */
.dl-fpills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 4px; padding: 0; }
.dl-fpill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border: 1px solid #C9D6E3; border-radius: 999px; background: #F4F8FB; color: var(--dl-navy, #1C2B45); font-size: 14px; text-decoration: none; }
.dl-fpill:hover, .dl-fpill:focus-visible { border-color: #44708F; }
.dl-fpill:focus-visible, .dl-fpills__clear:focus-visible { outline: 2px solid #44708F; outline-offset: 2px; }
.dl-fpill__x { font-size: 18px; line-height: 1; color: var(--dl-muted, #4A5468); }
.dl-fpills__clear { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; color: var(--dl-lake, #44708F); text-decoration: underline; font-size: 14px; }

/* P2 #28 Trust centre: Help centre and Contact us as two buttons under the cards. */
.dl-doc__hubcta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.dl-doc__hubcta .dl-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--dl-navy, #1C2B45); border-radius: 999px; color: var(--dl-navy, #1C2B45); font-weight: 600; text-decoration: none; }
.dl-doc__hubcta .dl-btn:hover, .dl-doc__hubcta .dl-btn:focus-visible { background: var(--dl-navy, #1C2B45); color: #fff; }
/* P2 #34 empty search: D&L Checked cottages below the message. */
.dl-empty__alt { margin-top: 32px; }
.dl-empty__alt .dl-h3 { margin: 0 0 16px; }
/* P2 #37 (part): one-photo galleries no taller than 560 px at desktop. */
@media (min-width: 782px) { .dl-gallery__main { max-height: 560px; overflow: hidden; } .dl-gallery__main img { width: 100%; max-height: 560px; object-fit: cover; } }

/* P1 #23 (Fadi, November 27 2026: the "Gold is never a button" rule is removed):
   "List your cottage free" is a solid Sunlit Gold pill with navy text (about 9:1),
   a navy-on-gold hover and a white 2 px focus ring on the navy bar. */
.dl-ux-topbar-link .dl-topbar__list { background: #F2C14E !important; border: 1px solid #F2C14E !important; color: #1C2B45 !important; font-weight: 600; text-decoration: none !important; }
.dl-ux-topbar-link .dl-topbar__list:hover { background: #F7D47E !important; border-color: #F7D47E !important; color: #1C2B45 !important; }
.dl-ux-topbar-link .dl-topbar__list:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px; }
/* P2 #26: checkout "What happens next" box. */
.dl-sum__next { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #DCE4EC; border-radius: 12px; background: #F2F5F8; font-size: 14px; }
.dl-sum__next p { margin: 0; }
.dl-sum__next-title { margin-bottom: 4px !important; }

/* ------------------------------------------------------------------
   P1 #9 Page title variants (shared classes .dl-ph--a/b/c).
   A = photo box (scrim above, #1); B = Mist box, no place photo;
   C = plain utility/legal title, no box.
   ------------------------------------------------------------------ */
.dl-ph--a { position: relative; min-height: 420px; padding-left: 48px; padding-right: 48px; padding-bottom: 40px; margin: 0 0 40px; overflow: hidden; }
.dl-ph--a .dl-lead { max-width: 640px; font-size: 18px; }
@media (max-width: 781px) { .dl-ph--a { min-height: 360px; padding-left: 20px; padding-right: 20px; padding-bottom: 28px; margin-bottom: 28px; } }

.dl-ph--b { position: relative; background: #F2F5F8 !important; background-image: none !important; border: 1px solid #DCE4EC; border-radius: var(--dl-r-panel); padding: 40px 40px 32px; margin: 0 0 40px; color: var(--dl-navy, #1C2B45); min-height: 0; overflow: hidden; }
.dl-ph--b h1, .dl-ph--b .dl-pagetitle { color: var(--dl-navy, #1C2B45) !important; font-size: var(--dl-h1-b) !important; line-height: 1.1; margin: 4px 0 12px; }
.dl-ph--b .dl-lead, .dl-ph--b .dl-lakep__sum, .dl-ph--b p { color: var(--dl-muted, #4A5468); }
.dl-ph--b .dl-lead { font-size: 18px; max-width: 720px; }
.dl-ph--b .dl-eyebrow, .dl-ph--b .dl-park__kind { color: #44708F !important; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.dl-ph--b .dl-lakep__sum { max-width: 720px; }
@media (max-width: 781px) { .dl-ph--b { padding: 24px 20px 20px; margin-bottom: 28px; } }

.dl-ph--c { font-size: var(--dl-h1-c) !important; line-height: 1.15; margin: 0 0 20px; }
.dl-doc .dl-crumbs + .dl-ph--c, .dl-doc .dl-crumbs + h1 { margin-top: 32px; }
@media (max-width: 781px) { .dl-doc .dl-crumbs + .dl-ph--c { margin-top: 16px; } }

/* P1 #8 Header: the top bar follows the main bar in the DOM (tab order: skip
   link, logo, main menu, then owner/account links) but still shows on top. */
header.dl-header { display: flex; flex-direction: column; }
header.dl-header > .dl-topbar { order: -1; }
header.dl-header > .dl-header__inner { order: 0; }

/* P1 #17 Phone header: logo · search (44 px) · menu (44 px); the menu panel
   starts with the logo; the CAD line moves to the panel foot, 13 px muted. */
.dl-msearch { display: none; }
.dl-nav__ologo { display: none; }
@media (max-width: 999px) {
	.dl-msearch { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; margin-right: -12px; border: 1px solid var(--dl-line, #DCE4EC); border-radius: 999px; color: var(--dl-navy, #1C2B45); background: #fff; flex: none; }
	.dl-msearch:focus-visible { outline: 2px solid #44708F; outline-offset: 2px; }
	.dl-nav .is-menu-open .dl-nav__ologo { display: block; margin: 0 0 20px; }
	.dl-nav .is-menu-open .dl-nav__ologo img { display: block; width: 168px; height: auto; }
	.dl-nav .is-menu-open .dl-nav__ca { order: 99; margin-top: 8px; }
	.dl-nav .is-menu-open .dl-nav__ca .wp-block-navigation-item__content { font-size: 13px !important; font-weight: 400 !important; color: var(--dl-muted, #4A5468); }
	.dl-nav .is-menu-open .dl-nav__ca-note { font-size: 13px; }
}
@media (max-width: 781px) {
	/* Hero credit sits under the text on phones (it wrapped over the summary). */
	.dl-lakep__hero.dl-lakebg--photo .dl-lakebg__credit { position: static; order: 99; display: block; margin-top: 16px; text-align: right; }
}

/* ==================================================================
   0.15.29.13 batch 1, part B (ChatGPT review evaluation, November 28
   2026; FINAL_REPORT 3B). Item numbers B1-x. CSS only for the parts
   owned by other files; no new public wording here.
   ================================================================== */

/* ------------------------------------------------------------------
   B1-14 Title and heading spacing tokens (pass 1 S9).
   eyebrow -> H1 12/8 · H1 -> first line 16/12 · lead -> search or
   chips 24/20 · section H2 -> content 20/16 · one section-H2 size 34/26.
   The home hero H1 (its own search hero) keeps its own spacing.
   ------------------------------------------------------------------ */
:root { --dl-gap-eb: var(--wp--custom--dl--gap--eyebrow-desktop, 12px); --dl-gap-h1: var(--wp--custom--dl--gap--h-1-desktop, 16px); --dl-gap-lead: var(--wp--custom--dl--gap--lead-desktop, 24px); --dl-gap-h2: var(--wp--custom--dl--gap--h-2-desktop, 20px); --dl-h2-sec: 34px; }
@media (max-width: 781px) { :root { --dl-gap-eb: var(--wp--custom--dl--gap--eyebrow-phone, 8px); --dl-gap-h1: var(--wp--custom--dl--gap--h-1-phone, 12px); --dl-gap-lead: var(--wp--custom--dl--gap--lead-phone, 20px); --dl-gap-h2: var(--wp--custom--dl--gap--h-2-phone, 16px); --dl-h2-sec: 26px; } }
main .dl-eyebrow:has(+ h1) { margin-bottom: 0 !important; }
main .dl-eyebrow + h1 { margin-top: var(--dl-gap-eb) !important; }
main h1:not(.dl-hero__title) { margin-bottom: var(--dl-gap-h1) !important; }
main h1:not(.dl-hero__title) + * { margin-top: 0 !important; }
/* Pages whose H1 sits in a flex column use the gap of the box, not margins. */
main h1:not(.dl-hero__title) + .dl-lead { margin-bottom: 0 !important; }
main h1:not(.dl-hero__title) + .dl-lead + :is(form, .dl-search, .dl-gh__search, .dl-lakedir__search, .dl-chips, .dl-fpills, .dl-help__search, .dl-trules) { margin-top: var(--dl-gap-lead) !important; }
/* Boxes whose first line would add its own top margin to the H1 gap. */
.dl-doc__hub > :first-child, .dl-doc__designed > :first-child { margin-top: 0 !important; }
.dl-guidex__head:has(> h1:last-child) { margin-bottom: 0 !important; }
.dl-guidex__head + * { margin-top: 0 !important; }
/* One section-H2 size; card titles that are H2 keep their tag at 20 px. */
main h2.dl-h2, .dl-help__sec-title, .dl-guidex__body h2, .dl-rb__title { font-size: var(--dl-h2-sec) !important; line-height: 1.18; }
.dl-gx__title { font-size: 20px !important; }
main h2.dl-h2:not(.dl-plan__h) { margin-bottom: var(--dl-gap-h2) !important; }
main h2.dl-h2 + * { margin-top: 0 !important; }
/* Heads that put the H2 in a row with a count or a link keep the row's own spacing. */
:is(.dl-fishp__ghead, .dl-lake__head, .dl-cal__head, .dl-fish__head, .dl-sechead__text) > h2.dl-h2 { margin-bottom: 0 !important; }
.dl-help__sec-title { margin-bottom: var(--dl-gap-h2) !important; }
.dl-guidex__body h2 { margin-bottom: var(--dl-gap-h2) !important; }
.dl-guidex__body h2 + * { margin-top: 0 !important; }

/* ------------------------------------------------------------------
   B1-13 One focus ring (pass 1 S12): 2 px, offset 2 px, Lake Blue on
   white; Sunlit Gold on navy (top bar, footer, navy title boxes, photo
   boxes, lake CTA); white on the gold pill (unchanged rule above).
   The width is forced to 2 px everywhere (older rules said 3 px).
   ------------------------------------------------------------------ */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #44708F; outline-offset: 2px; }
*:focus-visible, .dl-rcard:focus-within, .dl-gh__search:focus-within { outline-width: 2px !important; }
.skip-link:focus-visible, .dl-logo:focus-visible, .dl-crumbs a:focus-visible { outline: 2px solid #44708F !important; outline-offset: 2px !important; }
:is(.dl-footer, .dl-topbar, .dl-ph--navy, .dl-ph--a, .dl-cta2, .dl-lakebg, .dl-hero) :focus-visible { outline-color: #F2C14E !important; }
.dl-ux-topbar-link .dl-topbar__list:focus-visible { outline-color: #fff !important; }
/* White search pills inside dark boxes: the pill itself shows the ring. */
:is(.dl-ph--navy, .dl-ph--a, .dl-hero) :is(.dl-gh__search, .dl-help__search, .dl-search__pill) :focus-visible { outline-color: #44708F !important; }

/* ------------------------------------------------------------------
   B1-12 Phone targets (pass 1 S1): open menu rows and the close button
   at least 44 px; footer legal links at least 24 px. Row spacing is
   reduced by the same amount, so the rows stay where they were.
   ------------------------------------------------------------------ */
@media (max-width: 999px) {
	.dl-nav .is-menu-open .wp-block-navigation__container { gap: 12px !important; }
	.dl-nav .is-menu-open .wp-block-navigation-item__content,
	.dl-nav .is-menu-open .dl-nav__plan > .wp-block-navigation-submenu__toggle { display: flex !important; align-items: center; min-height: 44px; box-sizing: border-box; }
	.dl-nav .is-menu-open .dl-nav__plan > .wp-block-navigation__submenu-container { gap: 0 !important; padding-top: 2px !important; margin-top: 2px; }
	.dl-nav .is-menu-open .dl-nav__plan .wp-block-navigation__submenu-container .wp-block-navigation-item__content { min-height: 44px; }
	.dl-nav .is-menu-open .dl-nav__owners { padding-top: 12px; margin-top: 4px; }
	.dl-nav .wp-block-navigation__responsive-container-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; margin: -10px -10px 0 0; box-sizing: border-box; }
	.dl-nav .is-menu-open .dl-nav__ologo { margin-bottom: 14px; }
}
.dl-footer__legal a { display: inline-flex; align-items: center; min-height: 24px; padding: 1px 0; box-sizing: border-box; }

/* ------------------------------------------------------------------
   B1-15 One page width (pass 1 S10): Know Your Lake and Fishing use the
   1248 px container (theme.css / fishing.css); the fishing and species
   title box spans the container like the parks box.
   ------------------------------------------------------------------ */
.dl-fishp .dl-fishp__hero.dl-ph--b { max-width: none; padding: 40px 40px 32px; }
@media (max-width: 781px) { .dl-fishp .dl-fishp__hero.dl-ph--b { padding: 24px 20px 20px; } }
@media (max-width: 781px) {
	/* Phones: the same 16 px edge as the other pages (the post content already has its padding). */
	.wp-block-post-content > .dl-wrap.dl-lakedir, .wp-block-post-content > .dl-wrap.dl-fishp { width: 100%; }
}

/* ------------------------------------------------------------------
   B1-16 One image shape per slot (pass 1 S6): cottage, lake and guide
   cards 3:2; region tiles 4:3. Width/height attributes stay.
   ------------------------------------------------------------------ */
.dl-card__media, .dl-guidecard__media, .dl-gx__img, .dl-rcard__media { aspect-ratio: 3 / 2 !important; height: auto !important; }
.dl-card__media, .dl-guidecard__media, .dl-gx__img, .dl-rcard__media, .dl-region__media, .dl-rb__media { overflow: hidden; min-height: 0 !important; }
.dl-gx__img > a { display: block; height: 100%; }
.dl-gx__img img, .dl-guidecard__media img, .dl-card__media img { width: 100%; height: 100% !important; object-fit: cover; }
.dl-rb__media { aspect-ratio: 3 / 2 !important; height: auto !important; min-height: 0 !important; align-self: start; }
.dl-lakedir__list a.dl-lakebg { aspect-ratio: 3 / 2; min-height: 0 !important; }
.dl-region__media { aspect-ratio: 4 / 3 !important; }
@media (max-width: 781px) { .dl-guidecard__media { aspect-ratio: 3 / 2 !important; align-self: flex-start; } }

/* ------------------------------------------------------------------
   B1-17 Focal point (pass 1 S7): default centre-low for every hero and
   tile photo; a lake or region with its own focal value gets an inline
   object-position from DL_Focal (class-dl-focal.php), which wins.
   ------------------------------------------------------------------ */
.dl-lakebg__img, .dl-lakebg--photo .dl-lakebg__img, .dl-region__img, .dl-region__media .dl-region__img, .dl-rb__img, .dl-rcard__media img { object-position: 50% 60%; }

/* ------------------------------------------------------------------
   B1-9 /guides/ hub = Variant B (pass 1 S2, hub part): Mist box, no
   photo; search and filters directly under the title; filters stacked
   on phones.
   ------------------------------------------------------------------ */
.dl-gh__hero.dl-ph--b { min-height: 0; display: block; padding: 40px 40px 32px; isolation: auto; }
.dl-gh__hero.dl-ph--b .dl-gh__in { max-width: none; }
.dl-gh__hero.dl-ph--b .dl-pagetitle { color: var(--dl-navy, #1C2B45) !important; font-size: var(--dl-h1-b) !important; }
.dl-gh__hero.dl-ph--b .dl-lead { color: var(--dl-muted, #4A5468) !important; max-width: 720px; }
.dl-gh__hero.dl-ph--b .dl-gh__search { box-shadow: none; border: 1px solid #C9D6E3; }
.dl-gh__hero.dl-ph--b .dl-gh__search:focus-within { outline: 2px solid #44708F; outline-offset: 2px; }
.dl-gh__hero.dl-ph--b .dl-gh__filters { margin-top: 16px; padding: 16px 18px; }
.dl-gh__hero.dl-ph--b .dl-gh__kyl { color: var(--dl-muted, #4A5468) !important; margin-top: 16px; }
.dl-gh__hero.dl-ph--b .dl-gh__kyl a { color: var(--dl-lake, #44708F); }
@media (max-width: 781px) {
	.dl-gh__hero.dl-ph--b { padding: 24px 20px 20px; }
	.dl-gh__hero.dl-ph--b .dl-gh__filters { flex-direction: column; align-items: stretch; }
	.dl-gh__hero.dl-ph--b .dl-gh__field { flex: 1 1 auto; }
	.dl-gh__hero.dl-ph--b .dl-gh__apply { width: 100%; }
}

/* ------------------------------------------------------------------
   B1-11 Title styles and trails (pass 1 S8).
   A-navy (.dl-ph--navy): /owners/ and /help/ navy boxes inside the
   container with the A radius and padding. /township-rules/: compact B.
   /contact/: C. Listing trail shown on phones as one scrolling line.
   ------------------------------------------------------------------ */
.dl-ph--navy { background: #1C2B45; color: #fff; border-radius: var(--dl-r-hero); }
.dl-ohero-sec { padding: 24px 0 8px; }
.dl-ohero-wrap > .dl-crumbs { margin: 16px 0; }
.dl-ohero-wrap > .dl-ohero.dl-ph--navy { padding: 72px 48px 64px !important; margin: 0 !important; }
.dl-ohero-wrap > .dl-ohero .dl-ohero__inner { width: auto; }
.dl-help__hero.dl-ph--navy { border-radius: var(--dl-r-hero); padding: 48px 48px 40px; }
.dl-help > .dl-crumbs { margin: 0 0 16px; }
@media (max-width: 781px) {
	.dl-ohero-wrap > .dl-ohero.dl-ph--navy { padding: 40px 20px 36px !important; }
	.dl-help__hero.dl-ph--navy { padding: 28px 20px 24px; }
	.dl-ohero-wrap > .dl-crumbs { margin: 12px 0; }
}
.dl-ph--b.dl-ph--compact { padding: 28px 32px 24px; margin: 0 0 32px; }
.dl-ph--b.dl-ph--compact .dl-pagetitle { margin-bottom: var(--dl-gap-h1) !important; }
.dl-ph--b.dl-ph--compact .dl-lead { margin-bottom: 0; }
@media (max-width: 781px) { .dl-ph--b.dl-ph--compact { padding: 20px 16px 18px; margin-bottom: 24px; } }
.dl-crumbs:has(+ .dl-trules__head) { margin: 0 0 16px !important; }
@media (max-width: 781px) { .dl-crumbs:has(+ .dl-trules__head) { margin-bottom: 12px !important; } }
/* /contact/: crumbs then the C title (as on the trust and policy pages). */
main > .dl-crumbs + h1.dl-ph--c { margin-top: 32px; }
main > .dl-crumbs:first-child { margin-top: 0; }
@media (max-width: 781px) { main > .dl-crumbs + h1.dl-ph--c { margin-top: 16px; } }
/* Listing trail on phones: one line that scrolls sideways; the current page is cut with an ellipsis. */
@media (max-width: 781px) {
	.dl-lhead nav.dl-crumbs, .dl-listing nav.dl-crumbs, .single-cottage_listing nav.dl-crumbs { display: block !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.single-cottage_listing nav.dl-crumbs ol { flex-wrap: nowrap; white-space: nowrap; }
	.single-cottage_listing nav.dl-crumbs [aria-current="page"] { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
	.single-cottage_listing nav.dl-crumbs::-webkit-scrollbar { display: none; }
}

/* ------------------------------------------------------------------
   B1-19 Home "Plan your stay" row: four links, menu labels only.
   ------------------------------------------------------------------ */
.dl-sec--plan { padding-top: var(--dl-sec-compact-y); padding-bottom: var(--dl-sec-compact-y); }
.dl-plan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dl-plan__h { margin-bottom: var(--dl-gap-h2) !important; }
.dl-plan__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 16px 20px; box-sizing: border-box; border: 1px solid #DCE4EC; border-radius: var(--dl-r-card); background: #F2F5F8; color: var(--dl-navy, #1C2B45) !important; font-size: 18px; font-weight: 600; text-decoration: none !important; }
.dl-plan__link::after { content: "›"; font-size: 22px; line-height: 1; color: var(--dl-lake, #44708F); }
.dl-plan__link:hover { border-color: #44708F; background: #fff; }
@media (max-width: 781px) { .dl-plan { grid-template-columns: 1fr 1fr; gap: 12px; } .dl-plan__link { min-height: 56px; padding: 12px 16px; font-size: 16px; } }

/* ------------------------------------------------------------------
   B1-20 /trust/ "How it works" strip (the home steps, word for word).
   ------------------------------------------------------------------ */
.dl-doc__how { margin: 8px 0 32px; padding: 24px 28px; border: 1px solid #DCE4EC; border-radius: var(--dl-r-panel); background: #F2F5F8; }
.dl-doc__howh { margin: 0 0 var(--dl-gap-h2) !important; font-family: var(--dl-serif); font-weight: 400; font-size: 26px !important; color: var(--dl-navy, #1C2B45); }
.dl-doc__howsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-doc__howstep { display: flex; gap: 12px; align-items: flex-start; }
.dl-doc__hownum { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: #1C2B45; color: #fff; font-weight: 600; font-size: 15px; }
.dl-doc__howt { margin: 4px 0 6px !important; font-size: 17px !important; font-family: inherit; font-weight: 600; color: var(--dl-navy, #1C2B45); }
.dl-doc__howx { margin: 0 !important; font-size: 15px; color: var(--dl-muted, #4A5468); }
@media (max-width: 781px) { .dl-doc__how { padding: 20px 16px; } .dl-doc__howsteps { grid-template-columns: 1fr; gap: 16px; } }

/* ------------------------------------------------------------------
   B1-23 Guides: topic label on hub cards; "On this page" sticky in the
   left margin of the reading column at 1200 px and wider (it never
   covers the text); closed by default under 782 px (script in
   DL_Render_Guide).
   ------------------------------------------------------------------ */
.dl-gx__topic { padding: var(--dl-card-pad) var(--dl-card-pad) 0 !important; margin: 0 !important; font-size: 13px; font-weight: 600; color: #44708F; }
.dl-gx__topic + .dl-gx__title { padding-top: 4px !important; }
@media (min-width: 1200px) {
	.dl-guidex__body:has(> .dl-jump--guide) { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr); column-gap: 24px; }
	.dl-guidex__body:has(> .dl-jump--guide) > * { grid-column: 2; min-width: 0; }
	.dl-guidex__body > .dl-jump--guide { grid-column: 1; grid-row: 1 / span 999; align-self: start; position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; margin: 0 !important; font-size: 15px; }
	.dl-guidex__body > .dl-jump--guide ul { columns: 1; display: flex; flex-direction: column; gap: 2px; }
	.dl-guidex__body > .dl-jump--guide a { padding: 4px 0; line-height: 1.35; }
}

/* Review fix MF1 (November 28 2026): the listing availability calendar is a
   7-day grid. r-home.css turns .dl-cal__grid into a column for the search
   date picker (rows of .dl-cal__row); the listing calendar has no rows, so
   that rule stacked every day in one column. Scoped to the listing section
   (section.dl-cal), so the search date picker keeps its own layout. */
section.dl-cal .dl-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); flex-direction: initial; gap: 4px; }

/* Review fix SF7 (November 28 2026): sell page and cottages-for-sale title
   boxes use A-navy (navy box inside the container, trail above it, H1 on the
   A scale 52/36), as /owners/. The sell box reuses the /owners/ rules above. */
.dl-sell-hero-sec .dl-ohero__title { font-size: var(--dl-h1-a) !important; line-height: 1.1; }
.dl-fsbo-trail { width: var(--dl-wrap-wide); margin: 16px auto; box-sizing: border-box; }
.dl-fsbo-hero.dl-ph--navy { border-radius: var(--dl-r-hero); }
.dl-fsbo-hero.dl-ph--navy .dl-fsbo-hero__title { font-size: var(--dl-h1-a); }
@media (max-width: 781px) {
	.dl-fsbo-trail { margin: 12px auto; }
}

/* Review fix R2 SHOULD-11 (November 28 2026, WCAG 1.4.10): raw source URLs in
   guide lists ("Ontario Parks, Killbear: https://…") wrap on phones instead of
   pushing the page wider than 390 px. */
.dl-guide-content li, .dl-guide-content p { overflow-wrap: anywhere; }

/* Review fix R1 N5 (November 28 2026): sign-in and owner sign-up titles use
   the H1 -> first line token (16 px desktop, 12 px phone). Their card is a
   flex column with an 18 px gap, so the H1 margin is dropped and the lead
   is pulled up to land on the token. The /trust/ "How it works" heading
   uses the section H2 size. */
main .dl-wiz__title:has(+ .dl-wiz__lead) { margin-bottom: 0 !important; }
.dl-wiz__title + .dl-wiz__lead { margin-top: calc(var(--dl-gap-h1) - 18px) !important; }
.dl-doc__howh { font-size: var(--dl-h2-sec) !important; line-height: 1.18; }

/* Review fix R1 N6: "Report this listing" link is at least 24 px tall. */
.dl-host__report a { display: inline-block; padding: 3px 0; }

/* Pass 3 #76 (November 28 2026): /township-rules/ region groups are
   <details>; the summary row holds the region heading and a chevron, and
   is at least 44 px tall. Closed on phones until tapped (hub script). */
.dl-trules__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.dl-trules__sum::-webkit-details-marker { display: none; }
.dl-trules__sum > h2, .dl-trules__sum > h3 { margin: 0 !important; }
.dl-trules__sum::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 6px 4px 0; transition: transform .15s; }
details[open] > .dl-trules__sum::after { transform: rotate(-135deg); margin-bottom: -4px; }
.dl-trules__group, .dl-qc__group { border-bottom: 1px solid #DCE4EC; padding: 8px 0; }
.dl-trules__group[open] > .dl-trules__sum, .dl-qc__group[open] > .dl-trules__sum { margin-bottom: 16px; }
.dl-qc__hub[hidden], .dl-trules__on[hidden], .dl-trules__group[hidden], .dl-qc__group[hidden], .dl-qc__list li[hidden] { display: none !important; }

/* Review fix R1 N1: the top bar folds away after 200 px of scroll (script in
   functions.php); it opens again for keyboard focus. */
header.dl-header > .dl-topbar { max-height: 80px; transition: max-height .2s ease; }
header.dl-header.dl-header--compact > .dl-topbar { max-height: 0; overflow: hidden; }
header.dl-header.dl-header--compact > .dl-topbar:focus-within { max-height: 80px; overflow: visible; }
@media (prefers-reduced-motion: reduce) { header.dl-header > .dl-topbar { transition: none; } }
