/* ============================================================
   Lido Hoppers · lh-blog.css
   Blog-post component classes, translated from the handoff
   component library (BlogPost.jsx, site-lib.jsx, site-lib2.jsx)
   into reusable CSS so the block-pattern markup stays clean and
   the whole system can be restyled from one place.
   Load order: colors_and_type.css → brand.css → lh-blog.css
   ============================================================ */

/* -- Post canvas + layout grid ------------------------------ */
.lh-root { max-width: 1240px; margin: 0 auto; }
.lh-root * { box-sizing: border-box; }

.lh-post-head { padding: 8px 0 4px; }

.lh-post-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 52px;
  align-items: start; padding: 36px 0 16px;
}
.lh-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }
.lh-article > *:first-child { margin-top: 0; }

@media (max-width: 960px) {
  .lh-post-grid { grid-template-columns: 1fr; gap: 32px; }
  .lh-sidebar { position: static; }
  .lh-post-title { font-size: 32px !important; }
}

/* -- Breadcrumb --------------------------------------------- */
.lh-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-headline); font-size: 13px; font-weight: 500; color: var(--fg3);
}
.lh-breadcrumb a { color: inherit; text-decoration: none; }
.lh-breadcrumb .lh-breadcrumb__current { color: var(--ocean-blue); }
.lh-breadcrumb .lh-breadcrumb__sep { opacity: 0.5; }

/* -- Category pills row -------------------------------------- */
.lh-pillrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.lh-pill--muted { background: var(--sand-100); color: var(--fg3); }

/* -- Title + byline ----------------------------------------- */
.lh-post-title {
  font-family: var(--font-headline); font-weight: 700; font-size: 44px; line-height: 1.06;
  letter-spacing: -0.01em; color: var(--deep-hull-navy); margin: 12px 0 16px; max-width: 900px;
}
.lh-byline { display: flex; align-items: center; gap: 14px; }
.lh-byline__avatars { display: flex; }
.lh-byline__avatar {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--deck-white);
  background: linear-gradient(160deg, #EAE2D2, #D9D0BE);
}
.lh-byline__avatar + .lh-byline__avatar { margin-left: -12px; background: var(--bliss-soft); }
.lh-byline__name { font-family: var(--font-headline); font-weight: 600; font-size: 14px; color: var(--deep-hull-navy); line-height: 1.3; }
.lh-byline__meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg3); letter-spacing: 0.02em; line-height: 1.3; }

/* -- Video hero --------------------------------------------- */
.lh-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 56px rgba(30,58,95,0.18); background: #000; margin-top: 8px;
}
.lh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Click-to-load YouTube facade (keeps YouTube JS/cookies out of first load) */
.lh-video__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; cursor: pointer; background: #000; display: block; }
.lh-video__thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(232,105,74,0.92); color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; padding-left: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.45); transition: background 0.15s, transform 0.15s; }
.lh-video__facade:hover .lh-video__play, .lh-video__facade:focus-visible .lh-video__play { background: var(--aloha-coral); transform: translate(-50%,-50%) scale(1.06); }
.lh-videometa { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.lh-videometa__left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lh-videometa__stat { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg3); }
.lh-videometa__sub { font-family: var(--font-headline); font-weight: 600; font-size: 13px; color: var(--aloha-coral); text-decoration: none; }

/* -- Article body ------------------------------------------- */
.lh-hook { font-family: var(--font-headline); font-weight: 500; font-size: 20px; line-height: 1.55; color: var(--deep-hull-navy); margin: 0 0 18px; }
.lh-prose { font-size: 16.5px; color: var(--fg2); line-height: 1.78; margin: 0 0 16px; }
.lh-prose--gap { margin-bottom: 32px; }
.lh-section-h2 { font-family: var(--font-headline); font-weight: 700; font-size: 29px; color: var(--deep-hull-navy); margin: 0 0 14px; padding-top: 4px; }
.lh-section-h3 { font-family: var(--font-headline); font-weight: 700; font-size: 19px; color: var(--deep-hull-navy); margin: 24px 0 8px; }
.lh-article p + .lh-section-h3 { margin-top: 26px; }

.lh-figure { margin: 0 0 20px; }
.lh-figure .lh-photo { aspect-ratio: 16/9; border-radius: 14px; }

/* Native Gutenberg image blocks inside the article column */
.lh-article .wp-block-image { margin: 0 0 22px; }
.lh-article .wp-block-image img { width: 100%; height: auto; border-radius: 14px; display: block; }
.lh-article .wp-block-image figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--fg3); text-align: center; margin-top: 8px; }

