/* The LuRu Log — public site. Light, fast, nautical without the kitsch. */
:root {
  --navy: #12384f;
  --navy-deep: #0c2635;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #22313c;
  --muted: #6b7b87;
  --gold: #c9a227;
  --line: #e5ded0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.site-header {
  background: var(--navy);
  color: var(--cream);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}
.brand {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}
.brand .anchor { color: var(--gold); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: Helvetica, Arial, sans-serif; font-size: 0.85rem; }
.site-header nav a { color: #b9cdd9; text-decoration: none; padding: 2px 0; }
.site-header nav a:hover { color: #fff; }
.site-header nav a.cta { color: var(--gold); font-weight: 600; }

main { max-width: 760px; margin: 0 auto; padding: 24px 18px 60px; }

.hero { text-align: center; padding: 28px 0 10px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 6px; color: var(--navy); }
.hero p { color: var(--muted); margin: 0; font-style: italic; }

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 26px 0;
}
.card-photo img { width: 100%; max-height: 420px; object-fit: cover; }
.card-body { padding: 18px 22px 20px; }
.meta { font-family: Helvetica, Arial, sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: #8a6d3b; }
.post-card h2 { margin: 6px 0 8px; font-size: 1.45rem; line-height: 1.25; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.excerpt { margin: 0 0 8px; color: var(--ink); }
.byline { font-style: italic; color: var(--muted); font-size: 0.9rem; }

.pager { display: flex; justify-content: space-between; font-family: Helvetica, Arial, sans-serif; font-size: 0.9rem; }
.pager a { text-decoration: none; }

.post-full h1 { color: var(--navy); font-size: 2rem; line-height: 1.2; margin: 6px 0 4px; }
.post-full .cover { margin: 20px 0; }
.post-full figure { margin: 22px 0; }
.post-full figure img { border-radius: 8px; }
.post-full figcaption { font-size: 0.85rem; color: var(--muted); font-style: italic; margin-top: 6px; }
.post-full .body { font-size: 1.06rem; }
.post-full .body p { margin: 1em 0; }
.post-full .body strong { color: var(--navy); }

.write-back {
  margin-top: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.write-back h3 { margin: 0 0 6px; color: var(--navy); }
.write-back p { font-size: 0.95rem; color: var(--muted); margin-top: 0; }
.write-back label { display: block; font-family: Helvetica, Arial, sans-serif; font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.write-back input, .write-back textarea, .subscribe-form input {
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 4px;
  background: #fffdf8;
}
.write-back button, .subscribe-form button {
  margin-top: 16px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 1rem;
  font-family: Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.write-back button:hover, .subscribe-form button:hover { background: var(--navy-deep); }
.hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }

.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
.subscribe-form input { flex: 1 1 240px; margin-top: 0; }
.subscribe-form button { margin-top: 0; flex: 0 0 auto; }
.note { font-size: 0.88rem; color: var(--muted); }
.flash { padding: 12px 16px; border-radius: 8px; font-family: Helvetica, Arial, sans-serif; font-size: 0.92rem; margin: 14px 0; }
.flash.ok { background: #e8f2e6; color: #285b28; border: 1px solid #cfe3cc; }
.flash.err { background: #f7e8e6; color: #7a2f28; border: 1px solid #ecd2ce; }

.static-page h1, .voyage h1 { color: var(--navy); }
.static-page.center { text-align: center; padding-top: 40px; }
.empty { text-align: center; color: var(--muted); font-style: italic; padding: 40px 0; }

.voyage-map { height: 480px; border-radius: 10px; border: 1px solid var(--line); margin: 18px 0 8px; background: #dfe8ec; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-family: Helvetica, Arial, sans-serif; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.leg-track { color: var(--navy); }
.leg-plan { color: #8a6d3b; }
.itinerary-h { color: var(--navy); font-size: 1.2rem; margin: 26px 0 6px; }
.position-list { list-style: none; padding: 0; font-size: 0.95rem; }
.position-list li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.position-list time { font-family: Helvetica, Arial, sans-serif; font-size: 0.8rem; color: var(--muted); min-width: 92px; padding-top: 2px; }
.position-list em { color: var(--muted); }

.btn-unsub { background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: 11px 22px; font-size: 1rem; font-family: Helvetica, Arial, sans-serif; cursor: pointer; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 18px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-links { margin-top: 6px; font-family: Helvetica, Arial, sans-serif; font-size: 0.82rem; }

@media (max-width: 540px) {
  .post-full h1 { font-size: 1.6rem; }
  .voyage-map { height: 320px; }
}
