/* Sole-Man round 1: the pages area's styles (its slice owns this file). Uses the theme's classes (sm-theme.css). The
   old pages were Bootstrap 4 (a 30 px column gutter, .table, .list-inline); the area carries its own small grid so it
   never depends on the template's Bootstrap 5 gutter. */

/* ---- grid: Bootstrap 4's .row / .col (15 px each side), md = 768 and up ---- */
.smp-row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.smp-center { align-items: center; }
.smp-between { justify-content: space-between; }
.smp-col { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .smp-md-3 { flex: 0 0 25%; max-width: 25%; }
  .smp-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .smp-md-6 { flex: 0 0 50%; max-width: 50%; }
  .smp-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .smp-md-9 { flex: 0 0 75%; max-width: 75%; }
}

/* ---- Fishing Season and Fishing Camp: the old .season block (100 px under the page and under its row) ---- */
.sm-season, .sm-camp { margin-bottom: 100px; }
.sm-season .smp-species, .sm-camp .smp-species { margin-bottom: 100px; }

/* the table: Bootstrap 4's .table.table-striped. On a phone it scrolls inside its own box; the page never does. */
.smp-scroll { width: 100%; overflow-x: auto; margin-bottom: 16px; }
.smp-table { width: 100%; margin: 0; border-collapse: collapse; color: #212529; background-color: transparent; }
.smp-table th, .smp-table td { padding: 12px; vertical-align: top; border-top: 1px solid #dee2e6; text-align: left; }
.smp-table th { font-weight: 700; }
.smp-table thead th { vertical-align: bottom; border-bottom: 2px solid #dee2e6; }
.smp-table tbody tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, 0.05); }
/* Fishing Season at half screen (768-991 px): the twelve months fit the 690 px column with 8 px side padding, instead of
   hiding Sep-Dec behind a scroll bar (the old table ran past its column). Full width keeps the old 12 px. (Henry, 2026-11-25) */
@media (min-width: 768px) and (max-width: 991.98px) { .sm-season .smp-table th, .sm-season .smp-table td { padding-left: 8px; padding-right: 8px; } }

/* the legend: Bootstrap 4's .list-inline.text-right, the first two items 24 px apart */
.smp-legend { list-style: none; padding-left: 0; margin: 0 0 16px; text-align: right; }
.smp-legend-item { display: inline-block; margin-right: 24px; }
.smp-legend-item:last-child { margin-right: 0; }

/* ---- Captain and Boat: the photos at their natural ratio, never wider than their column ---- */
.sm-about img { max-width: 100%; height: auto; }

/* ---- Fishing Camp: the click-to-play posters (lite-yt-embed's own css sets the 16:9 box and the 720 px cap) ---- */
.sm-camp lite-youtube { margin-left: auto; margin-right: auto; }

/* the old dots sit on the text baseline (the theme's .sm-dot centres them, which makes the rows 3 px shorter) */
.sm-season .sm-dot { vertical-align: baseline; }
