/*
 * 0.15.29.12 (UX audit Pass 3, November 27 2026): styles for the outdoor
 * pages' new blocks, kept apart from theme.css so the theme work merges
 * cleanly. Colours are the theme.json palette (navy, lake, mist, line,
 * muted, checked). Loaded after theme.css by functions.php.
 */

/* Lake page: "Rental rules here" (one row per municipality, status chip). */
.dl-lakerules { margin: 2rem 0; }
.dl-lakerules__list { list-style: none; margin: 0 0 .75rem; padding: 0; }
.dl-lakerules__row { padding: .6rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #DCE4EC); display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: baseline; }
.dl-lakerules__chip { display: inline-block; font-size: .8125rem; line-height: 1.3; padding: .15rem .55rem; border-radius: 999px; background: var(--wp--preset--color--mist, #F2F5F8); color: var(--wp--preset--color--navy, #1C2B45); border: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-lakerules__chip--licence, .dl-lakerules__chip--registration, .dl-lakerules__chip--banned, .dl-lakerules__chip--zones { border-color: var(--wp--preset--color--lake, #44708F); }
.dl-lakerules__chip--unconfirmed, .dl-lakerules__chip--waiting { color: var(--wp--preset--color--muted, #4A5468); }

/* Park guide: "Park facts and drive times" card under the lead. */
.dl-guide-park { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; background: var(--wp--preset--color--mist, #F2F5F8); border-left: 4px solid var(--wp--preset--color--lake, #44708F); border-radius: 6px; }
.dl-guide-park .dl-h3 { margin: 0 0 .5rem; }
.dl-guide-park__list { list-style: none; margin: 0; padding: 0; }
.dl-guide-park__item + .dl-guide-park__item { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-guide-park__name { margin: 0 0 .25rem; font-weight: 600; }
.dl-guide-park__line, .dl-guide-park__more { margin: .2rem 0; }

/* Guide lead with no photo of its own place: the Mist and loon slot
   (Pass 1 media rule; never another place's lake photo). */
.wp-block-post-featured-image.dl-mistslot { aspect-ratio: auto !important; height: 180px; }
.wp-block-post-featured-image.dl-mistslot img.dl-mistslot__mark { width: 96px !important; height: 96px !important; object-fit: contain; border-radius: 0; }
.dl-mistslot { display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--mist, #F2F5F8); border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 8px; min-height: 160px; overflow: hidden; }
.dl-mistslot__mark { width: 96px; height: 96px; opacity: .35; }
@media (max-width: 600px) { .wp-block-post-featured-image.dl-mistslot { height: 120px; } .wp-block-post-featured-image.dl-mistslot img.dl-mistslot__mark { width: 64px !important; height: 64px !important; } }

/* Answer block (one short paragraph built from data, under the H1 area). */
.dl-answer { max-width: 46rem; margin: 1.25rem 0 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--wp--preset--color--navy, #1C2B45); }

/* Lake page quick-facts strip. */
.dl-qfacts { margin: 0 0 1rem; }
.dl-qfacts__list { list-style: none; margin: 0 0 .35rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dl-qfacts__list li { background: var(--wp--preset--color--mist, #F2F5F8); border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 6px; padding: .35rem .7rem; font-size: .9375rem; }
.dl-qfacts__k { color: var(--wp--preset--color--muted, #4A5468); }
.dl-qfacts__v { font-weight: 600; color: var(--wp--preset--color--navy, #1C2B45); }

/* "On this page" jump links (lake pages, long guides, species pages). */
.dl-jump { margin: .5rem 0 1.5rem; padding: .75rem 1rem; border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 6px; background: #fff; }
.dl-jump__h { margin: 0 0 .35rem; font-weight: 600; font-size: .9375rem; }
.dl-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.dl-jump a { display: inline-block; padding: .2rem 0; }
@media (max-width: 600px) { .dl-jump ul { flex-direction: column; } }
.dl-checkline { font-size: .875rem; color: var(--wp--preset--color--muted, #4A5468); margin: .25rem 0 1rem; }
.dl-jump details > summary { cursor: pointer; list-style-position: outside; }
.dl-jump--guide ul { margin-top: .4rem; }
@media (min-width: 1100px) { .dl-jump--guide ul { columns: 2; display: block; } .dl-jump--guide li { break-inside: avoid; } }

/* Species pages: region groups as <details> (first open). */
.dl-fishp__group > summary { cursor: pointer; list-style: none; padding: .5rem 0; border-bottom: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fishp__group > summary::-webkit-details-marker { display: none; }
.dl-fishp__group > summary .dl-h2 { display: inline; margin: 0; }
.dl-fishp__group > summary::after { content: "+"; float: right; font-size: 1.5rem; line-height: 1; color: var(--wp--preset--color--lake, #44708F); }
.dl-fishp__group[open] > summary::after { content: "–"; }
.dl-fishp__group > summary:focus-visible { outline: 2px solid var(--wp--preset--color--lake, #44708F); outline-offset: 2px; }
.dl-fishp__gcount { font-size: 1rem; font-weight: 400; color: var(--wp--preset--color--muted, #4A5468); }
.dl-fishp__more-sec { margin: 2rem 0; }

/* Region and area pages: title on the Pass 1 scale (Variant B, 44 px
   desktop / 32 px phone) instead of 72 px. */
.dl-place__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); line-height: 1.15; }

/* Lake hero place line: municipality links stay readable on the photo. */
.dl-lakep__hero .dl-lead a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dl-lakep__hero .dl-lead a:hover, .dl-lakep__hero .dl-lead a:focus-visible { text-decoration-thickness: 2px; }
