/*
 * Fishing (0.15.29.8+): "Fishing on {Lake}" on lake pages, the owner
 * "Fishing & boats" section on cottage pages and in the owner forms, and
 * the /fishing/ hub and species pages. Brand: navy headings, Lake Blue
 * links, white and Mist cards, gold never a button, text contrast 4.5:1+.
 * The block reads like a field ledger: a label column and a value column,
 * hairline rows, the species as quiet chips.
 */

/* Lake page block ------------------------------------------------------- */
.dl-fish { margin: 28px 0; padding: 22px 24px 18px; background: var(--wp--preset--color--mist, #F2F5F8); border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 14px; scroll-margin-top: 96px; }
.dl-fish__head { display: flex; align-items: center; gap: 10px; color: var(--wp--preset--color--lake, #44708F); }
.dl-fish__head .dl-h2 { margin: 0; color: var(--wp--preset--color--navy, #1C2B45); }
.dl-fish__icon { flex: 0 0 auto; }
.dl-fish__rows { margin: 14px 0 0; }
.dl-fish__row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fish__row:first-child { border-top: 0; }
.dl-fish__row dt { font-weight: 600; color: var(--wp--preset--color--navy, #1C2B45); }
.dl-fish__row dd { margin: 0; min-width: 0; }
.dl-fish__row dd p { margin: 0 0 4px; }
.dl-fish__chips { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dl-fish__chips li { background: #fff; border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 999px; padding: 3px 11px; font-size: 14px; line-height: 1.5; }
.dl-fish__chips a { color: var(--wp--preset--color--lake, #44708F); font-weight: 600; text-underline-offset: 2px; }
.dl-fish__note { font-size: 14px; color: var(--wp--preset--color--muted, #4A5468); }
.dl-fish__tips { list-style: none; margin: 0; padding: 0; }
.dl-fish__tips li { margin: 0 0 8px; }
.dl-fish__tips q { font-style: italic; }
.dl-fish__before { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fish__h3 { font-size: 17px; margin: 0 0 6px; color: var(--wp--preset--color--navy, #1C2B45); }
.dl-fish__before ul { margin: 0; padding-left: 20px; }
.dl-fish__before li { margin: 4px 0; }
.dl-fish__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 10px; }
.dl-fish__hub { font-weight: 600; }
.dl-fish__ogl { margin-top: 4px; }
@media (max-width: 640px) {
	.dl-fish { padding: 18px 16px 14px; margin: 22px 0; }
	.dl-fish__row { grid-template-columns: 1fr; }
	.dl-fish__cta .dl-btn { width: 100%; justify-content: center; text-align: center; }
}

/* Listing: Fishing & boats ---------------------------------------------- */
.dl-fishboat { margin-top: 24px; }
.dl-fishboat__tc { margin: 6px 0 0; color: var(--wp--preset--color--muted, #4A5468); }
.dl-fishboat .dl-fish__icon { color: var(--wp--preset--color--lake, #44708F); margin-top: 2px; }
.dl-lake__fishlink { margin-left: 12px; font-weight: 600; }

/* Owner forms ---------------------------------------------------------- */
.dl-fishform { display: grid; gap: 4px; }
.dl-fishform__f { padding: 12px 0; border-top: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fishform__f:first-child { border-top: 0; padding-top: 0; }

/* Hub and species pages ------------------------------------------------- */
/* Same width rule as the Know Your Lake directory (theme.css 1025-1029). */
/* 0.15.29.13 (B1-15): 1248 px like the rest of the site (was 1200). */
.dl-wrap.dl-fishp { max-width: 1248px; }
.is-layout-constrained > .dl-wrap.dl-fishp { max-width: 1248px !important; }
.wp-block-post-content:has(> .dl-fishp) { max-width: none !important; }
.wp-block-post-content > .dl-wrap.dl-fishp { width: min(1248px, calc(100% - 32px)); max-width: 1248px !important; }
.dl-fishp { padding-top: 8px; padding-bottom: 48px; }
.dl-fishp__hero { padding: 8px 0 12px; max-width: 760px; }
.dl-fishp__hero .dl-pagetitle { margin: 6px 0 10px; }
.dl-fishp__count { color: var(--wp--preset--color--muted, #4A5468); margin: 0; }
.dl-fishp__rules { background: #fff; border-left: 3px solid var(--wp--preset--color--lake, #44708F); padding: 10px 14px; margin: 14px 0; max-width: 760px; }
.dl-fishp__species { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dl-fishp__species a { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--wp--preset--color--mist, #F2F5F8); border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 12px; text-decoration: none; color: var(--wp--preset--color--navy, #1C2B45); min-height: 44px; }
.dl-fishp__species a:hover, .dl-fishp__species a:focus-visible { border-color: var(--wp--preset--color--lake, #44708F); }
.dl-fishp__sname { font-family: var(--wp--preset--font-family--dm-serif-display, serif); font-size: 22px; line-height: 1.2; }
.dl-fishp__scount { color: var(--wp--preset--color--muted, #4A5468); font-size: 14px; }
.dl-fishp__search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.dl-fishp__before { margin: 28px 0; padding: 18px 20px; background: var(--wp--preset--color--mist, #F2F5F8); border-radius: 12px; border-top: 0; }
.dl-fishp__cta { margin: 18px 0; padding: 18px 20px; background: var(--wp--preset--color--mist, #F2F5F8); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dl-fishp__cta p { margin: 0; font-weight: 600; color: var(--wp--preset--color--navy, #1C2B45); }
.dl-fishp__regions { position: sticky; top: 0; z-index: 2; background: #fff; padding: 10px 0; margin: 18px 0 4px; border-bottom: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fishp__regions ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.dl-fishp__regions a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 40px; padding: 6px 14px; border: 1px solid var(--wp--preset--color--line, #DCE4EC); border-radius: 999px; text-decoration: none; color: var(--wp--preset--color--navy, #1C2B45); font-size: 15px; }
.dl-fishp__regions a span { color: var(--wp--preset--color--muted, #4A5468); font-size: 13px; }
.dl-fishp__regions a[aria-current="true"] { background: var(--wp--preset--color--navy, #1C2B45); border-color: var(--wp--preset--color--navy, #1C2B45); color: #fff; }
.dl-fishp__regions a[aria-current="true"] span { color: var(--wp--preset--color--shallows, #8CB3D0); }
.dl-fishp__group { margin: 22px 0 6px; scroll-margin-top: 72px; }
.dl-fishp__group .dl-h2 { display: flex; align-items: baseline; gap: 10px; }
.dl-fishp__gcount { font-family: var(--wp--preset--font-family--instrument-sans, sans-serif); font-size: 15px; color: var(--wp--preset--color--muted, #4A5468); }
.dl-fishp__lakes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.dl-fishp__lakes li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--wp--preset--color--line, #DCE4EC); }
.dl-fishp__lake { font-weight: 600; font-size: 17px; }
.dl-fishp__meta, .dl-fishp__also { font-size: 14px; color: var(--wp--preset--color--muted, #4A5468); }
.dl-fishp__cottages { margin: 20px 0; }
@media (min-width: 1100px) { .dl-fishp__cottages .dl-grid--results { grid-template-columns: repeat(3, 1fr); } }
.dl-fishp__more { margin: 10px 0 0; font-weight: 600; }
.dl-fishp__tagged { margin: 20px 0; }
@media (max-width: 640px) {
	.dl-fishp__cta .dl-btn { width: 100%; text-align: center; justify-content: center; }
	.dl-fishp__sname { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
	.dl-fishp__species a { transition: border-color .15s ease; }
}
@media (max-width: 640px) { .dl-fishform .dl-form-grid--3 { grid-template-columns: 1fr; } }
