/* ============================================================
   LCE Guides — article block skin
   Matched to lce-editorial-skin-v0.3.css (the ferry planner).

   WHY A SEPARATE SHEET: the ferry skin scopes every rule under
   .lce-ferry.lce-ferry, so none of it reaches the guide block even
   though both use .lce-btn and .lce-langpill. Rather than widen the
   ferry sheet's selectors — which would let a change to one widget
   silently restyle the other — this sheet repeats the same design
   decisions under .lce-guide.

   The tokens below are copied values, deliberately. A shared token
   file would be tidier, but the ferry planner is live and working,
   and nothing about selling guides should be able to alter how the
   timetable renders.

   Same discipline as the ferry sheet: no hover states, no shadows,
   no transforms. The double .lce-guide.lce-guide raises specificity
   above Kadence's own button rules without a single !important.
   ============================================================ */

.lce-guide{
  --lcg-navy:#1B3A4B;
  --lcg-accent:#B8956A;
  --lcg-grey:#6B7B8D;
  --lcg-ink2:#4A6472;
  --lcg-hair:#E2E6EA;
  --lcg-white:#FFFFFF;
  --lcg-linen:#F5F0EB;

  background:var(--lcg-white);
  color:var(--lcg-navy);
  border:1px solid var(--lcg-hair);
  border-radius:2px;
  padding:28px 26px 24px;
  margin:36px 0;
  /* The page's own text font — see the note in ferry-panel.css. Playfair
   * stays on the headings and the cover: that is the site's heading face,
   * not a font of the plugin's own choosing. */
  font-family:inherit;
  line-height:1.6;
}

/* The 6mm accent bar from the brochure, as a 3px rule. */
.lce-guide::before{
  content:"";
  display:block;
  width:46px;
  height:3px;
  background:var(--lcg-accent);
  margin:0 0 18px;
}

.lce-guide.lce-guide .lce-gtitle{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:600;
  font-size:clamp(21px,2.6vw,26px);
  line-height:1.2;
  letter-spacing:-.01em;
  color:var(--lcg-navy);
  margin:0 0 10px;
  text-wrap:balance;
}

.lce-guide.lce-guide .lce-gdesc{
  color:var(--lcg-ink2);
  font-size:15.5px;
  margin:0 0 20px;
  max-width:58ch;
}

/* ---------- cover + language row ---------- */
.lce-guide.lce-guide .lce-grow{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 0 20px;
}
.lce-guide.lce-guide .lce-gcover{
  border:1px solid var(--lcg-hair);
  border-radius:1px;
  display:block;
  flex:0 0 auto;
}
.lce-guide.lce-guide .lce-glangs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

/* Language pills — same shape and weight as the ferry planner's. */
.lce-guide.lce-guide .lce-langpill{
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:var(--lcg-white);
  color:var(--lcg-navy);
  border:1px solid var(--lcg-hair);
  border-radius:999px;
  padding:7px 15px;
  cursor:pointer;
  line-height:1.2;
}
.lce-guide.lce-guide .lce-langpill:hover{
  background:var(--lcg-white);
  color:var(--lcg-navy);
  border-color:var(--lcg-navy);
  box-shadow:none;transform:none;text-decoration:none;opacity:1;
}
/* Active state must outrank the hover kill above — declared later,
   equal specificity. Same mechanism the ferry sheet relies on. */
.lce-guide.lce-guide .lce-langpill.on{
  background:var(--lcg-navy);
  color:var(--lcg-white);
  border-color:var(--lcg-navy);
}
.lce-guide.lce-guide .lce-langpill:disabled{
  opacity:.35;
  cursor:default;
}

/* ---------- price + buy ---------- */
.lce-guide.lce-guide .lce-pricerow{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  padding-top:18px;
  border-top:1px solid var(--lcg-hair);
}
.lce-guide.lce-guide .lce-pricerow .pv{
  font-family:'Playfair Display',Georgia,serif;
  font-size:27px;
  font-weight:600;
  color:var(--lcg-navy);
  line-height:1;
}

