/* Charter Rates body, matched to the old amigosportfishing.com rates page: a grey card with a shadow, a centred green
   heading, a striped table and a bullet list of notes. Header, footer and the page-title banner are the shared slice's. */
.amigo-rates-section {
  padding: 0;
}

.amigo-rates-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  background: #f0f0f0;
  box-shadow: 0 0 12.8px 1.6px rgba(0, 0, 0, 0.25);
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}

@media (min-width: 768px) {
  .amigo-rates-card { padding: 48px; }
}

@media (min-width: 992px) {
  .amigo-rates-card { padding: 72px; }
}

.amigo-rates-heading {
  margin: 0 0 8px;
  text-align: center;
  font-family: helveticaNeue, Arial, Helvetica, sans-serif;
  font-size: 36px;
  line-height: 40px;
  font-weight: 900;
  color: #013832;
}

@media (max-width: 767.98px) {
  .amigo-rates-heading { font-size: 24px; line-height: 28px; }
}

/* The old page has a <br> between the heading and the table: the table starts 28 px below the heading (its 28 px margin collapses the heading's 8 px; the old: 8 px margin
   + the 16 px line + 4 px), at both widths (measured 16:29). */
.amigo-rates-heading + .amigo-rates-table { margin-top: 28px; }

.amigo-rates-table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  font-size: 12.8px;
  background-color: rgba(255, 255, 255, 0.75);
  color: #000;
}

.amigo-rates-table th,
.amigo-rates-table td {
  padding: 12px;
  vertical-align: top;
  text-align: left;
  border-top: 1px solid #dee2e6;
}

.amigo-rates-table thead th {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #dee2e6;
  vertical-align: bottom;
}

.amigo-rates-table tbody tr:nth-of-type(odd) {
  background-color: #75a5a0;
  color: #333;
}

.amigo-rates-table .trip-area {
  font-size: 0.85em;
}

.amigo-rates-empty {
  margin: 0 0 16px;
  text-align: center;
}

.amigo-rates-notes {
  margin: 0 0 16px;
  padding-left: 40px;
  list-style: disc;
  font-size: 16px;
}

/* The old table's column widths (at 1036 wide: 226 / 197 / 182 / 237 / 194) with the usual two price columns, so the second
   price line does not move the columns. Phone: the table fits the card instead (below). */
@media (min-width: 576px) {
  .amigo-rates-table.cols-5 th:nth-child(1) { width: 21.8%; }
  .amigo-rates-table.cols-5 th:nth-child(2) { width: 19%; }
  .amigo-rates-table.cols-5 th:nth-child(3) { width: 17.6%; }
  .amigo-rates-table.cols-5 th:nth-child(4) { width: 22.9%; }
  .amigo-rates-table.cols-5 th:nth-child(5) { width: 18.7%; }
}

/* SB 478: each price is the cash price and the card price, one under the other, as 22nd Street Landing prints them. */
.amigo-rates-table .price-cash,
.amigo-rates-table .price-credit { display: block; }

/* With the rates down: the notice, and the Call and Book buttons under it. */
.amigo-rates-cta { margin: 0 0 16px; text-align: center; }
.amigo-rates-cta a {
  display: inline-block;
  margin: 4px;
  padding: 10px 20px;
  border: 2px solid #013832;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.amigo-rates-call { background: #013832; color: #fff; }
.amigo-rates-call:hover { background: #022a26; color: #fff; }
.amigo-rates-book { background: #fff; color: #013832; }
.amigo-rates-book:hover { background: #e6efee; color: #013832; }

/* Phone: tighter cells so all columns stay inside the card (the old page's did too). */
@media (max-width: 575.98px) {
  .amigo-rates-table th,
  .amigo-rates-table td { padding: 12px 6px; }
  .amigo-rates-table th:first-child,
  .amigo-rates-table td:first-child { padding-left: 12px; }
}
