/* Hog Heaven round 1: the reports area (/fish-reports, /fish-report/N, /fish-counts and the home page's three latest
   reports). Loaded after hh-theme.css (includes/header.php).
   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 Arial). The rules below reproduce those pages' measured look. Their breakpoint (768 px)
   was the frame's width, not the screen's, so it is a container query on .hhr (the frame), not a media query. */

/* ---- the page: the green band inside the white panel, as the old section.white-top.article-holder.bg-info ---- */
.hhr-panel { padding: 0; }
.hhr-band { position: relative; background: #23634e url("../img/hh/reports/white-top.png") repeat-x top; padding: 0 15px 20px; }
@media (min-width: 992px) { .hhr-band { padding-left: 40px; padding-right: 40px; } }
.hhr-h1 { margin: 0 0 20px; text-align: center; }
@media (min-width: 768px) { .hhr-h1 { margin-bottom: 35px; } }
.hhr-h1.hhr-h1-report { margin-bottom: 8px; }
/* the two <br> the old page had between a frame and what follows (a frame sits on the line, so a little over a line) */
.hhr-gap { height: 31px; }
@media (min-width: 1060px) { .hhr-gap { height: 29px; } }

/* ---- the frame ---- */
.hhr { container-type: inline-size; padding-top: 20px; font: 14px/1.42857143 Arial, Helvetica, sans-serif; color: #333333; text-align: left; letter-spacing: normal; }
.hhr * { box-sizing: border-box; }
.hhr .scale-table a, .hhr .report_descript_data a { color: #337ab7; text-decoration: none; }
.hhr .scale-table a:hover, .hhr .report_descript_data a:hover { color: #23527c; text-decoration: underline; }

/* ---- the latest reports (old .feature-wrapper cards, 3 across in a frame 768 px or wider) ---- */
.hhr-features { display: block; }
.hhr-col { padding: 0 15px; margin-bottom: 20px; }
.hhr-card { padding: 15px; margin-bottom: 10px; border-radius: 10px; text-align: center; color: #ffffff; background: none; }
.hhr-col:last-child .hhr-card { margin-bottom: 0; }
.hhr-card > a { display: inline; }
.hhr-card img { display: block; margin: 0 auto; padding: 0; border: 0; max-width: 100%; max-height: 300px; height: auto; background-color: #ffffff; vertical-align: middle; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }
.hhr-card-text { color: #ffffff; }
.hhr-title { margin: 0 0 10px; height: 1.5em; overflow: visible; font: 700 18px/1.1 Arial, Helvetica, sans-serif; text-align: center; color: inherit; }
.hhr-date { margin: 18px 0 8px; height: 1.33em; overflow: hidden; font-weight: 700; }
.hhr-teaser { height: 3em; overflow: hidden; line-height: 1.5em; }
.hhr-more { height: 36px; text-align: center; }
.hhr-more .btn-hh-navy { width: 161px; padding-left: 0; padding-right: 0; } /* the old button picture was 161 x 36 */
@container (min-width: 768px) {
  .hhr-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}

/* ---- the tables (old .scale-table: the report list and the fish counts) ---- */
.hhr .scale-table { border-collapse: separate; border-spacing: 0; width: calc(100% - 30px); margin: 0 15px 30px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); border: 1px solid #333333; border-radius: 0; }
.hhr .scale-title { padding: 6px 0 14px 10px; font: 700 20px/1.42857143 Arial, Helvetica, sans-serif; color: #ffffff; background: #0c1b3c; text-align: center; border: 0; }
.hhr .scale-title span { font-size: 20px; }
.hhr .scale-head { padding: 5px; background: #1685d5; font: 700 14px/1.42857143 Arial, Helvetica, sans-serif; color: #ffffff; text-align: center; border-top: 1px solid #000000; }
.hhr .scale-data { padding: 5px; background-color: #ffffff; font: 400 13px/1.42857143 Arial, Helvetica, sans-serif; color: #000000; text-align: center; border-top: 1px solid #333333; vertical-align: top; }
.hhr .scale-data:first-child { border-left: 1px solid #333333; }
.hhr .scale-data:nth-child(2) { border-left: 1px solid #333333; }
.hhr .scale-data:last-child { border-right: 1px solid #333333; }
.hhr .scale-foot { padding: 5px 0 5px 10px; text-align: center; background: #0c1b3c; font: 400 12px/1.42857143 Arial, Helvetica, sans-serif; color: #ffffff; border: 0; }
.hhr .scale-foot a, .hhr .scale-foot a:hover, .hhr .scale-head a { color: #ffffff; }
.hhr .scale-data strong { font-weight: 700; }
.hhr .fish-report-date { vertical-align: top; }
/* 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 */
.hhr-cols { margin: 0 -15px; }
.hhr-cols > div { padding: 0 15px; min-height: 1px; }
.hhr .bi-volume-up-fill { font-size: 14px; }
@container (min-width: 768px) {
  .hhr-cols { display: flex; }
  .hhr-c8 { flex: 0 0 66.66666667%; max-width: 66.66666667%; }
  .hhr-c4 { flex: 0 0 33.33333333%; max-width: 33.33333333%; }
  .hhr-c2 { flex: 0 0 16.66666667%; max-width: 16.66666667%; }
  .hhr .fcdata { text-align: left; }
}

/* ---- one report (old #detailed_report panel: 10/12 of the frame from 768 px, the whole frame below) ---- */
.hhr-report { display: flow-root; margin: 0 0 20px; padding: 0 15px; background: #ffffff; box-shadow: 1px 2px 5px rgba(6, 6, 6, .4); border-radius: 0; }
.hhr-report h3 { margin: 20px 0 10px; font: 500 24px/1.1 Arial, Helvetica, sans-serif; text-align: center; color: inherit; }
.hhr-report p { margin: 0 0 10px; }
.hhr-report .report_primary_img img { display: block; max-width: 100%; max-height: 400px; height: auto; margin: 0 auto 10px; border-radius: 5px; }
.hhr-report .report_title_data { text-align: center; }
.hhr-report .report_audio_data audio { display: block; width: 100%; max-width: 460px; margin: 0 auto 10px; }
.hhr-report .report_descript_data { text-align: left; }
.hhr-report .report_descript_data img { max-width: 100%; height: auto; }
.hhr-report photo { display: block; text-align: center; }
@container (min-width: 768px) {
  .hhr-detail .hhr-report { width: 83.33333333%; margin-left: auto; margin-right: auto; margin-bottom: 20px; }
}
.hhr-back { text-align: center; }

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