/* rank.css (Oct 8, 2026): comparison tables, "who it's for" cards and the lazy YouTube facade used by
   /snorkeling-tours/, /sailing-charters/, /catamaran-charters/, the Buck Island hub and the cruise page. */
.rk-intro { max-width: 800px; }
.rk-intro p { color: var(--ink-2); }
.rk-tbl { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.rk-cap { margin: 16px 0 0; font-size: .9rem; color: var(--ink-2); }
.rk-cap + .rk-scroll { margin-top: 4px; }
.rk-tbl table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: .95rem; }
.rk-tbl th, .rk-tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rk-tbl thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.rk-tbl tbody tr:last-child > * { border-bottom: 0; }
.rk-tbl tbody th { color: var(--navy); font-weight: 800; }
.rk-tbl tbody th a { color: inherit; }
.rk-tbl tbody th small { display: block; font-weight: 600; color: var(--ink-2); }
.rk-tbl .nw { white-space: nowrap; }
.rk-scroll { display: none; font-size: .85rem; color: var(--ink-2); margin: 0 0 4px; }
@media (max-width: 699px) { .rk-scroll { display: block; } }
.rk-note { font-size: .9rem; color: var(--ink-2); }
.rk-cols { display: grid; gap: 24px; }
@media (min-width: 900px) { .rk-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.rk-who { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .rk-who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rk-who--4 { grid-template-columns: repeat(4, 1fr); } .rk-who--3 { grid-template-columns: repeat(3, 1fr); } }
.rk-who li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.rk-who h3 { font-size: 1.05rem; margin-bottom: .35em; }
.rk-who h3 a { color: inherit; }
.rk-who p { margin: 0 0 .5em; color: var(--ink-2); font-size: .95rem; }
.rk-who p:last-child { margin-bottom: 0; }
.rk-meta { display: block; font-size: .85rem; font-weight: 700; color: var(--orange-700); margin-bottom: 6px; }
.rk-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.rk-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.rk-links a:hover { border-color: var(--orange-700); }
/* Lazy YouTube facade: a self-hosted thumbnail and a button; the iframe loads only on click. */
.rk-video { position: relative; width: 100%; max-width: 880px; margin: 20px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0e2a; box-shadow: var(--shadow-lg); }
.rk-video img, .rk-video iframe, .rk-video picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.rk-video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; }
.rk-video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); border-radius: 14px; background: var(--orange-600); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.rk-video__play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.rk-video button:hover .rk-video__play, .rk-video button:focus-visible .rk-video__play { background: var(--orange-700); }
.rk-video__cap { max-width: 880px; margin: 10px auto 0; font-size: .9rem; color: var(--ink-2); text-align: center; }
/* Cruise page: book-direct selling point and the "not for ship days" note */
.cr-direct { margin: 4px 0 22px; padding: 16px 18px; border-left: 4px solid var(--orange-600); background: var(--sand); border-radius: var(--radius-sm); max-width: 860px; }
.cr-direct strong { color: var(--navy); }
.cr-notfit { margin: 16px 0 0; font-size: .95rem; color: var(--ink-2); max-width: 860px; }
/* Card grids with fewer cards than the default 4-up */
@media (min-width: 1024px) { .tour-grid.tour-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .tour-grid.tour-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); } .tour-grid.tour-grid--1 { grid-template-columns: minmax(0, 420px); } }
@media (min-width: 700px) and (max-width: 1179px) { .tour-grid.tour-grid--1 { grid-template-columns: minmax(0, 420px); } }
.rk-cols > .tour-grid { align-self: start; }
.rk-sub { margin: 32px 0 14px; font-size: 1.25rem; }
h2.h3 { font-size: 1.3rem; }
.tour-grid + .rk-note, .rk-tbl + .rk-note { margin-top: 12px; }
.rk-note + .tour-grid { margin-top: 20px; }
