/* ARTICLE */
.article-nav { position: sticky; top: 57px; z-index: 50; max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: rgba(6,16,30,0.92); backdrop-filter: blur(14px); border-bottom: 0.5px solid var(--border); }
  .article-back { background: none; border: none; font-size: 13px; color: var(--text2); cursor: pointer; display: flex; align-items: center; gap: 6px; letter-spacing: 0.04em; font-family: 'Jost', sans-serif; text-decoration: none; transition: color 0.2s; }
  .article-back:hover { color: var(--gold-light); }
  .article-nav-title { font-size: 12px; color: var(--text3); max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
  .article-wrap { max-width: var(--max); margin: 0 auto; }
  .article-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px 80px; position: relative; z-index: 1; }
  .article-header { padding: 52px 0 36px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--ocean), transparent) 1; margin-bottom: 44px; }
  .article-tag { display: inline-flex; align-items: center; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wave); font-weight: 500; background: rgba(46,143,217,0.1); border: 0.5px solid rgba(46,143,217,0.25); border-radius: 100px; padding: 5px 14px; margin-bottom: 20px; }
  .article-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5.5vw, 50px); font-weight: 400; color: var(--cream); line-height: 1.15; margin-bottom: 18px; }
  .article-title em { font-style: italic; color: var(--gold-light); }
  .article-lede { font-size: 18px; color: var(--gold); line-height: 1.8; font-weight: 400; margin-bottom: 24px; font-family: 'Playfair Display', serif; font-style: italic; }
  .article-meta { font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 0; }
  .article-meta span { padding: 0 14px; }
  .article-meta span:first-child { padding-left: 0; }
  .article-meta span + span { border-left: 1px solid rgba(46,143,217,0.3); }
  .article-body { font-size: 16px; color: var(--text2); line-height: 1.9; font-weight: 300; }
  .article-body p { margin-bottom: 26px; }
  .article-body p:first-of-type { color: var(--text); font-weight: 400; }
  .article-body h2 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 400; color: var(--cream); margin: 44px 0 16px; line-height: 1.2; padding-left: 14px; border-left: 2px solid var(--ocean); }
  .article-body blockquote { border-left: 2px solid var(--gold); padding: 4px 0 4px 24px; margin: 32px 0; font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: var(--cream); font-weight: 300; line-height: 1.6; }
  .article-body hr { border: none; margin: 44px 0; height: 1px; background: linear-gradient(90deg, var(--ocean), transparent); }
  .pull-stat { text-align: center; padding: 32px 20px; margin: 32px 0; background: var(--surface); border-radius: 12px; border: 0.5px solid var(--border); border-top: 2px solid var(--gold); }
  .pull-stat-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 300; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }
  .pull-stat-label { font-size: 12px; color: var(--text3); letter-spacing: 0.1em; }
  .rating-card { background: var(--surface); border: 0.5px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 24px 0; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border-left: 2px solid var(--gold); }
  .rc-name { font-weight: 500; color: var(--cream); font-size: 16px; margin-bottom: 4px; }
  .rc-desc { font-size: 13px; color: var(--text2); font-weight: 300; }
  .rc-score { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 300; color: var(--gold); text-align: center; line-height: 1; }
  .rc-ship { font-size: 11px; color: var(--text3); text-align: center; margin-top: 4px; }
  .article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 44px; padding-top: 32px; border-top: 0.5px solid var(--border); }
  .article-tag-pill { padding: 5px 14px; border-radius: 100px; font-size: 11px; letter-spacing: 0.08em; border: 0.5px solid var(--border2); color: var(--wave); background: rgba(46,143,217,0.08); transition: background 0.2s, border-color 0.2s; }
  .article-tag-pill:hover { background: rgba(46,143,217,0.18); border-color: var(--wave); }
  .related-section { margin-top: 52px; padding-top: 32px; border-top: 0.5px solid var(--border); }
  .related-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500; }
  .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .related-card { background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; padding: 18px 20px; text-decoration: none; transition: border-color 0.2s; display: block; }
  .related-card:hover { border-color: var(--ocean); }
  .rc-tag { font-size: 10px; letter-spacing: 0.14em; color: var(--wave); text-transform: uppercase; margin-bottom: 6px; display: block; }
  .rc-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 400; color: var(--cream); line-height: 1.3; }
  .article-bottom-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 0.5px solid var(--border); }
  .abn-card { background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: border-color 0.2s, background 0.2s; text-decoration: none; display: block; flex: 1; }
  .abn-card:hover { border-color: var(--ocean); background: var(--navy2); }
  .abn-next { text-align: right; }
  .abn-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: block; margin-bottom: 4px; }
  .abn-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 400; color: var(--cream); line-height: 1.3; }

/* ARTICLE PAGE OVERRIDES */
body.light .article-nav { background: rgba(240,236,228,0.94) !important; }

@media(max-width:600px) {
  .article-inner { padding: 0 20px 60px; }
  .article-nav { padding: 14px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-bottom-nav { flex-direction: column; }
}

/* TIP CARD - used by Sea Notes articles */
.tip-card { background: var(--surface); border: 0.5px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 24px 0; border-left: 2px solid var(--gold); }
.tip-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.tip-text { font-size: 14px; color: var(--text2); line-height: 1.75; font-weight: 300; }

/* READING PROGRESS BAR */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--ocean), var(--wave), var(--gold));
  z-index: 200; transition: width 0.1s linear;
  pointer-events: none;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed; bottom: 28px; right: 24px; z-index: 150;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 0.5px solid var(--border2);
  color: var(--text2); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--navy2); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
body.light .back-to-top { background: var(--surface); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
