/* Expedition Review Desk — ranking.css (homepage only) */

.hero-banner {
  position: relative;
  background: url('../images/hero.jpg') center bottom / cover no-repeat, var(--navy);
  overflow: hidden;
}
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.72) 0%, rgba(11,18,32,0.5) 50%, rgba(11,18,32,0.25) 100%);
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 64px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-banner .updated-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hero h1 { margin-bottom: 16px; max-width: 22ch; color: #fff; }
.hero__intro { font-size: 18px; line-height: 1.7; max-width: 62ch; margin-bottom: 28px; color: rgba(255,255,255,0.88); }

.stat-plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
}
.hero-banner .stat-plate {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(2px);
}
.hero-banner .stat-plate__value { color: #fff; }
.hero-banner .stat-plate__label { color: rgba(255,255,255,0.68); }

/* Scorecard table specifics */
.scorecard-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

table.data-table th:nth-child(5), table.data-table td:nth-child(5) { min-width: 150px; }
.landing-style-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 148px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: var(--ice-blue);
  color: var(--navy);
  white-space: nowrap;
  text-align: center;
}
.rating-range { white-space: nowrap; }
.rating-range small { color: var(--text-muted); display: block; font-size: 11px; }

/* Lindblad deep section */
.lindblad-block { }
.rating-distribution {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
  max-width: 360px;
  margin: 32px 0 16px;
  padding-top: 20px;
  border-bottom: 1px solid var(--outline);
}
.rating-distribution__bar {
  width: 44px;
  flex: 0 0 auto;
  background: var(--arctic-teal);
  border-radius: 3px 3px 0 0;
  position: relative;
  min-height: 4px;
}
.rating-distribution__bar span {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

/* Operator scorecard blocks — elevated card, same language as .alt-card / .ship-card */
.operator-block {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: calc(var(--radius) * 3);
  box-shadow: var(--shadow-floating);
  padding: 28px 28px 32px;
  margin-bottom: 24px;
}
.operator-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.operator-block__head h3 { margin-bottom: 0; }
.operator-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--soft-slate);
  color: var(--arctic-teal);
}
.operator-icon-badge svg { width: 20px; height: 20px; }
.operator-block--first .operator-icon-badge {
  background: var(--warning-gold-10);
  color: var(--warning-gold);
}
.operator-block__rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--soft-slate);
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 5px 14px;
  margin-left: auto;
  white-space: nowrap;
}
.operator-block--first .operator-block__rank {
  background: var(--warning-gold-10);
  border-color: var(--warning-gold);
  color: var(--warning-gold);
}
.operator-fleet-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.operator-fleet-line::before {
  content: '';
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-color: var(--arctic-teal);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3C/svg%3E");
}
/* Praise/complain category grid */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 24px 0;
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
}
.category-grid h3 { display: flex; align-items: center; gap: 8px; }
.category-grid h3 svg { width: 22px; height: 22px; }
.category-grid h3.praise svg { color: var(--arctic-teal); }
.category-grid h3.complain svg { color: var(--warning-gold); }

/* Shore-time score list (block 7) */
.shore-time-list { margin: 20px 0; }
.shore-time-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--outline);
  font-size: 14px;
}
.shore-time-row .metric-bar { width: 140px; }
.shore-time-row__val { font-weight: 600; font-feature-settings: 'tnum' 1; }

/* Alternatives card grid (homepage) */
.alt-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warning-gold);
  margin-bottom: 12px;
}
.alt-eyebrow__bar { display: inline-block; width: 20px; height: 3px; background: var(--warning-gold); border-radius: 2px; }
.alt-block h2 { max-width: 30ch; }
.alt-intro { margin-bottom: 32px; }
.alt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .alt-grid { grid-template-columns: repeat(3, 1fr); }
}
.alt-card {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: calc(var(--radius) * 3);
  box-shadow: var(--shadow-floating);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.alt-card__title { margin-bottom: 10px; }
.alt-card__intro { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.alt-card__points { list-style: none; margin: 0 0 20px; padding: 0; flex-grow: 1; }
.alt-card__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 0;
  border-top: 1px solid var(--outline);
}
.alt-card__points li:first-child { border-top: none; padding-top: 0; }
.alt-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.alt-icon svg { width: 100%; height: 100%; }
.alt-icon--star, .alt-icon--pin, .alt-icon--grid { color: var(--arctic-teal); }
.alt-icon--warn { color: var(--warning-gold); }
.alt-card__trade { color: var(--text-muted); }
.alt-card__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--warning-gold);
  text-decoration: none;
}
.alt-card__link:hover { text-decoration: underline; }
.alt-see-more {
  display: inline-block;
  font-weight: 600;
  text-decoration: underline;
  color: var(--navy);
}

/* Ship card grid (homepage) — same visual language as .alt-card */
.ship-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 700px) {
  .ship-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .ship-grid { grid-template-columns: repeat(3, 1fr); }
}
.ship-card {
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: calc(var(--radius) * 3);
  box-shadow: var(--shadow-floating);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.ship-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ship-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--arctic-teal); }
.ship-icon svg { width: 100%; height: 100%; }
.ship-card__title { margin-bottom: 0; font-size: 18px; }
.ship-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ship-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--soft-slate);
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 4px 10px;
}
.ship-spec svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--warning-gold); }
.ship-card__text { font-size: 14px; line-height: 1.6; color: var(--text-body); flex-grow: 1; margin-bottom: 16px; }
.ship-card__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--warning-gold);
  text-decoration: none;
}
.ship-card__link:hover { text-decoration: underline; }

/* Close block */
.close-block { text-align: center; padding: 40px 0; }
