/* Southern Cal: home area (hero, report cards, Announcement). Old values: styles.txt (www.southerncal.net, 2026-11-26). */
/* The old .hero-section holds a second Bootstrap container (15 px each side): photo 855 wide at 1366, 300 at 390. */
.sc-home-hero { padding: 0 15px 20px; }
.sc-home-hero-photo { margin: 0 0 15px; }
/* Old: width 100%, max-height 460 px (main.css), so the 835x490 photo was STRETCHED to 855x460 on a desktop. Same box,
   no distortion: cover crops instead of stretching (playbook: images at their natural ratio). */
.sc-home-hero-photo img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 460px; object-fit: cover; }
/* The old .title-holder: 30 px under the text, then a 2 px yellow (#ffc200) rule across the box (::after); the last
   paragraph has no margin. Letter spacing normal (sign-off Q5; old -.08em ran the words together). */
.sc-home-hero-text { padding: 0 0 30px; position: relative; }
.sc-home-hero-text::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 2px; background-color: #ffc200; }
.sc-home-hero-text .sc-hero-heading { text-align: left; margin: 0 0 12px; }
.sc-home-hero-text p { letter-spacing: normal; margin-bottom: 1rem; }
.sc-home-hero-text p:last-child { margin: 0; }
@media (min-width: 768px) {
  .sc-home-hero-photo { margin-bottom: 30px; }
  .sc-home-hero-text { padding: 0 40px 30px; }
}

.sc-home-features { display: grid; grid-template-columns: 1fr; gap: 35px 30px; align-items: start; padding: 10px 0 30px; }
@container sc-main (min-width: 768px) { .sc-home-features { grid-template-columns: 1fr 1fr; padding: 10px 30px 30px; } }
.sc-rcard { background: #ffffff; border-radius: 25px; overflow: hidden; text-align: center; min-width: 0; }
.sc-rcard-title { margin: 0; padding: 12px 15px; background: #be1e2d; color: #ffffff; font-size: 1.375rem; font-weight: 700; line-height: 1.133; text-transform: uppercase; text-align: center; letter-spacing: 0; }
.sc-rcard-title a, .sc-rcard-title a:hover { color: #ffffff; text-decoration: none; }
.sc-rcard-photo { display: block; line-height: 0; }
.sc-rcard-photo img { display: block; width: 100%; height: auto; }
.sc-rcard-foot { background: #cccccc; padding: 8px 15px 12px; color: #3f3f3f; font-size: 1.0625rem; line-height: 1.2; overflow-wrap: anywhere; }
@container sc-main (min-width: 768px) { .sc-rcard-title { font-size: 1.5rem; padding: 15px 20px; } }

.sc-announcement { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 15px; margin: 15px 0; padding: 12px 15px; border-radius: 15px; color: #3f3f3f; }
.sc-announcement--info { background: #e8f4f8; border: 1px solid #17a2b8; }
.sc-announcement--alert { background: #fbe9eb; border: 1px solid #be1e2d; }
.sc-announcement-body { flex: 1 1 260px; min-width: 0; }
.sc-announcement p { margin: 0; }
.sc-announcement-headline { font-weight: 700; }
.sc-announcement--alert .sc-announcement-headline { color: #be1e2d; }
/* Combine 2026-11-27: Home's cards are the old southerncal-features embed (the same one Fish Reports frames), measured at
   885 px: 44 px above the cards (20 below 768), 30 px between columns, no gap between rows (each card ends with a <br>),
   header 18 px 10px (10 px below 768), the grey (#d0d0d0) text box 15 px all round with 50 px bottom corners and 15 px under it. */
.sc-home-features { padding: 20px 30px 0; gap: 0 30px; } /* 15 px container + 15 px column gutter: cards 398 px at 885 */
@container sc-main (min-width: 768px) { .sc-home-features { padding: 44px 30px 0; } }
.sc-rcard { border-radius: 25px 25px 0 0; padding-bottom: 20.4px; background: transparent; }
.sc-rcard-title { padding: 10px; }
@container sc-main (min-width: 768px) { .sc-rcard-title { padding: 18px 10px; } }
.sc-rcard-foot { padding: 15px; margin-bottom: 15px; background: #d0d0d0; border-radius: 0 0 50px 50px; }