/* -- In-content data table (class lands on the wp:table figure) -- */
.lh-table { margin: 10px 0 30px; }
.lh-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.lh-table th { background: var(--deep-hull-navy); color: var(--deck-white); font-family: var(--font-headline); font-weight: 700; text-align: left; padding: 12px 15px; font-size: 13.5px; }
.lh-table td { padding: 12px 15px; border-bottom: 1px solid var(--sand-300); color: var(--fg2); vertical-align: top; line-height: 1.5; }
.lh-table tr:nth-child(even) td { background: var(--sand-100); }

.lh-pullquote {
  margin: 24px 0; padding: 0 0 0 20px; border-left: 4px solid var(--ocean-blue);
  font-family: var(--font-headline); font-weight: 500; font-size: 19px; line-height: 1.45;
  color: var(--deep-hull-navy); font-style: italic;
}

/* -- Callouts (Captain Tony / Christina) -------------------- */
.lh-callout { display: flex; gap: 18px; padding: 26px; border-radius: 16px; align-items: flex-start; border: 1px solid; margin: 16px 0; }
.lh-callout--tony { background: rgba(47,143,214,0.08); border-color: rgba(47,143,214,0.28); }
.lh-callout--christina { background: rgba(168,88,197,0.08); border-color: rgba(168,88,197,0.28); }
.lh-callout__avatar { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; border: 2px solid var(--deck-white); }
.lh-callout--tony .lh-callout__avatar { background: linear-gradient(160deg, #EAE2D2, #D9D0BE); }
.lh-callout--christina .lh-callout__avatar { background: linear-gradient(160deg, #C99BDA, #A858C5); }
.lh-callout__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.lh-callout__name { font-family: var(--font-headline); font-weight: 700; font-size: 15px; }
.lh-callout--tony .lh-callout__name, .lh-callout--tony .lh-callout__mark { color: var(--ocean-blue); }
.lh-callout--christina .lh-callout__name, .lh-callout--christina .lh-callout__mark { color: var(--tropic-purple); }
.lh-callout__role { font-family: var(--font-mono); font-size: 10px; color: var(--fg3); text-transform: uppercase; letter-spacing: 0.04em; }
.lh-callout__body { font-size: 15.5px; color: var(--fg2); line-height: 1.55; }
.lh-callout__body p:last-child { margin-bottom: 0; }

/* -- Final verdict block ------------------------------------ */
.lh-finalverdict { padding: 26px 30px; background: var(--bliss-soft); border-radius: 18px; border: 1px solid rgba(47,143,214,0.2); margin-top: 32px; }
.lh-finalverdict__title { font-size: 22px; font-family: var(--font-headline); font-weight: 700; color: var(--deep-hull-navy); margin: 0 0 10px; }
.lh-finalverdict__body { font-size: 16px; color: var(--fg2); line-height: 1.72; margin: 0; }

/* -- Key takeaways ------------------------------------------ */
.lh-takeaways { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: 14px; padding: 18px 22px; margin: 4px 0 24px; }
.lh-takeaways__title { font-family: var(--font-headline); font-weight: 700; font-size: 13px; color: var(--deep-hull-navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.lh-takeaways ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lh-takeaways li { display: flex; gap: 10px; font-size: 15px; color: var(--fg2); line-height: 1.45; }
.lh-takeaways li::before { content: "✓"; color: var(--frog-green); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   SIDEBAR COMPONENTS
   ============================================================ */

/* Generic sidebar panel with a navy header bar */
.lh-panel { background: var(--deck-white); border: 1px solid var(--sand-300); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.lh-panel__head { padding: 13px 20px; background: var(--deep-hull-navy); color: var(--deck-white); font-family: var(--font-headline); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }

/* Quick facts (single column) */
.lh-quickfacts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--sand-300); }
.lh-quickfacts__item { background: var(--deck-white); padding: 16px 18px; }
.lh-quickfacts__l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg3); }
.lh-quickfacts__v { font-family: var(--font-headline); font-weight: 600; font-size: 16px; margin-top: 4px; color: var(--deep-hull-navy); }

/* Verdict box (yes / no / who) */
.lh-verdict { background: var(--deck-white); border: 1px solid var(--sand-300); border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; }
.lh-verdict__head { padding: 14px 22px; background: var(--deep-hull-navy); color: var(--deck-white); font-family: var(--font-headline); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; }
.lh-verdict__body { padding: 8px; }
.lh-verdict__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; align-items: start; border-bottom: 1px solid var(--surface-divider); }
.lh-verdict__row:last-child { border-bottom: none; }
.lh-verdict__label { display: flex; align-items: center; gap: 8px; font-family: var(--font-headline); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; }
.lh-verdict__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.lh-verdict__text { font-size: 15px; color: var(--fg2); line-height: 1.45; }
.lh-verdict__row--yes .lh-verdict__dot { background: var(--frog-green); }
.lh-verdict__row--yes .lh-verdict__label { color: var(--deep-leaf); }
.lh-verdict__row--no  .lh-verdict__dot { background: var(--aloha-coral); }
.lh-verdict__row--no  .lh-verdict__label { color: var(--aloha-coral); }
.lh-verdict__row--who .lh-verdict__dot { background: var(--ocean-blue); }
.lh-verdict__row--who .lh-verdict__label { color: var(--ocean-blue); }

/* Table of contents */
.lh-toc { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: 14px; padding: 18px 20px; }
.lh-toc__title { font-family: var(--font-headline); font-weight: 700; font-size: 12px; color: var(--fg3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.lh-toc ol { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.lh-toc li { font-family: var(--font-headline); font-weight: 500; font-size: 14px; color: var(--ocean-blue); line-height: 1.35; }
.lh-toc a { color: inherit; text-decoration: none; }

/* Ship navigator / jump-to-section (Sidebar B) */
.lh-jump { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: 14px; padding: 18px 20px; }
.lh-jump__title { font-family: var(--font-headline); font-weight: 700; font-size: 12px; color: var(--fg3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.lh-jump__item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--surface-divider); }
.lh-jump__item:last-child { border-bottom: none; }
.lh-jump__num { width: 22px; height: 22px; border-radius: 50%; background: var(--ocean-blue); color: #fff; font-family: var(--font-headline); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lh-jump__label { font-family: var(--font-headline); font-weight: 500; font-size: 14px; color: var(--ocean-blue); }

/* Pros / cons (Sidebar C) */
.lh-proscons { background: var(--deck-white); border: 1px solid var(--sand-300); border-radius: 16px; overflow: hidden; }
.lh-proscons__group { padding: 14px 18px; }
.lh-proscons__group--pros { border-bottom: 1px solid var(--surface-divider); }
.lh-proscons__title { font-family: var(--font-headline); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.lh-proscons__group--pros .lh-proscons__title { color: var(--deep-leaf); }
.lh-proscons__group--cons .lh-proscons__title { color: var(--aloha-coral); }
.lh-proscons__row { display: flex; gap: 8px; font-size: 13.5px; color: var(--fg2); padding: 5px 0; line-height: 1.4; border-bottom: 1px solid var(--surface-divider); }
.lh-proscons__row:last-child { border-bottom: none; }
.lh-proscons__group--pros .lh-proscons__row::before { content: "✓"; color: var(--frog-green); font-weight: 700; }
.lh-proscons__group--cons .lh-proscons__row::before { content: "✕"; color: var(--aloha-coral); font-weight: 700; }

/* Booking card (Christina) */
.lh-booking { background: var(--deck-white); border: 1px solid var(--sand-300); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.lh-booking__head { background: linear-gradient(180deg, #A858C5, #8E44AD); padding: 22px 26px; color: var(--deck-white); }
.lh-booking__title { font-family: var(--font-headline); font-weight: 700; font-size: 19px; }
.lh-booking__sub { font-size: 13.5px; opacity: 0.9; margin-top: 4px; }
.lh-booking__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.lh-booking input, .lh-booking select, .lh-booking textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--sand-300); font-family: var(--font-body); font-size: 14.5px; color: var(--deep-hull-navy); background: var(--deck-white); outline: none; }
.lh-booking__note { font-size: 12px; color: var(--fg3); text-align: center; }

/* Sidebar CTA blocks (ship / cabin / app) */
.lh-sidecta { border-radius: 16px; padding: 22px; }
.lh-sidecta--navy { background: var(--deep-hull-navy); color: var(--deck-white); }
.lh-sidecta--purple { background: linear-gradient(160deg, #A858C5, #7C3F94); color: #fff; }
.lh-sidecta--bliss { background: var(--bliss-soft); border: 1px solid var(--sky-wash); }
.lh-sidecta__title { font-family: var(--font-headline); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.lh-sidecta--bliss .lh-sidecta__title { color: var(--deep-hull-navy); }
.lh-sidecta__body { font-size: 14px; line-height: 1.5; margin-bottom: 16px; opacity: 0.92; }
.lh-sidecta--bliss .lh-sidecta__body { color: var(--fg2); opacity: 1; }
.lh-appbadges { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   CLOSING BANDS
   ============================================================ */

/* Newsletter band */
.lh-newsletter { background: var(--sky-wash); padding: 56px 24px; margin-top: 24px; }
.lh-newsletter__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.lh-newsletter__kicker { font-family: var(--font-accent); font-size: 28px; color: var(--aloha-coral); }
.lh-newsletter__title { font-family: var(--font-headline); font-weight: 700; font-size: 34px; color: var(--deep-hull-navy); margin: 4px 0 12px; }
.lh-newsletter__body { font-size: 17px; color: var(--fg2); margin-bottom: 24px; }
.lh-newsletter__form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.lh-newsletter__form input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--sand-300); font-family: var(--font-body); font-size: 15px; background: var(--deck-white); color: var(--deep-hull-navy); }

/* Advisor CTA band */
.lh-cta { background: var(--deep-hull-navy); color: var(--deck-white); padding: 64px 40px; position: relative; overflow: hidden; border-radius: 18px 18px 0 0; margin-top: 24px; }
.lh-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(168,88,197,0.35), transparent 70%); }
.lh-cta__inner { position: relative; display: flex; align-items: center; gap: 48px; justify-content: space-between; flex-wrap: wrap; }
.lh-cta__copy { max-width: 620px; }
.lh-cta__title { font-family: var(--font-headline); font-weight: 700; font-size: 36px; color: var(--deck-white); margin: 16px 0 14px; line-height: 1.1; }
.lh-cta__body { font-size: 16.5px; color: rgba(253,253,251,0.85); max-width: 560px; }
.lh-cta__actions { display: flex; flex-direction: column; gap: 14px; min-width: 240px; }
.lh-cta__fineprint { font-size: 13px; opacity: 0.8; text-align: center; margin-top: 4px; }

/* Related posts grid */
.lh-related { padding: 56px 24px; background: var(--sand-100); margin-top: 24px; }
.lh-related__title { font-family: var(--font-headline); font-weight: 700; font-size: 28px; color: var(--deep-hull-navy); margin-bottom: 28px; }
.lh-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lh-related__card { display: block; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; }
.lh-related__card .lh-photo { aspect-ratio: 16/10; }
.lh-related__card-body { padding: 16px 18px 20px; }
.lh-related__card h4 { font-family: var(--font-headline); font-weight: 600; font-size: 16px; line-height: 1.3; margin: 10px 0 0; color: var(--deep-hull-navy); }
.lh-related__card-meta { font-family: var(--font-mono); font-size: 12px; color: var(--fg3); margin-top: 8px; }
@media (max-width: 720px) { .lh-related__grid { grid-template-columns: 1fr; } .lh-newsletter__form { flex-direction: column; } }

/* ============================================================
   THEME INTEGRATION  (Lido Hoppers blog-design posts)
   Scoped to UNBOXED single posts so existing boxed posts are
   left exactly as they are. Two jobs:
   1) render the design on brand off-white (not the dark site bg)
   2) hide the default theme furniture we replace inside the design
   ============================================================ */
body.single-post.content-style-unboxed { background: var(--deck-white); }
body.single-post.content-style-unboxed .content-container,
body.single-post.content-style-unboxed .content-wrap,
body.single-post.content-style-unboxed .entry-content-wrap,
body.single-post.content-style-unboxed .entry.content-bg,
body.single-post.content-style-unboxed .entry.single-entry { background: var(--deck-white); }

.lh-root { background: var(--deck-white); }

/* Remove the theme's default post furniture — we provide our own
   related posts, CTA, and (intentionally) no comments/author/nav. */
body.single-post.content-style-unboxed .comments-area,
body.single-post.content-style-unboxed #comments,
body.single-post.content-style-unboxed .comment-respond,
body.single-post.content-style-unboxed .post-navigation,
body.single-post.content-style-unboxed .entry-author,
body.single-post.content-style-unboxed .author-box,
body.single-post.content-style-unboxed .entry-related { display: none !important; }

/* ============================================================
   AUTHOR AVATARS  (Tony & Christina)
   Real headshots in the byline + Tony's Take / Christina Says
   callout circles. Files live in this assets folder; rules apply
   to every post automatically. Higher-specificity selectors and
   later source order override the gradient placeholders above.
   ============================================================ */
.lh-byline__avatars .lh-byline__avatar--tony,
.lh-callout--tony .lh-callout__avatar {
  background: url('tony.jpg') center/cover no-repeat;
}
.lh-byline__avatars .lh-byline__avatar--christina,
.lh-callout--christina .lh-callout__avatar {
  background: url('christina.jpg') center/cover no-repeat;
}
