/* Hog Heaven round 1: the home area (slider, tagline bar, intro, reports band, hook-up line, map, announcement, CTA band).
   Loaded after hh-theme.css (includes/header.php). Measured on www.hogheaven.net at 1366 and 390 (Henry, 2026-11-17). */

/* Slider: 1000 px wide, natural ratio, indicator bars only, shadow. */
#visual-slider { box-shadow: 0 0 24px 4px rgba(0, 0, 0, .5) !important; position: relative; }
#visual-slider .carousel-item img { max-height: 500px; max-width: 100%; margin: auto; height: auto; }

/* Tagline bar: navy, directly under the slider; two columns, stacked and centred on a phone. */
.tagline { position: relative; background: #0c1b3c; color: #ffffff; font-weight: 700; padding: 10px 15px; font-size: 1rem; line-height: 1.5rem; box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .5); }
.tagline a, .tagline a:hover { color: #ffffff; text-decoration: none; }
.tagline a:hover { color: #cccccc; }
.tagline-row { display: flex; flex-wrap: wrap; justify-content: space-between; text-align: center; }
.tagline-col { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .tagline-row { text-align: left; }
  .tagline-col { flex: 0 0 50%; max-width: 50%; }
  .tagline-col-end { display: flex; justify-content: flex-end; }
}
@media (min-width: 768px) { .tagline { font-size: 1.5rem; line-height: 1.625rem; } }

/* The white panel (.hh-panel) holds everything below the tagline. */
.main-area { padding-bottom: 0; }

/* Intro: heading, then photo right (7/12) and text left (5/12); on a phone the photo comes first. */
.intro-area { padding: 20px 15px 0; margin-bottom: 230px; }
.intro-area h1 { text-align: center; margin: 0 0 20px; }
.intro-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.intro-col { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.intro-col-photo { margin-bottom: 20px; }
.intro-area .image { position: relative; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5) !important; }
.intro-area .image img { display: block; width: 100%; max-width: 100%; height: auto; }
.intro-area .description { position: relative; }
.intro-area .description p { margin: 0 0 20px; }
@media (min-width: 768px) {
  .intro-area h1 { margin-bottom: 35px; }
  .intro-col-photo { order: 2; flex: 0 0 58.3333%; max-width: 58.3333%; margin-bottom: 0; }
  .intro-col-text { order: 1; flex: 0 0 41.6667%; max-width: 41.6667%; }
  .intro-area .image { margin: 0 0 0 2rem; }
  .intro-area .description { margin: 0 -1.625rem 0 0; }
}
@media (min-width: 992px) { .intro-area { padding-left: 40px; padding-right: 40px; } }

/* Recent reports: the green band; its holder is pulled up so the heading sits on the white above it. */
.main-area section.article-holder { position: relative; background-color: #23634e; padding: 0 15px 80px; overflow: visible; }
.article-holder .holder { position: relative; display: inline-block; vertical-align: top; width: 100%; margin-top: -170px; font-size: .875rem; line-height: 1.0625rem; }
.article-holder .holder > h2 { color: #23634e; text-transform: uppercase; margin: 0 0 20px; }
@media (min-width: 768px) { .main-area section.article-holder { padding-bottom: 190px; } }
@media (min-width: 992px) { .main-area section.article-holder { padding-left: 40px; padding-right: 40px; } }

/* Hook-up line: the salmon overlaps the band, the Pacifico line (.hh-script) under it. */
.info-area { padding: 20px 20px 40px; }
.info-area .fish-image { position: relative; margin: -80px 0 30px; text-align: center; }
.info-area .fish-image img { max-width: 100%; height: auto; margin: auto; }
.info-area .text { display: block; position: relative; text-align: center; margin-top: -8px; }
@media (min-width: 768px) {
  .info-area .fish-image { margin: -180px 0 0; padding-right: 40px; }
}

/* Map: a static picture; on a phone it keeps its 1000 px width and is cropped to its middle. */
.map-area { position: relative; overflow: hidden; }
.map-area a { display: block; }
.map-area img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 767.98px) {
  .map-area img { width: 1000px; max-width: none; position: relative; left: 50%; margin-left: -300px; }
}

/* Announcement bar (home page, above the slider): a light notice with a navy rule; an alert is red. */
.landing-announcement { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 15px; padding: 12px 20px; background: #ffffff;
  border-left: 8px solid #0c1b3c; color: #0c1b3c; box-shadow: 0 0 24px 4px rgba(0, 0, 0, .5); }
.landing-announcement--alert { border-left-color: #8f1d1d; color: #8f1d1d; }
.landing-announcement-body { flex: 1 1 14rem; min-width: 0; }
.landing-announcement p { margin: 0; }
.landing-announcement-headline { font-family: var(--heading-font); font-weight: 700; }
.landing-announcement-message { color: #333333; }
.landing-announcement-link { flex: 0 0 auto; }

/* Slider indicators are list items, as on the old site (the old look: left, #333, no list marker). */
#visual-slider ol.carousel-indicators { list-style: none; padding-left: 0; }
#visual-slider .carousel-indicators li { text-align: left; color: #333333; list-style: none; }
