/* New Captain Pete round 1: the reports area's own styles (one file per area, so slices never edit the same line).
   The three latest reports (Home and /fish-reports), the report list, one report and the fish counts.
   On the old site these were iframes of fishreports.com and fishcounts.com pages, each laid out for the width of its own
   frame (Bootstrap 3, 14 px Open Sans; the report page Roboto). The rules below reproduce those pages' measured look
   (read live 2026-11-18 at frame widths 930 and 360; their css is css/layout_styles.css, style-dev.css and
   newcaptainpete.css on fishreports.com). Their breakpoint (768 px) was the frame's width, not the screen's, so it is a
   container query on .ncpr (the frame), not a media query. The old class names are kept, scoped under .ncpr. */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');

/* ---- the frame: an inline-block 100% wide that sits on the text line as the old iframe did (so the same few pixels
   of line below it), clipped to its own box ---- */
.ncpr { display: inline-block; vertical-align: baseline; width: 100%; overflow: hidden; container-type: inline-size;
  font: 400 14px/1.42857143 "Open Sans", sans-serif; color: #333333; text-align: left; letter-spacing: normal; text-transform: none; }
.ncpr * { box-sizing: border-box; }
.ncpr a { display: inline; color: #337ab7; text-decoration: none; }
.ncpr a:hover, .ncpr a:focus { color: #23527c; text-decoration: underline; }
.ncpr strong { font-weight: 700; }
.ncpr img { vertical-align: middle; }
.ncpr .text-center { text-align: center; }

/* ---- the latest reports (old .feature-wrapper cards: 3 across in a frame 768 px or wider, stacked below) ---- */
.ncpr-features { padding-top: 20px; } /* the <br> the embed opened with */
.ncpr-cols { display: block; }
.ncpr-features .feature-col { display: flow-root; padding: 0 15px; margin: 0 0 20px; } /* floated in the old page: it holds its card's margin */
.ncpr-features .feature-wrapper { padding: 15px 5px; margin: 0 0 10px; background: rgba(255, 255, 255, .5); }
.ncpr-features .feature-col:last-child .feature-wrapper { margin-bottom: 0; }
.ncpr-features h3.feature-title { margin: 0 0 10px; height: 1.5em; overflow: visible; font: 500 18px/1.1 "Open Sans", sans-serif;
  text-align: center; text-transform: none; letter-spacing: normal; color: #0c3454; }
.ncpr .feature-link { display: block; }
.ncpr .feature-link:hover { text-decoration: none; }
.ncpr .feature-img { height: 300px; background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; border-radius: 5px; }
.ncpr .feature-author { height: 1.33em; overflow: hidden; margin: 3px 0 8px; }
.ncpr .feature-teaser { height: 3em; overflow: hidden; }
.ncpr .feature-more { height: 1.33em; overflow: hidden; margin: 2px 0 0; }
@container (min-width: 768px) {
  .ncpr-cols { display: flex; align-items: flex-start; }
  .ncpr-features .feature-col { flex: 0 0 33.33333333%; max-width: 33.33333333%; }
}

/* ---- the tables (old .scale-table: the report list and the fish counts) ---- */
.ncpr-list, .ncpr-counts { padding-left: 15px; padding-right: 15px; }
.ncpr-list { padding-top: 20px; }
.ncpr .scale-table { display: table; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; background: none; }
.ncpr .scale-table td { vertical-align: top; }
.ncpr .scale-title { padding: 6px 0 6px 10px; font: 700 24px/1.42857143 "Open Sans", sans-serif; color: #ffffff; background: #0c3454;
  text-align: center; text-transform: uppercase; border: 1px solid #666666; border-bottom-width: 0; border-radius: 0; }
.ncpr-list .scale-title { font-family: Roboto, sans-serif; text-shadow: 2px 2px 2px rgb(3, 3, 3); }
.ncpr .scale-head { padding: 5px; background: #333333; font: 700 14px/20px "Open Sans", sans-serif; color: #ffffff; text-align: center;
  border-top: 2px solid #666666; }
.ncpr .scale-head a, .ncpr .scale-head a:hover { color: #ffffff; }
.ncpr .scale-data { padding: 5px; background-color: rgba(255, 255, 255, .7); font: 400 17px/1.42857143 "EB Garamond", serif; color: #000000;
  text-align: center; border-top: 1px solid #666666; }
.ncpr .scale-data:first-child { border-left: 1px solid #666666; }
.ncpr .scale-data:nth-child(2) { border-left: 1px solid #666666; }
.ncpr .scale-data:last-child { border-right: 1px solid #333333; }
.ncpr .scale-foot { padding: 5px 0 5px 10px; background: #333333; font: 400 12px/1.42857143 "Open Sans", sans-serif; color: #0066cc;
  text-align: center; border-top: 2px solid #999999; border-right: 1px solid #666666; border-bottom: 1px solid #666666;
  border-left: 1px solid #666666; border-radius: 0; }
.ncpr .fish-report-date { vertical-align: top; }
.ncpr .audio_count { color: #333333; }
/* a row inside a cell: stacked in a frame under 768 px, in columns of 8/2/2 (list) or 2/4/4/2 (counts) from there */
.ncpr-row { margin: 0 -15px; }
.ncpr-row > div { padding: 0 15px; min-height: 1px; }
@container (min-width: 768px) {
  .ncpr-row { display: flex; align-items: flex-start; }
  .ncpr-row > .col-sm-8 { flex: 0 0 66.66666667%; max-width: 66.66666667%; }
  .ncpr-row > .col-sm-4 { flex: 0 0 33.33333333%; max-width: 33.33333333%; }
  .ncpr-row > .col-sm-2 { flex: 0 0 16.66666667%; max-width: 16.66666667%; }
}

/* ---- one report (old #detailed_report panel: 10/12 of the frame from 768 px, the whole frame below; the page is
   Roboto, on white at 70%) ---- */
.ncpr-detail { padding: 20px 0 0; background: rgba(255, 255, 255, .7); font-family: Roboto, sans-serif; }
.ncpr-detail .panel { margin: 0 0 20px; padding: 0 15px; border: 1px solid transparent; border-radius: 4px; background: rgba(255, 255, 255, .7);
  box-shadow: 1px 2px 5px rgba(6, 6, 6, .4); }
.ncpr-detail .panel h3 { margin: 20px 0 10px; font: 500 24px/1.1 Roboto, sans-serif; text-align: center; text-transform: none; letter-spacing: normal; color: #333333; }
.ncpr-detail .panel p { margin: 0 0 10px; font-size: 14px; line-height: 1.42857143; color: #333333; }
.ncpr-detail .report_primary_img img { display: block; max-width: 100%; max-height: 500px; height: auto; margin: 0 auto 10px; border-radius: 5px; }
.ncpr-detail .report_title_data, .ncpr-detail .report_descript_data { display: flow-root; margin: 0 -15px; padding: 0 15px; } /* the old col-xs-12 in a row */
.ncpr-detail .report_title_data { text-align: center; }
.ncpr-detail .report_audio_data audio { display: block; width: 100%; max-width: 460px; margin: 0 auto 10px; }
.ncpr-detail .report_descript_data { text-align: left; }
.ncpr-detail .report_descript_data img { max-width: 100%; height: auto; }
@container (min-width: 768px) {
  .ncpr-detail .panel { width: 83.33333333%; margin-left: 8.33333333%; }
}

/* the counts page was a different Bootstrap build (Bootswatch 3.3.5): 16 px text, links #4582ec */
.ncpr-counts { font-size: 16px; line-height: 1.42857143; }
.ncpr-counts a { color: #4582ec; }
.ncpr-counts a:hover, .ncpr-counts a:focus { color: #4582ec; }

/* ---- the NorCalFishReports.com logo under the counts (old div, max 474 px) ---- */
.ncpr-norcal { max-width: 474px; margin: 15px auto 25px; }
.ncpr-norcal img { display: block; width: 100%; height: auto; margin: 0 auto; }
/* The report's trip photos, as the old embed drew them: one bordered photo per row at the text's full width, 30 px apart. */
.ncpr-detail photo { display: block; margin: 10px 0; }
.ncpr-detail .photo2wrapper { margin-bottom: 30px; }
.ncpr-detail .photo2wrapper img { display: block; max-width: 100%; height: auto; margin: 5px auto; border-radius: 0; }
