/* Southern Cal: reports area (round 1, slice reports). Fish Reports, the report page and Fish Counts, drawn from the API to look
   like the old fishreports.com / fishcounts.com embeds the old site framed (their southerncal.css + style-dev.css, measured
   2026-11-27): the red banner, the grey text box, the dark table head with gold rules, the dark foot bar. Colours and sizes are
   the embeds'; the page frame (.sc-card, .sc-container) and the h1 come from sc-theme.css. */
.sc-reports-page .sc-reports-h1 { text-align: center; }
.sc-embed { font-family: var(--default-font); font-size: 1.0625rem; line-height: 1.2; color: #3f3f3f; }
.sc-embed-empty { margin: 2rem 0; }

/* the article card: red banner on top, 25 px top corners */
.sc-embed .article-card { border-radius: 25px 25px 0 0; overflow: hidden; text-align: center; margin: 0 0 10px; }
.sc-embed .article-card .card-header { padding: .625rem; margin: 0; background-color: #be1e2d; color: #ffffff; text-align: center; text-transform: uppercase; border: 0; border-radius: 0; }
.sc-embed .article-card .card-header h2 { margin: 0; color: #ffffff; font-size: 1.5rem; }
@container sc-main (min-width: 768px) { .sc-embed .article-card .card-header { padding: 1.125rem .625rem; } .sc-embed .article-card { margin-bottom: 0; } }

/* the two feature cards: side by side from 768 px, stacked below; the photo, then the grey box with its 50 px bottom corners */
.article-section.sc-embed { padding: 20px 15px 0; }
@container sc-main (min-width: 768px) { .article-section.sc-embed { padding-top: 2.75rem; } }
.sc-frow { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -15px; }
.sc-fcol { flex: 0 0 100%; max-width: 100%; padding: 0 15px; margin-bottom: 15px; }
@container sc-main (min-width: 768px) { .sc-fcol { flex-basis: 50%; max-width: 50%; } }
.sc-feature-card .card-img-top { display: block; width: 100%; height: auto; border-radius: 0; }
.sc-feature-card a.sc-noimg { display: block; height: 0; }
.home_pod_text { background-color: #d0d0d0; padding: 15px; border-radius: 0 0 50px 50px; margin-bottom: 15px; text-align: center; }
.sc-embed .feature-author { margin-top: 3px; margin-bottom: 8px; }
.sc-embed .feature-more { margin-top: 2px; }

/* the tables (Fish Reports list, Fish Counts): Arial 17 px, dark head, gold rules, dark foot bar with 25 px bottom corners */
.sc-embed .scale-table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; }
.sc-embed .scale-head, .sc-embed .scale-data { font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.2; text-align: center; padding: 5px; border-top: 2px solid #cc9900; vertical-align: middle; }
.sc-embed .scale-head { background-color: #333333; color: #ffffff; font-weight: bold; }
.sc-embed .scale-data { background-color: rgba(255, 255, 255, .7); color: #000000; }
.sc-embed .scale-data:first-child { border-left: 1px solid #333333; border-right: 1px solid #333333; }
.sc-embed .scale-data:last-child { border-right: 1px solid #333333; }
.sc-embed .scale-foot { background: #333333; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.5; text-align: center; padding: 5px 10px; border-top: 2px solid #999999; border-radius: 0 0 25px 25px; }
.sc-embed .scale-foot a { color: #be1e2d; }
.sc-embed .scale-foot a.prev { margin-right: .25em; }
.sc-embed .scale-data a { color: #be1e2d; }
.sc-embed .scale-data a:hover { color: #7c141d; }
.sc-w20 { width: 20%; } .sc-w80 { width: 80%; } .sc-w15 { width: 15%; } .sc-w85 { width: 85%; }
.sc-embed .fish-report-date { vertical-align: top; }
/* list: Report 8/12 and Author 4/12 from 576 px, stacked below */
.sc-lrow { display: flex; flex-wrap: wrap; margin: 0; }
.sc-lrow > div { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
@container sc-main (min-width: 576px) { .sc-lrow > .sc-c8 { flex-basis: 66.6667%; max-width: 66.6667%; } .sc-lrow > .sc-c4 { flex-basis: 33.3333%; max-width: 33.3333%; } }
/* counts: Trip Type 2, Trip Details 4, Fish Count 4, Audio 2 of 12 from 768 px, stacked below */
.sc-count-cols { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.sc-count-cols > div { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
@container sc-main (min-width: 768px) { .sc-count-cols > .sc-m2 { flex-basis: 16.6667%; max-width: 16.6667%; } .sc-count-cols > .sc-m4 { flex-basis: 33.3333%; max-width: 33.3333%; } }
.sc-embed .released { color: #ff0000; }
.sc-embed .sc-count-cols audio { width: 100%; max-width: 160px; }

/* the report card: header line, photo (max 500 px high, 5 px corners), title / date / author centred, text left */
.sc-report-panel { background: transparent; box-shadow: none; padding: 0 15px; }
.sc-report-panel h3 { text-align: center; margin: 0 0 .5rem; }
.sc-report-panel .report_primary_img { text-align: center; }
.sc-report-panel img.report_img { display: block; max-width: 100%; height: auto; max-height: 500px; border-radius: 5px; margin: 0 auto 10px; }
.sc-report-panel .report_title_data { text-align: center; }
.sc-report-panel .report_title_data p, .sc-report-panel .report_descript_data p { margin: 0 0 1rem; }
.sc-report-panel .report_audio_data { text-align: center; margin-bottom: 1rem; }
.sc-report-panel .report_descript_data { text-align: left; overflow-wrap: anywhere; }
.sc-report-panel .report_descript_data img { max-width: 100%; height: auto; }
.sc-report-back { margin: 5px 0 0; } /* old: under the inline iframe and a <br>, measured 5 px */

/* Combine 2026-11-27, measured against the old embeds at their framed width (885 px): the template's main.css gives every
   <section> 60 px of padding, which the old iframes never had; the old embed's content starts 1 px in, and its text is
   16 px / 19.2 px (the report's "Fish Report for" line 14 px). */
section.sc-embed:not(.article-section) { padding: 1px 1px 0; }
#sc-report.sc-embed { font-size: 16px; line-height: 1.2; }
#sc-report .sc-report-panel { padding: 0; }
#sc-report .sc-report-panel h3 { font-size: 14px; line-height: 1.133; }
/* Measured per embed at its framed width (combine 2026-11-27). The LIST embed (southerncal-fishreports.php) is on a 10 px root:
   section 27.5 px on top, card header 11.25 px 6.25 px. The FEATURES embed (southerncal-features.php) is on a 16 px root,
   inside a 15 px container: section 44 px on top (20 below 768), a row with no negative margin, 15 px column gutters (cards
   398 px at 885), card header 18 px 10 px (10 px below 768), and no margins on its author / teaser / more lines. The report
   ends with the old embed's two <br>s (38 px) under the last paragraph's 16 px margin. */
#sc-reports-list.article-section.sc-embed { padding: 20px 15px 0; } /* the old container-fluid: 15 px each side */
@container sc-main (min-width: 768px) { #sc-reports-list.article-section.sc-embed { padding-top: 27.5px; } }
#sc-reports-list .article-card .card-header { padding: 6.25px; }
@container sc-main (min-width: 768px) { #sc-reports-list .article-card .card-header { padding: 11.25px 6.25px; } }
#sc-reports-features.article-section.sc-embed { padding: 20px 15px 0; }
@container sc-main (min-width: 768px) { #sc-reports-features.article-section.sc-embed { padding-top: 44px; } }
#sc-reports-features .sc-frow { margin: 0; }
#sc-reports-features .article-card .card-header { padding: 10px; }
@container sc-main (min-width: 768px) { #sc-reports-features .article-card .card-header { padding: 18px 10px; } }
#sc-reports-features .feature-author, #sc-reports-features .feature-more { margin: 0; }
.sc-embed .scale-foot { padding: 5px 0 5px 10px; line-height: 1.2; } /* old: 12 px / 14.4 px, 27 px tall */
#sc-report .sc-report-panel { padding-bottom: 38px; }
#sc-reports-features .sc-feature-card { padding-bottom: 20.4px; } /* the old card ends with a <br> after its text box */
#sc-reports-features .sc-fcol { margin-bottom: 0; }
/* The old list's head row is col-8 / col-4 (side by side at every width); its data rows are col-sm-* (stacked below 576). */
.sc-lrow.sc-lrow-head > .sc-c8 { flex-basis: 66.6667%; max-width: 66.6667%; }
.sc-lrow.sc-lrow-head > .sc-c4 { flex-basis: 33.3333%; max-width: 33.3333%; }
#sc-reports-list { margin-top: 5px; } /* the old features and list iframes are inline, one line apart: 5 px */
#sc-counts.article-section.sc-embed { padding: 0 15px; } /* the old counts embed: no section padding, a 15 px column */
#sc-counts, #sc-reports-list { display: flow-root; } /* keep the card's 10 px bottom margin inside, as the old column did */
