/* hb-home.css: Home (carousel + welcome on one grey panel, the 3 report cards, the Announcement bar). Loaded after hb-theme.css. */

/* Announcement bar: off and empty by default; teal (notice) or red (alert) strip across the top of the home content. */
.hb-announcement { color: #ffffff; background-color: #288a85; padding: 12px 0; }
.hb-announcement--alert { background-color: #a82a2a; }
.hb-announcement-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; text-align: center; }
.hb-announcement p { color: #ffffff; margin: 0; }
.hb-announcement-headline { font-weight: 600; }
.hb-announcement .btn-hb-blue, .hb-announcement .btn-hb-blue:hover { color: #ffffff; }

/* The page: the water photo, 10 px above the grey panel (old .intro-section). */
/* The old body sizes by breakpoint (10 / 15 / 19 px; the theme's flat 19 px does not follow them): Home's own text follows. */
.hb-home { padding: 10px 0 0; overflow-x: clip; }
.hb-home-panel { padding-top: 15px; }
/* old .col-md-10.m-auto inside the panel */
.hb-home-col { width: 100%; margin: 0 auto; padding: 0 15px; }
/* the old welcome sat in a Bootstrap row (-15 px margins) inside the panel: its text is the full panel width on a phone */
.hb-welcome { padding-left: 0; padding-right: 0; }
@media (min-width: 768px) { .hb-home-carousel { max-width: 83.3333%; } .hb-welcome { max-width: calc((100% + 30px) * .833333); padding-left: 15px; padding-right: 15px; } }

/* Carousel: images at their natural ratio, at most 460 px tall, centred; never wider than the panel (the old one was 15 px
   too wide on a phone, Q6). */
.hb-home-carousel { margin-bottom: 15px; }
.hb-carousel { max-width: 100%; overflow: hidden; }
.hb-carousel-img { max-height: 460px; max-width: 100%; width: auto; height: auto; margin: 0 auto; }

/* Welcome: centred script heading, paragraphs, the blue button. */
.hb-welcome { text-align: center; line-height: 1.5; }
.hb-welcome h1 { margin-bottom: 0; }
/* the old button sat after a <br> inside the text block and inherited the text block's letter-spacing (1.27 px) */
.hb-welcome .btn-hb-blue { letter-spacing: inherit; }
.hb-welcome { padding-bottom: 30px; }

/* Report cards: grey header, photo + teaser, grey footer with the date at the right. */
.hb-home-reports .hb-card { margin-bottom: 16px; line-height: inherit; }
.hb-home-reports .hb-card-head { padding: 31px 25px; background-color: rgba(0, 0, 0, .03); border-bottom: 1px solid rgba(0, 0, 0, .125); border-radius: 3px 3px 0 0; }
.hb-home-reports .hb-card-head h4 { margin: 0 0 .5rem; font-size: 1.1875rem; line-height: 1; }
.hb-home-reports .hb-card-body { text-align: left; }
.hb-home-reports .hb-card-img { display: block; width: 100%; height: auto; }
.hb-home-reports .hb-card-foot { padding: 31px 25px; text-align: right; background-color: rgba(0, 0, 0, .03); border-top: 1px solid rgba(0, 0, 0, .125); border-radius: 0 0 3px 3px; }
/* the old (Bootstrap 4) 30 px gutter between the cards */
.hb-home-reports { --bs-gutter-x: 30px; }

/* The one carousel (Home, The Vessel, Birding): the old Bootstrap 4 indicators and arrows (combine 2026-11-27: these were
   Birding's rules; the shared include uses the old <ol>/<a> markup on all three). hb-home.css loads on every page. */
.hb-carousel .carousel-indicators { margin: 0 15% 0; padding: 0; list-style: none; }
.hb-carousel .carousel-indicators [data-bs-target] { box-sizing: content-box; width: 30px; height: 3px; margin: 0 3px; background-color: #ffffff; opacity: .5; }
.hb-carousel .carousel-indicators .active { opacity: 1; }
.hb-carousel .carousel-control-prev, .hb-carousel .carousel-control-next { width: 15%; opacity: .5; }
.hb-carousel .carousel-control-prev:hover, .hb-carousel .carousel-control-next:hover { opacity: .9; }
.hb-carousel .carousel-control-prev-icon, .hb-carousel .carousel-control-next-icon { width: 20px; height: 20px; }
