/* Sole-Man round 1: the home area's styles (its slice owns this file). Uses the theme's classes (sm-theme.css).
   Measured on the old site (Bootstrap 4 + tools/css/style.scss): see ~/kiki-handoff/sm-inv/styles.txt. */

/* ---- Announcement bar (ported from Lovely Martha's): a notice is the site's dark grey, an alert its red ---- */
.sm-announcement { background: #212529; color: #ffffff; padding: 15px 0; }
.sm-announcement--alert { background: #b92c2f; }
.sm-announcement-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.sm-announcement-body { flex: 1 1 300px; }
.sm-announcement p { margin: 0; color: #ffffff; }
.sm-announcement-headline { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.sm-announcement--alert .btn-sm-red { border-color: #ffffff; }

/* Plain divs, not <section>: main.css gives every section 60 px of padding. */

/* ---- home.banner: 80% of the screen high, the photo cover and centred over the old grey, the heading, 48 px, Book Now ---- */
.sm-banner {
  height: 80vh;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(108, 117, 125, .5) no-repeat center center;
  background-size: cover;
}
.sm-banner-heading { text-transform: uppercase; color: #ffffff; margin-bottom: 48px; }

/* ---- home.intro, home.trips, home.ages: the old .container.mb-100 (the gap above is the covid block's old 48 px) ---- */
.sm-home-text { padding-top: 48px; }
.sm-intro, .sm-ages { display: flow-root; } /* keep the last paragraph's 16 px inside, as the old column did */
.sm-intro { margin-bottom: 48px; }
.sm-trips-cols { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.sm-trips-col { flex: 0 0 100%; max-width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 768px) { .sm-trips-col { flex: 0 0 50%; max-width: 50%; } }
/* the old line: p.text-secondary (grey, 16 px under it) inside div.col.mb-4 (24 px more): 40 px to Book Now (combine, measured) */
.sm-licence { margin-bottom: 16px; }
.sm-licence-row { margin-bottom: 24px; display: flow-root; } /* no margin collapse, as in the old flex column */

/* ---- home.testimonials: Bootstrap 4's carousel look on the vendored Bootstrap 5 carousel ---- */
#testimonials .carousel-control-prev-icon, #testimonials .carousel-control-next-icon { width: 20px; height: 20px; }
#testimonials .carousel-control-prev, #testimonials .carousel-control-next { opacity: .5; }
#testimonials .carousel-control-prev:hover, #testimonials .carousel-control-next:hover { opacity: .9; }
#testimonials .carousel-caption { right: 15%; left: 15%; bottom: 20px; padding-top: 20px; padding-bottom: 20px; z-index: 10; }
#testimonials .blockquote { margin-bottom: 16px; font-size: 20px; }
/* the quote itself: Bootstrap 4's .blockquote p, 20/30 px in #343a40 (the theme's p rule had made it 16/24; combine, measured) */
#testimonials .blockquote p.mb-2 { font-size: 20px; line-height: 30px; color: #343a40; }
#testimonials .carousel-indicators li { list-style: none; } /* the dots are <li>s as on the old site: no list numbers */
#testimonials .blockquote-footer { display: block; margin: 0; font-size: 80%; color: var(--sm-grey); }
#testimonials .carousel-indicators { margin-bottom: 16px; z-index: 15; }
