/* ==========================================================
   BSYC – Members' Yachts pages
   In the main site's style (Phlox + Elementor): black ground, Rufina headings, Montserrat kickers in the club
   orange with a short rule, Nunito Sans text. Every rule is scoped to .bsy so nothing else on the site changes.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Rufina:wght@400;700&family=Montserrat:wght@400;500;600&family=Nunito+Sans:wght@300;400;600;700&display=swap');

.bsy {
  --bsy-ground: #000;
  --bsy-panel: #111213;
  --bsy-panel-2: #1A1A1A;
  --bsy-line: #2A2B2D;
  --bsy-orange: #FF5D20;
  --bsy-gold: #E3CC4F;
  --bsy-navy: #051A4B;
  --bsy-text: #C9C9C9;
  --bsy-muted: #8F8F8F;
  --bsy-white: #FFFFFF;
  --bsy-display: 'Rufina', Georgia, serif;
  --bsy-kicker: 'Montserrat', system-ui, sans-serif;
  --bsy-body: 'Nunito Sans', system-ui, sans-serif;

  font-family: var(--bsy-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--bsy-text);
  background: var(--bsy-ground);
}
.bsy *, .bsy *::before, .bsy *::after { box-sizing: border-box; }
.bsy img, .bsy svg { max-width: 100%; height: auto; display: block; }
.bsy a { color: var(--bsy-white); text-decoration: none; }
.bsy a:hover { color: var(--bsy-orange); }
.bsy p { margin: 0 0 1em; }
.bsy strong { font-weight: 600; color: var(--bsy-white); }

.bsy-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.bsy-band { padding: 72px 0; }
.bsy-band--panel { background: var(--bsy-panel); }

/* Headings: a short orange rule over the page title, as on Our History */
.bsy-h1 {
  font-family: var(--bsy-display); font-weight: 700; color: var(--bsy-white);
  font-size: clamp(38px, 6vw, 60px); line-height: 1.1; margin: 0 0 18px;
}
.bsy-h1::before { content: ""; display: block; width: 96px; height: 2px; background: var(--bsy-orange); margin-bottom: 26px; }
.bsy-h2 { font-family: var(--bsy-display); font-weight: 400; color: var(--bsy-white); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 8px; }
.bsy-h3 { font-family: var(--bsy-display); font-weight: 700; color: var(--bsy-white); font-size: 26px; line-height: 1.2; margin: 0 0 6px; }
.bsy-kicker {
  font-family: var(--bsy-kicker); font-weight: 500; font-size: 16px; color: var(--bsy-orange);
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
}
.bsy-kicker::after { content: ""; width: 42px; height: 2px; background: currentColor; }
.bsy-tag { font-family: var(--bsy-kicker); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bsy-muted); margin: 0 0 8px; }
.bsy-lead { font-size: 19px; line-height: 1.6; color: #DADADA; max-width: 46em; }
.bsy-muted { color: var(--bsy-muted); }
.bsy-small { font-size: 14px; }

.bsy-btn {
  display: inline-block; font-family: var(--bsy-kicker); font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .04em; color: var(--bsy-white) !important; background: var(--bsy-orange); padding: 14px 32px;
}
.bsy-btn:hover { background: #E04A12; }
.bsy-link { font-family: var(--bsy-kicker); font-weight: 500; color: var(--bsy-orange) !important; display: inline-flex; align-items: center; gap: 10px; }
.bsy-link::after { content: ""; width: 36px; height: 2px; background: currentColor; transition: width .2s; }
.bsy-link:hover::after { width: 52px; }
.bsy-back { font-family: var(--bsy-kicker); font-size: 14px; color: var(--bsy-muted) !important; display: inline-block; margin-bottom: 36px; }
.bsy-back:hover { color: var(--bsy-orange) !important; }

/* The fleet: one card per yacht */
.bsy-fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.bsy-card { background: var(--bsy-panel); border: 1px solid var(--bsy-gold); display: flex; flex-direction: column; transition: border-color .2s; }
.bsy-card:hover { border-color: var(--bsy-orange); }
.bsy-card__pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bsy-panel-2); }
.bsy-card__pic img, .bsy-card__pic svg { width: 100%; height: 100%; object-fit: cover; }
.bsy-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.bsy-card__body p { flex: 1; }
.bsy-card .bsy-tag { color: var(--bsy-gold); }

/* A yacht's page */
.bsy-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bsy-pic { border: 1px solid var(--bsy-line); background: var(--bsy-panel-2); }
.bsy-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--bsy-line); margin: 0; }
.bsy-specs div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--bsy-line); }
.bsy-specs dt { font-family: var(--bsy-kicker); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bsy-muted); }
.bsy-specs dd { margin: 4px 0 0; color: var(--bsy-white); font-weight: 400; }
.bsy-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.bsy-quote { font-family: var(--bsy-display); font-size: 24px; line-height: 1.4; color: var(--bsy-white); border-left: 2px solid var(--bsy-orange); padding-left: 24px; margin: 0; }
.bsy-list { margin: 0; padding: 0; list-style: none; }
.bsy-list li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--bsy-line); }
.bsy-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--bsy-orange); }
.bsy-more { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 18px; }

/* The members' results table (Results page) */
.bsy-table-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--bsy-gold); }
.bsy-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bsy-panel); }
.bsy-table th { font-family: var(--bsy-kicker); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bsy-gold); text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--bsy-gold); }
.bsy-table td { padding: 16px 18px; border-bottom: 1px solid var(--bsy-line); vertical-align: top; }
.bsy-table tr:last-child td { border-bottom: 0; }
.bsy-table td strong { font-weight: 600; }
.bsy-table__sub { display: block; font-size: 13px; color: var(--bsy-muted); }
.bsy-nowrap { white-space: nowrap; }
/* The site theme styles every table (pale header, white cell borders, a bottom margin): keep ours in the page's colours */
.bsy .bsy-table { margin: 0 !important; border: 0; }
.bsy .bsy-table th, .bsy .bsy-table td { border: 0; border-bottom: 1px solid var(--bsy-line); background: transparent; }
.bsy .bsy-table thead th { background: var(--bsy-panel-2); border-bottom: 1px solid var(--bsy-gold); color: var(--bsy-gold); }
.bsy .bsy-table tr:last-child td { border-bottom: 0; }
.bsy .bsy-table .bsy-link { white-space: nowrap; }

@media (max-width: 860px) {
  .bsy-band { padding: 52px 0; }
  .bsy-fleet, .bsy-split, .bsy-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bsy-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .bsy-wrap { padding: 0 16px; }
  .bsy-card__body { padding: 22px 20px 26px; }
  .bsy-specs { grid-template-columns: minmax(0, 1fr); }
}