.lce-guide.lce-guide .lce-btn{
  font-size:.79rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  background:var(--lcg-navy);
  color:var(--lcg-white);
  border:1px solid var(--lcg-navy);
  border-radius:999px;
  padding:11px 30px;
  width:auto;
  cursor:pointer;
  line-height:1.2;
  font-family:inherit;
}
.lce-guide.lce-guide .lce-btn:hover{
  background:var(--lcg-navy);
  color:var(--lcg-white);
  border-color:var(--lcg-navy);
  box-shadow:none;transform:none;text-decoration:none;opacity:1;
}
.lce-guide.lce-guide .lce-btn:disabled{
  opacity:.4;
  cursor:default;
}

.lce-guide.lce-guide .lce-gfine{
  color:var(--lcg-grey);
  font-size:13px;
  margin:14px 0 0;
}

/* ---------- the email + consent panel ---------- */
.lce-guide.lce-guide .lce-gform{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--lcg-hair);
}
.lce-guide.lce-guide .lce-gform[hidden]{display:none;}

.lce-guide.lce-guide .lce-gfield{
  display:block;
  margin:0 0 4px;
}
.lce-guide.lce-guide .lce-gfield span{
  display:block;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--lcg-grey);
  margin:0 0 7px;
}
.lce-guide.lce-guide .lce-gemail{
  width:100%;
  max-width:380px;
  font-family:inherit;
  font-size:15px;
  color:var(--lcg-navy);
  background:var(--lcg-white);
  border:1px solid var(--lcg-hair);
  border-radius:2px;
  padding:11px 13px;
}
.lce-guide.lce-guide .lce-gemail:focus{
  outline:none;
  border-color:var(--lcg-navy);
}
.lce-guide.lce-guide .lce-gfield-note{
  color:var(--lcg-grey);
  font-size:13px;
  margin:7px 0 18px;
}

/* Consent sits on linen so it reads as a distinct, deliberate act
   rather than another line of small print. */
.lce-guide.lce-guide .lce-gconsentrow{
  display:flex;
  align-items:flex-start;
  gap:11px;
  background:var(--lcg-linen);
  border-left:3px solid var(--lcg-accent);
  padding:14px 16px;
  margin:0 0 6px;
  font-size:13.5px;
  line-height:1.55;
  color:var(--lcg-ink2);
  cursor:pointer;
}
.lce-guide.lce-guide .lce-gconsent{
  flex:0 0 auto;
  margin-top:3px;
  width:17px;
  height:17px;
  accent-color:var(--lcg-navy);
  cursor:pointer;
}

.lce-guide.lce-guide .lce-gpay{
  margin-top:18px;
}

.lce-guide.lce-guide .lce-gmsg{
  font-size:14px;
  color:var(--lcg-ink2);
  margin:12px 0 0;
  min-height:1.2em;
}
.lce-guide.lce-guide .lce-gmsg.is-error{
  color:#9A4034;
}

@media (max-width:540px){
  .lce-guide{padding:22px 18px 20px;}
  .lce-guide.lce-guide .lce-pricerow{gap:14px;}
  .lce-guide.lce-guide .lce-btn{padding:11px 24px;}
}

/* ---- the drawn cover ----------------------------------------
   Not an image. See lce_guides_cover_markup().

   SIZE IS THE WHOLE POINT. The first version was 34x48 with 6.5px
   type — present in the DOM, invisible on the page. Eugen's exact
   words: "non la vedo". A preview the buyer does not notice is not
   a preview, so this is sized to read as a book at a glance and to
   anchor the left of the block.
   ------------------------------------------------------------ */
