/* Lovely Martha round 1: the reports area (/fish-reports, /fish-report/N, /fish-counts and the home page's four latest
   report cards). Loaded after lm-theme.css (includes/header.php).
   The cards are the old site's own markup (main.css .article, bootstrap 4). The list, a report and the counts were iframes
   of fishreports.com and fishcounts.com pages, each laid out for the width of its own frame (Bootstrap 3). The rules
   below reproduce those pages' measured look. Their breakpoints (768, 992, 1200 px) were the frame's width, not the
   screen's, so they are container queries on .lmr (the frame), not media queries. */
@import url('https://fonts.googleapis.com/css?family=Montserrat');

/* ---- the page title: the old h2.text-md-white.text-center (the theme's h2 gives the sizes: 48/38/24 px) ---- */
.lmr-title { text-align: center; color: #00559b; }
@media (min-width: 768px) { .lmr-title { color: #ffffff; } }

/* ---- the report cards (old section.article-area, article.col-lg-3.col-md-6, .article) ---- */
.lmr-cards { padding: 0 20px; margin: 0 0 50px; text-align: left; }
@media (min-width: 992px) { .lmr-cards { padding: 0 35px; } }
@media (min-width: 1200px) { .lmr-cards { margin-bottom: 120px; } }
.lmr-cards-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.lmr-card-wrap { display: flex; flex-flow: row wrap; flex: 0 0 100%; max-width: 100%; padding: 0 15px; margin: 0 0 30px; }
@media (min-width: 768px) { .lmr-card-wrap { flex-basis: 50%; max-width: 50%; } }
@media (min-width: 992px) { .lmr-card-wrap { flex-basis: 25%; max-width: 25%; margin-bottom: 0; } }
.lmr-card { display: flex; flex-flow: column nowrap; width: 100%; font-family: "helvetica", Arial, Helvetica, sans-serif; line-height: 14px; box-shadow: 0 0 28px 0 rgba(0, 0, 0, .2); }
.lmr-card-image { width: 100%; flex-shrink: 0; }
.lmr-card-image img { display: block; width: 100%; max-width: 100%; height: auto; vertical-align: middle; }
.lmr-card-desc { display: flex; flex-flow: column nowrap; flex-grow: 1; width: 100%; padding: 20px; font-size: 12px; }
@media (min-width: 1200px) { .lmr-card-desc { padding: 25px 30px 20px 45px; } }
.lmr-card-holder { flex-grow: 1; width: 100%; }
.lmr-card-title { margin: 0 0 .5rem; font-family: "helvetica", Arial, Helvetica, sans-serif; font-size: .875rem; font-weight: 700; line-height: 1.125rem; color: #343a40; }
@media (min-width: 1200px) { .lmr-card-title { font-size: 1.125rem; line-height: 1.1; } }
.lmr-card-date { display: block; font-size: .875rem; font-weight: 900; line-height: 1.125rem; }
.lmr-card p { margin: 0 0 15px; font-size: 12px; line-height: 14px; }
.lmr-card-more { flex-shrink: 0; width: 100%; font-size: 1.125rem; font-weight: 600; line-height: 1.375rem; }

/* ---- the two red buttons under the cards (old div.text-center, .btn.m-1) ---- */
.lmr-buttons { text-align: center; }
.lmr-buttons .btn-lm-red { margin: 10px; }

/* ---- the frame: what the old iframe's page looked like (container-type: its width is the old iframe's width) ---- */
.lmr { container-type: inline-size; padding-top: 20px; font: 14px/1.42857143 Montserrat, sans-serif; color: #333333; text-align: left; letter-spacing: normal; }
.lmr * { box-sizing: border-box; }
.lmr.lmr-counts { padding-top: 0; font-family: Georgia, "Times New Roman", Times, serif; font-size: 16px; }
.lmr.lmr-detail { font-family: Arial, Helvetica, sans-serif; }
.lmr a { color: #337ab7; text-decoration: none; }
.lmr a:hover { color: #23527c; text-decoration: underline; }
/* the line under a frame, as the old iframe sat on its line (5 px) before the next thing */
.lmr-after-frame { height: 5px; }
.lmr-gap { height: 25px; }

/* ---- the tables (old .scale-table: the report list and the fish counts) ---- */
.lmr .scale-table { border-collapse: separate; border-spacing: 0; width: calc(100% - 30px); margin: 0 15px; }
.lmr .scale-title { padding: 6px 0 6px 10px; font: 400 24px/1.42857143 Montserrat, sans-serif; color: #ffffff; background: #116cb3; text-align: center; border-style: solid; border-color: #333333; border-width: 1px 1px 0 1px; border-radius: 0; text-shadow: none; }
.lmr-list .scale-title { font-weight: 700; }
.lmr .scale-head { padding: 5px; background: #333333; font: 700 14px/1.42857143 Montserrat, sans-serif; color: #ffffff; text-align: center; border-top: 2px solid #222222; }
.lmr .scale-data { padding: 5px; background-color: rgba(255, 255, 255, .7); font: 400 13px/1.42857143 Montserrat, sans-serif; color: #000000; text-align: center; border-top: 1px solid #333333; vertical-align: top; }
.lmr .scale-data:first-child { border-left: 1px solid #333333; }
.lmr-list .scale-data:first-child { border-right: 1px solid #333333; }
.lmr .scale-data:nth-child(2) { border-left: 1px solid #333333; }
.lmr .scale-data:last-child { border-right: 1px solid #333333; }
.lmr .scale-foot { padding: 5px 0 5px 10px; text-align: center; background: #333333; font: 400 12px/1.42857143 Montserrat, sans-serif; color: #0066cc; border-style: solid; border-color: #666666; border-width: 0 1px 1px 1px; border-top: 2px solid #999999; border-radius: 0; }
.lmr .scale-head a, .lmr .scale-head a:hover { color: #ffffff; }
.lmr .scale-data strong { font-weight: 700; }
.lmr .bi-volume-up-fill { font-size: 14px; }
/* the report list's table has no margin below it; the counts table is 10/12 of the frame from 992 px (old col-md-10.col-md-offset-1) */
@container (min-width: 992px) {
  .lmr-counts .scale-table { width: calc(83.33333333% - 30px); margin-left: calc(8.33333333% + 15px); }
}
/* 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 */
.lmr-cols { margin: 0 -15px; }
.lmr-cols > div { padding: 0 15px; min-height: 1px; }
@container (min-width: 768px) {
  .lmr-cols { display: flex; }
  .lmr-c8 { flex: 0 0 66.66666667%; max-width: 66.66666667%; }
  .lmr-c4 { flex: 0 0 33.33333333%; max-width: 33.33333333%; }
  .lmr-c2 { flex: 0 0 16.66666667%; max-width: 16.66666667%; }
}

/* ---- one report (old #detailed_report panel, class col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2
   col-lg-6 col-lg-offset-3: 10/12 of the frame from 768 px, 8/12 from 992, 6/12 from 1200) ---- */
.lmr-report { display: flow-root; margin: 0 0 20px; padding: 0 15px; background: #ffffff; border: 1px solid transparent; box-shadow: 1px 2px 5px rgba(6, 6, 6, .4); border-radius: 0; }
.lmr-report h3 { margin: 20px 0 10px; font: 500 24px/1.1 Arial, Helvetica, sans-serif; text-align: center; color: inherit; }
.lmr-report p { margin: 0 0 10px; }
.lmr-report .report_primary_img img { display: block; max-width: 100%; max-height: 400px; height: auto; margin: 0 auto 10px; border-radius: 5px; vertical-align: middle; }
.lmr-report .report_title_data { text-align: center; }
.lmr-report .report_audio_data audio { display: block; width: 100%; max-width: 460px; margin: 0 auto 10px; }
.lmr-report .report_descript_data { text-align: left; }
.lmr-report .report_descript_data img { max-width: 100%; height: auto; }
.lmr-report photo { display: block; text-align: center; margin: 10px 0; }
.lmr-report .photo2wrapper { margin: 0 0 30px; font-size: 14px; }
.lmr-report .photo2wrapper img { margin: 5px 0; border-radius: 0; vertical-align: middle; }
.lmr-report .photo2comments { text-align: center; }
.lmr-report .photo2comments.fish-species { font-weight: 400; }
/* Combine 2026-11-18: the old embed's text is #333 and its links (the species line) Bootstrap 3 blue #337ab7. */
.lmr-detail { color: #333333; }
.lmr-detail a, .lmr-detail .photo2comments.fish-species a { color: #337ab7; }
.lmr-detail a:hover, .lmr-detail a:focus, .lmr-detail .photo2comments a:hover { color: #23527c; }
/* The embeds are Bootstrap 3 pages: b/strong there are 700, not the old site's own 900. */
.lmr b, .lmr strong { font-weight: 700; }
/* the old page kept its (script-hidden) trip-photo gallery's empty box here: 21 px */
.lmr-photo-gallery { height: 21px; }
@container (min-width: 768px) { .lmr-detail .lmr-report { width: 83.33333333%; margin-left: 8.33333333%; } }
@container (min-width: 992px) { .lmr-detail .lmr-report { width: 66.66666667%; margin-left: 16.66666667%; } }
@container (min-width: 1200px) { .lmr-detail .lmr-report { width: 50%; margin-left: 25%; } }
.lmr-back { text-align: center; }

/* ---- the NorCalFishReports.com box under the counts (old div.m-1.p-3.border.border-primary.rounded; the old "rounded"
   gave no radius: measured 0 px) ---- */
.lmr-norcal { margin: 10px; padding: 30px; background: #ffffff; border: 1px solid #00559b; border-radius: 0; }
.lmr-norcal-text { text-align: center; }
.lmr-norcal img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* The base's section { overflow: clip } cut off the cards' 28 px shadow where the cards end the section (992 px and up,
   home and Fish Reports): the old section does not clip, so the shading shows under the cards (Henry 2026-11-18). */
.lmr-cards { overflow: visible; }
