/* Amigo home page (Phase 3 look): the old home page's body, in its order. Wood-grain band with Amigo's photo where the
   old photo slider was, then a grey card: heading + intro, the fish reports, and "Book your trip today". Values are
   the old site's (css/main.css, css/style-dev.css). The template's other sections follow the card unchanged.
   Header, footer, nav and site-wide type belong to amigo.css. */

/* The old theme's breakpoints: lg 992, and its own "xl" at 1414. */
.home-band, .home-card, .home-card * { box-sizing: border-box; }

/* ---- Band: .visual-area ---- */
section.home-band {
  background: url("../img/amigo/wood-grain.jpg") no-repeat;
  background-size: cover;
  padding: 20px 0;
  overflow: visible;
  scroll-margin-top: 0;
}
@media (min-width: 768px) { section.home-band { padding: 50px 0 29px; } }
.home-band .container { max-width: 1180px; padding: 0 15px; }
/* The old slider box: its photos, plus the line breaks above and below it. */
.home-band .home-band-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 62%;
  margin: 20px 0 30px;
  padding: 4px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
}
@media (min-width: 768px) { .home-band .home-band-img { height: 685px; margin: 20px 0; } }

/* The old photo slider (lightSlider, 3 across, 10px gap): photos at their own heights, white thumbnail frames,
   a row of dots below (white, the active one #013832, 8px, 10px apart, 10px under the photos). */