.lce-guide.lce-guide .lce-grow{
  align-items:center;
  gap:20px;
}
.lce-guide.lce-guide .lce-gcover{
  flex:0 0 auto;
  width:96px; height:136px;              /* ~1:1.41, an A-format book */
  background:var(--lcg-navy);
  color:var(--lcg-white);
  border:0;
  border-radius:2px;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:13px 12px;
  overflow:hidden;
  position:relative;
  /* A spine down the binding edge, so it reads as an object and not
     a navy rectangle. Inset shadow only — no drop shadow anywhere in
     this design system. */
  box-shadow:inset 5px 0 0 rgba(255,255,255,.10), inset 6px 0 0 rgba(0,0,0,.22);
}
/* The brochure's accent bar, at cover scale. */
.lce-guide.lce-guide .lce-gcover::before{
  content:"";
  position:absolute; left:12px; top:14px;
  width:26px; height:3px;
  background:var(--lcg-accent);
}
.lce-guide.lce-guide .lce-gcover > span{
  font-family:'Playfair Display',Georgia,serif;
  font-size:15px; line-height:1.15; font-weight:600;
  letter-spacing:.005em;
  text-wrap:balance;
}
/* Larger variant for the planner panel's cover stack. */
.lce-guide.lce-guide .lce-gcover--lg{
  width:112px; height:158px; padding:15px 14px;
}
.lce-guide.lce-guide .lce-gcover--lg::before{ width:30px; left:14px; top:16px; }
.lce-guide.lce-guide .lce-gcover--lg > span{ font-size:17px; }

@media (max-width:540px){
  .lce-guide.lce-guide .lce-grow{ gap:16px; }
  .lce-guide.lce-guide .lce-gcover{ width:82px; height:116px; padding:11px 10px; }
  .lce-guide.lce-guide .lce-gcover::before{ width:22px; left:10px; top:12px; }
  .lce-guide.lce-guide .lce-gcover > span{ font-size:13px; }
}

/* =======================================================================
 * The download page after a payment.
 *
 * This is the only screen a paying customer sees between Stripe and their
 * PDF, and the link to the file was rendered as a bullet-list anchor — blue,
 * underlined, the same weight as a footnote. It is the most important control
 * on the site and it looked like the least important one. Now it is the same
 * navy pill as every other call to action on lakecomoexplorer.com.
 * ==================================================================== */
.lce-dl{
	font-family:inherit;
	color:var(--lcg-navy,#1B3A4B);
	margin:0 0 8px;
}
/* `.entry-content p` from the theme is two classes deep and would win over a
 * single class here, which is why the lede came out in the body face on the
 * first pass. The element selector takes it back without an !important. */
.lce-dl p.lce-dl-lede{
	font-family:'Playfair Display',Georgia,serif;
	font-size:21px; font-weight:600; line-height:1.25;
	margin:0 0 18px; color:var(--lcg-navy,#1B3A4B);
}
.lce-dl .lce-dl-actions{
	display:flex; flex-wrap:wrap; gap:10px; margin:0 0 18px;
}
.lce-dl a.lce-dl-btn{
	display:inline-flex; align-items:center; gap:.5ch;
	background:var(--lcg-navy,#1B3A4B); color:#fff;
	border:1px solid var(--lcg-navy,#1B3A4B); border-radius:999px;
	padding:13px 30px; text-decoration:none;
	font-family:inherit; font-size:.79rem; font-weight:900;
	letter-spacing:.1em; text-transform:uppercase; line-height:1.2;
}
/* No hover lift, no shadow, no transform — the rest of the site does not do
 * them and this page is not the place to start. */
.lce-dl a.lce-dl-btn:hover,
.lce-dl a.lce-dl-btn:focus{ color:#fff; text-decoration:none; background:#16303e; border-color:#16303e }
.lce-dl a.lce-dl-btn:focus-visible{ outline:2px solid var(--lcg-gold-ink,#9C7A48); outline-offset:2px }
.lce-dl p.lce-dl-note{
	font-size:13px; line-height:1.5;
	color:var(--lcg-grey,#6B7B8D); margin:0;
}
@media (max-width:520px){
	.lce-dl .lce-dl-actions{ flex-direction:column; align-items:stretch }
	.lce-dl a.lce-dl-btn{ justify-content:center }
}

/* Terms link beside the consent tick in the article block — see the note in
 * ferry-panel.css. */
.lce-guide.lce-guide .lce-gconsentrow a.lce-terms-link{
	color:var(--lcg-navy); text-decoration:underline;
	text-underline-offset:2px; text-decoration-thickness:1px; white-space:nowrap;
}
