/* ==================================================================
   0.15.29.13 batch 1, part A (UX review follow-up, November 28 2026).
   Loaded last (functions.php), so these rules win over theme.css,
   ux-1127.css and p3.css without editing those files.
   ================================================================== */

/* ------------------------------------------------------------------
   B1-9: Know Your Lake is a search page, so its header is the tinted
   Variant B box (no photo, no water texture). The filters sit right
   under the title. ux-1127.css still sets white text on
   .dl-lakedir__hero for the old photo box, so the B colours are set
   again here (navy H1 on Mist 13.9:1; muted lead 7.6:1; Lake Blue
   eyebrow 4.85:1).
   ------------------------------------------------------------------ */
.dl-lakedir__hero.dl-ph--b {
	color: var(--dl-navy, #1C2B45);
	padding: 34px 40px 27px; /* Review fix R2 NICE-1 (November 28 2026): 363 -> 360 px at 1440. */
	border-radius: var(--dl-r-panel, 18px);
	min-height: 0;
	display: block;
}
.dl-lakedir__hero.dl-ph--b .dl-eyebrow { color: #44708F !important; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.dl-lakedir__hero.dl-ph--b .dl-pagetitle { color: var(--dl-navy, #1C2B45) !important; }
.dl-lakedir__hero.dl-ph--b .dl-lead { color: var(--dl-muted, #4A5468) !important; max-width: 720px; }
/* The search pill sits on a light box: a light shadow and a line. */
.dl-lakedir__hero.dl-ph--b .dl-lakedir__search { margin-top: 16px; }
.dl-lakedir__hero.dl-ph--b .dl-search__pill { border: 1px solid #DCE4EC; box-shadow: 0 1px 2px rgba(28,43,69,.06), 0 8px 24px rgba(28,43,69,.06); }
@media (max-width: 781px) {
	.dl-lakedir__hero.dl-ph--b { padding: 24px 20px 20px; }
}
/* Phones: one select per row, full width, so each value shows in full
   ("Ontario", "All regions and townships", "All lakes"). */
@media (max-width: 600px) {
	.dl-lakedir__search .dl-search__pill { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 12px; gap: 10px; }
	.dl-lakedir__search .dl-search__field { flex: 0 0 auto; width: 100%; }
	.dl-lakedir__search .dl-search__submit { flex: 0 0 auto; width: 100%; }
}

/* ------------------------------------------------------------------
   B1-10: shorter lake photo header. The photo keeps the eyebrow, title,
   place line and credit; the summary is the first line under it. 16:6
   on desktop (at least 400 px tall), at least 360 px on phones. The
   scrim and text colours are unchanged.
   ------------------------------------------------------------------ */
.dl-lakep__hero.dl-lakebg--photo.dl-ph--a { box-sizing: border-box; aspect-ratio: 16 / 6; min-height: 400px; height: auto; }
@media (max-width: 781px) {
	.dl-lakep__hero.dl-lakebg--photo.dl-ph--a { aspect-ratio: auto; min-height: 360px; }
}
.dl-lakep__sum--below { color: var(--dl-navy, #1C2B45); font-size: 18px; line-height: 1.55; max-width: 720px; margin: 0 0 8px; }
@media (max-width: 781px) { .dl-lakep__sum--below { font-size: 17px; } }

/* ------------------------------------------------------------------
   B1-5: fish chips in a listing's "Know your lake" section (the chip
   look comes from fishing.css .dl-fish__chips).
   ------------------------------------------------------------------ */
.dl-lake__fish { margin: 12px 0 14px; }
.dl-lake__fish .dl-lake__label { margin: 0 0 6px; }

/* ------------------------------------------------------------------
   B1-22: the fishing hub link cards reuse the species tile look.
   ------------------------------------------------------------------ */
.dl-fishp__links { margin: 8px 0 24px; }

/* ------------------------------------------------------------------
   N2: Save heart on cottage cards (top right of the photo, 44 px tap
   target) and the "Saved" link and view.
   ------------------------------------------------------------------ */
.dl-card { position: relative; }
.dl-heart {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #1C2B45;
	box-shadow: 0 1px 4px rgba(28,43,69,.25); cursor: pointer; padding: 0;
}
.dl-heart .dl-heart__icon { fill: none; stroke: currentColor; stroke-width: 2; }
.dl-heart[aria-pressed="true"] .dl-heart__icon { fill: #C0392B; stroke: #C0392B; }
.dl-heart:hover { background: #fff; }
.dl-heart:focus-visible { outline: 2px solid #44708F; outline-offset: 2px; }
.dl-saved__entry { margin: 0 0 12px; }
.dl-saved__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.dl-saved__link .dl-heart__icon { fill: #C0392B; stroke: #C0392B; }
.dl-saved { margin: 24px 0 48px; }
.dl-saved__empty { color: var(--dl-muted, #4A5468); font-size: 18px; }

/* ------------------------------------------------------------------
   N3: "About {species}" block under the species page header.
   ------------------------------------------------------------------ */
.dl-fishp__about { max-width: 760px; margin: 8px 0 32px; }
.dl-fishp__about p { font-size: 17px; line-height: 1.6; }
.dl-fishp__about .dl-fishp__about-src { font-size: 14px; }

/* ------------------------------------------------------------------
   B2-1: 4-fact Snapshot strip directly under the listing gallery.
   Each fact shows its source label as text (Owner-reported,
   Document checked, Measured).
   ------------------------------------------------------------------ */
.dl-snapstrip { margin: 16px 0 8px; }
.dl-snapstrip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dl-snapstrip__item { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: start; padding: 12px 14px; background: #F2F5F8; border: 1px solid #DCE4EC; border-radius: 12px; color: var(--dl-navy, #1C2B45); }
.dl-snapstrip__item .dl-icon { grid-row: span 2; color: #44708F; margin-top: 2px; }
.dl-snapstrip__v { font-weight: 600; font-size: 15px; line-height: 1.35; }
.dl-snapstrip__src { font-size: 13px; color: var(--dl-muted, #4A5468); }
.dl-snapstrip__more { margin: 6px 0 0; }
@media (max-width: 781px) {
	.dl-snapstrip { margin: 12px 0 4px; }
	.dl-snapstrip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.dl-snapstrip__item { padding: 10px 12px; }
}

/* ------------------------------------------------------------------
   B2-2: Know Your Lake active-filter pills (buttons, same look as the
   search page pills) and the data chips on lake cards.
   ------------------------------------------------------------------ */
.dl-lakedir button.dl-fpill { font: inherit; font-size: 14px; cursor: pointer; }
.dl-lakedir button.dl-fpills__clear { font: inherit; font-size: 14px; background: none; border: 0; cursor: pointer; }
.dl-lakedir__status + .dl-fpills, .dl-lakedir__bar .dl-fpills { width: 100%; }
.dl-lakebg .dl-lakedir__meta.dl-lakedir__chipsv { display: flex; flex-wrap: wrap; gap: 6px; background: none; padding: 0; margin-top: 8px; border-radius: 0; }
.dl-lakebg .dl-lakedir__chipv { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: rgba(28,43,69,.62); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px 10px; line-height: 1.4; }
@media (min-width: 782px) {
	/* Features and fish share one row of the filter panel where they fit. */
	.dl-lakedir__panel { gap: 10px 20px; }
	.dl-lakedir__panel .dl-lakedir__chip { padding: 0 12px; }
	.dl-lakedir__panel .dl-lakedir__chips { gap: 6px; }
}

/* O5: on desktop too, the lake features, fish and sort sit behind the
   existing "Filters" toggle (as on phones), so the first lake cards stay
   in the first screen. The count, Clear filters and the active-filter
   pills stay visible. */
@media (min-width: 768px) {
	.dl-lakedir__ftoggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #C9D6E3; border-radius: 999px; background: #F4F8FB; color: var(--dl-navy, #1C2B45); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
	.dl-lakedir__panel { display: none; margin-top: 12px; }
	.dl-lakedir__panel.is-open { display: flex; }
}