/* The old slider box: its photos and pager. The line breaks above and below it are real <br>s in index.php, as in the old markup. */
.home-band .home-slider { margin: 0; overflow: hidden; }
.home-band .home-slider .swiper-wrapper { align-items: flex-start; height: auto; }
.home-band .home-slider .swiper-slide { height: auto; }
.home-band .home-slider .swiper-slide img { display: block; width: 100%; height: auto; padding: 4px; background: #fff; border: 1px solid #dee2e6; border-radius: .25rem; }
/* The pager is lightSlider's: a numbered list under the photos (margin 5px, each li 20px tall with 5px side padding,
   the 8px link 5px down in it, its number pushed out of sight). White dots, the current one and the hovered one #013832. */
.home-band .home-slider .swiper-pagination { position: static; margin: 5px 0 0; padding: 0; list-style: none; text-align: center; line-height: 20px; font-size: 16px; }
.home-band .home-slider .swiper-pagination-bullet { display: inline-block; width: auto; height: auto; margin: 0; padding: 0 5px; background: none; opacity: 1; border-radius: 0; cursor: pointer; line-height: 20px; font-size: 16px; }
.home-band .home-slider .swiper-pagination-bullet a { display: inline-block; width: 8px; height: 8px; overflow: hidden; text-indent: -999em; border-radius: 30px; background-color: #fff; position: relative; z-index: 99; transition: all .5s linear 0s; }
.home-band .home-slider .swiper-pagination-bullet:hover a, .home-band .home-slider .swiper-pagination-bullet-active a { background-color: #013832; }
/* The old prev/next arrows: 32px links, 10px in from the sides, centred on the photos, opacity .5, with no image
   (the old controls.png 404s), so they can be clicked but not seen. */
.home-band .home-slider { position: relative; }
.home-slider-arrows a { position: absolute; z-index: 99; display: block; width: 32px; height: 32px; top: calc((100% - 25px) / 2); margin: -16px 0 0; opacity: .5; cursor: pointer; transition: opacity .35s linear 0s; }
.home-slider-arrows a:hover { opacity: 1; }
.home-slider-prev { left: 10px; }
.home-slider-next { right: 10px; }

/* ---- Card: .main-area ---- */
.home-card {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  background: #f0f0f0;
  box-shadow: 0 0 12.8px 1.6px rgba(0, 0, 0, .25);
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  color: #000;
  font-size: 1rem;
  line-height: 1.25rem;
}
@media (min-width: 768px) { .home-card { padding: 3rem; } }
@media (min-width: 992px) { .home-card { padding: 4.5rem; } }
@media (max-width: 1365.98px) { .home-card { max-width: calc(100% - 186px); } }
@media (max-width: 991.98px) { .home-card { max-width: none; } }

/* Intro: .intro-area */
.home-intro { font-size: 1.25rem; line-height: 1.625rem; margin: 0 0 1.625rem; letter-spacing: -0.8px; }
@media (min-width: 1414px) { .home-intro { font-size: 1.875rem; line-height: 2.25rem; margin: 0 0 4.125rem; } }
.home-intro h1 {
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 26px; line-height: 30px; font-weight: 700;
  color: #013832; text-transform: uppercase; text-align: left;
  letter-spacing: -1.7px; margin: 0 0 10px;
}
@media (min-width: 768px) { .home-intro h1 { font-size: 44px; line-height: 54px; } }
.home-intro h1 .accent-text { color: inherit; }
.home-intro p { margin: 0 0 20px; font-size: inherit; line-height: inherit; color: #000; }

/* Fish reports: .about-area (the old catch-of-the-week frame's box, now the fish reports section) */
/* 4px more than the margin: the old inline iframe left a descender gap under itself. */
.home-card #fish-reports.section { padding: 0; margin: 0 0 28px; background: transparent; overflow: visible; font-weight: 500; }
@media (min-width: 992px) { .home-card #fish-reports.section { margin-bottom: calc(4.5rem + 4px); } }
.home-card #fish-reports .container { max-width: none; padding: 0; }
.home-card #fish-reports .section-title { text-align: left; padding: 0 0 2.0625rem; margin: 0; }
.home-card #fish-reports .section-title h2 {
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 900;
  color: #333; text-transform: uppercase; text-align: left; letter-spacing: normal; margin: 0; padding: 0;
}
@media (min-width: 768px) { .home-card #fish-reports .section-title h2 { font-size: 36px; line-height: 40px; } }
.home-card #fish-reports .section-title h2::after, .home-card #fish-reports .section-title h2::before { display: none; }
.home-card #fish-reports .section-title p {
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 18px; line-height: 22px; font-weight: 900; color: #000;
  text-align: left; margin: 0; padding: 0; max-width: none;
}

/* Book your trip: .info-area */
.home-info { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 -15px; font-size: 1.25rem; line-height: 1.625rem; }
.home-info-image, .home-info-text { padding: 0 15px; width: 100%; }
@media (min-width: 768px) {
  .home-info-image { width: 41.6667%; }
  .home-info-text { width: 58.3333%; }
}
@media (min-width: 1414px) {
  .home-info { font-size: 1.875rem; line-height: 2.25rem; }
  .home-info-image { width: 33.3333%; }
}
/* The old shadow sits on the wrapper (div.image.shadow), not on the photo. */
.home-info-image .image { box-shadow: 0 0 12.8px 1.6px rgba(0, 0, 0, .25); }
.home-info-image img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (min-width: 1414px) { .home-info-image .image { width: 108%; margin-top: 10px; } }
.home-info-text { padding-top: .9375rem; }
@media (min-width: 992px) { .home-info-text { padding-top: 0; } }
.home-info h3 {
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 900;
  color: #333; text-transform: uppercase; text-align: left; letter-spacing: normal; margin: 0 0 8px;
}
@media (min-width: 768px) { .home-info h3 { font-size: 36px; line-height: 40px; } }
.home-info-lines { font-family: annual, Arial, Helvetica, sans-serif; margin: 0 0 .9375rem; color: #000; }
@media (min-width: 1414px) { .home-info-lines { margin-bottom: 2.75rem; } }
.home-info address { display: block; max-width: 375px; margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.625rem; font-style: normal; }
@media (min-width: 1414px) { .home-info address { font-size: 2.25rem; line-height: 2.625rem; } }
.home-info .home-line { display: block; }
.home-info .home-email { display: inline; }
.home-info .home-email, .home-info .home-line a { font-family: annual, Arial, Helvetica, sans-serif; }
.home-info-lines a { color: #013832; }
.home-info-lines a:hover { color: #333; }
.home-info .home-email { display: block; }
.home-info .home-btn {
  display: inline-block;
  font-family: annual, Arial, Helvetica, sans-serif;
  font-size: 13px; line-height: 40px; font-weight: 400; word-spacing: 1px; text-align: center;
  color: #fff; background: #333; border: 1px solid #333; border-radius: 0;
  min-width: 250px; padding: .625rem; box-shadow: 0 0 12.8px 1.6px rgba(0, 0, 0, .25);
}
@media (min-width: 768px) { .home-info .home-btn { min-width: 274px; padding: 6px 20px; } }
@media (min-width: 1414px) { .home-info .home-btn { font-size: 18px; padding: .375rem 3rem; line-height: 54px; } }
.home-info .home-btn:hover { background: #202020; border-color: #1a1919; color: #fff; }
.home-info .home-btn-text { font-size: 20px; }
@media (min-width: 992px) { .home-info .home-btn-text { font-size: 26px; letter-spacing: 1px; } }
@media (min-width: 1414px) { .home-info .home-btn-text { font-size: 48px; margin: 0 1rem 0 0; } }

/* The stats strip (the template's hero stats row) sits under the card */
.home-stats .stat-item { color: inherit; }

/* Wide screens: 1414 px from 1414 px, like the old containers (old bootstrap.css). */
@media (min-width: 1414px) { .home-band .container, .home-card { max-width: 1414px; } }
