/* =============================================
   CRUISE ADVICE & TIPS PAGE
   assets/css/tips.css
============================================= */


/* =============================================
   HERO
============================================= */
.tips-hero {
  background: linear-gradient(135deg, #071a39 0%, #0f2d5e 60%, #163a6e 100%);
  padding: 80px 0 65px;
  color: #fff;
}

.tips-hero-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c8a96b;
  font-weight: 600;
  margin-bottom: 12px;
}

.tips-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.tips-hero-sub {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 600px;
  line-height: 1.65;
  margin: 0 auto;
}


/* =============================================
   STICKY CATEGORY NAV
============================================= */
.tips-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a1d44;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tips-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tips-nav::-webkit-scrollbar {
  display: none;
}

.tips-nav-item {
  flex-shrink: 0;
  display: block;
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.tips-nav-item:hover,
.tips-nav-item.active {
  color: #c8a96b;
  border-bottom-color: #c8a96b;
}


/* =============================================
   SECTION WRAPPER
============================================= */
.tips-section {
  padding: 52px 0 20px;
  scroll-margin-top: 56px;  /* height of sticky nav */
}

.tips-section + .tips-section {
  border-top: 1px solid #e8ebf2;
}

.tips-section-header {
  margin-bottom: 32px;
}

.tips-section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: #0a1d44;
  color: #c8a96b;
  margin-bottom: 10px;
}

.tips-section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0a1d44;
  margin-bottom: 6px;
}

.tips-section-intro {
  color: #555;
  font-size: 0.97rem;
  max-width: 740px;
  line-height: 1.7;
}


/* =============================================
   ACCORDION — custom styling over Bootstrap
============================================= */
.tips-accordion .accordion-item {
  border: 1px solid #e2e6ef;
  border-radius: 10px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.tips-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.97rem;
  color: #0a1d44;
  background: #fff;
  padding: 18px 22px;
  box-shadow: none;
}

.tips-accordion .accordion-button:not(.collapsed) {
  background: #f5f7fc;
  color: #0a1d44;
  box-shadow: none;
}

.tips-accordion .accordion-button::after {
  filter: invert(0);
  opacity: 0.5;
}

.tips-accordion .accordion-button:not(.collapsed)::after {
  opacity: 1;
}

.tips-accordion .accordion-body {
  padding: 6px 22px 22px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.75;
}

.tips-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.tips-accordion .accordion-body ul {
  padding-left: 1.4rem;
}

.tips-accordion .accordion-body li {
  margin-bottom: 6px;
}

.tips-accordion .accordion-body strong {
  color: #0a1d44;
}

.tips-tip-box {
  background: #fdf6e3;
  border-left: 4px solid #c8a96b;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: #5a4a1e;
}

.tips-tip-box strong {
  color: #5a4a1e !important;
}


/* =============================================
   COMPARISON TABLE (drinks packages)
============================================= */
.tips-compare-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 3px 18px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

.tips-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  min-width: 700px;
}

.tips-compare-table thead tr {
  background: #0a1d44;
  color: #fff;
}

.tips-compare-table th {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tips-compare-table th:first-child {
  color: #c8a96b;
}

.tips-compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #eef0f5;
  vertical-align: top;
  line-height: 1.5;
}

.tips-compare-table tr:last-child td {
  border-bottom: none;
}

.tips-compare-table tbody tr:nth-child(even) {
  background: #f8f9fc;
}

.tips-compare-table td:first-child {
  font-weight: 700;
  color: #0a1d44;
  white-space: nowrap;
}

.tips-compare-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

.tips-compare-badge--inc {
  background: #d4edda;
  color: #155724;
}

.tips-compare-badge--opt {
  background: #fff3cd;
  color: #856404;
}

.tips-compare-check {
  color: #2e7d32;
  font-weight: 700;
}

.tips-compare-cross {
  color: #c62828;
}


/* =============================================
   SHIP-WITHIN-A-SHIP CARDS
============================================= */
.tips-ship-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  height: 100%;
  border-top: 4px solid #0a1d44;
}

.tips-ship-card-line {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8a96b;
  margin-bottom: 6px;
}

.tips-ship-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1d44;
  margin-bottom: 12px;
}

.tips-ship-card-ships {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 14px;
  font-style: italic;
}

.tips-ship-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-ship-card ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.88rem;
  color: #444;
  border-bottom: 1px solid #eef0f5;
  line-height: 1.4;
}

.tips-ship-card ul li:last-child {
  border-bottom: none;
}

.tips-ship-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: #c8a96b;
  font-weight: 700;
  font-size: 0.85rem;
}

.tips-ship-card-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #666;
  background: #f8f9fc;
  border-radius: 6px;
  padding: 10px 12px;
  line-height: 1.5;
}


/* =============================================
   STAR RATING TIER CARDS
============================================= */
.tips-tier-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  height: 100%;
}

.tips-tier-stars {
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.tips-tier-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 4px;
}

.tips-tier-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1d44;
  margin-bottom: 10px;
}

.tips-tier-lines {
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

.tips-tier-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.tips-tier-card--gold {
  border-top: 4px solid #c8a96b;
}

.tips-tier-card--silver {
  border-top: 4px solid #9e9e9e;
}

.tips-tier-card--bronze {
  border-top: 4px solid #b87333;
}


/* =============================================
   CTA STRIP
============================================= */
.tips-cta-section {
  background: #0a1d44;
  padding: 60px 0;
}


/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 767px) {
  .tips-nav-item {
    padding: 12px 14px;
    font-size: 0.76rem;
  }

  .tips-section {
    padding: 40px 0 16px;
    scroll-margin-top: 50px;
  }

  .tips-section-title {
    font-size: 1.3rem;
  }

  .tips-ship-card {
    padding: 22px 18px;
  }
}
