/* Lillytime 0.13.6 — editorial reading styles and color worlds */
:root{--lt-editorial-accent:var(--lt-accent,#b56f79);--lt-editorial-rule:rgba(99,59,66,.25)}
body.lt-color-gold{--lt-paper:#faf7ef;--lt-soft:#ede5d3;--lt-accent:#ac8b4e;--lt-deep:#63563e;--lt-ivory:#faf7ef;--lt-olive:#63563e;--lt-taupe:#ac8b4e;--lt-editorial-accent:#ac8b4e;--lt-editorial-rule:rgba(99,86,62,.25);--wp--preset--color--paper:#faf7ef;--wp--preset--color--sand:#ede5d3;--wp--preset--color--accent:#ac8b4e;--wp--preset--color--deep:#63563e}
body.lt-color-gold :is(.lt-front-v5,body)::before{color:var(--lt-accent)}
body.lt-color-gold :is(.lt-front-v5,body)::after{color:var(--lt-accent)}
/* Recolor decorative watercolor backgrounds while retaining the original botanical layer. */
body.lt-color-gold .lt-front-v5::before,body.lt-color-gold .lt-front::before,body.lt-color-gold.category::before{background-image:url('../decor/watercolor-left-gold.webp'),url('../decor/botanical-left.svg')!important}
body.lt-color-gold .lt-front-v5::after,body.lt-color-gold .lt-front::after,body.lt-color-gold.category::after{background-image:url('../decor/watercolor-right-gold.webp'),url('../decor/botanical-right.svg')!important}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content{font-size:18px;line-height:1.75;color:var(--lt-ink,#292523)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content :is(p,ul,ol){max-width:100%;}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content p{margin-block:0 1.5em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content :is(h2,h3){font-family:Georgia,'Times New Roman',serif;color:var(--lt-deep,#633b42);line-height:1.23;letter-spacing:-.025em;font-weight:400}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content h2{font-size:clamp(27px,2.7vw,34px);margin:2.15em 0 .85em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content h2:not(.is-style-lt-heading-plain):not(.is-style-lt-heading-over)::after{content:'';display:block;width:48px;height:0;border-top:2px solid var(--lt-editorial-accent);background:none;margin-top:17px}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content h2.is-style-lt-heading-over::before{content:'';display:block;width:48px;height:0;border-top:2px solid var(--lt-editorial-accent);background:none;margin-bottom:17px}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content h3{font-size:clamp(23px,2vw,27px);margin:1.7em 0 .65em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content :is(ul,ol){padding-inline-start:1.4em;margin-block:0 1.5em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content li{padding-inline-start:.22em;margin-bottom:.35em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content li::marker{color:var(--lt-editorial-accent)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-list-dashes{list-style:none;padding-left:0}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-list-dashes li{position:relative;padding-left:1.3em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-list-dashes li::before{content:'—';position:absolute;left:0;color:var(--lt-editorial-accent)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content :is(figcaption,.wp-element-caption){font-size:13px;line-height:1.6;color:var(--lt-deep,#633b42);opacity:.8;margin-top:10px;text-align:left}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-caption-centered figcaption{text-align:center}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content blockquote{margin:2.5em 0;padding:0 0 0 22px;border-left:2px solid var(--lt-editorial-accent);font:italic clamp(23px,2.5vw,31px)/1.45 Georgia,serif;color:var(--lt-deep)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content blockquote p{margin-bottom:.4em}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-quote-open{border:0;padding:12px 0;text-align:center;font-size:clamp(26px,3vw,38px)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-quote-open::before{content:'“';display:block;color:var(--lt-editorial-accent);font:60px/.7 Georgia,serif}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-note{padding:12px 0 12px 23px;border-left:2px solid var(--lt-editorial-accent);color:var(--lt-deep);background:transparent}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-note p:last-child{margin-bottom:0}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content hr{border:0;border-top:1px solid var(--lt-editorial-rule);margin:3em auto}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content hr.is-style-lt-rule-short{width:64px;border-color:var(--lt-editorial-accent)}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content hr.is-style-lt-rule-ornament{border:0;text-align:center;overflow:visible}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content hr.is-style-lt-rule-ornament::after{content:'✳';display:inline-block;color:var(--lt-editorial-accent);font-size:21px;line-height:1}
body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .is-style-lt-dropcap:first-letter{float:left;font:normal 3.5em/.8 Georgia,serif;color:var(--lt-editorial-accent);margin:.08em .12em 0 0}
/* Theme lightbox: all controls collected in bottom right */.lt136-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(23,20,21,.96);display:flex;flex-direction:column;justify-content:center;padding:55px 25px 24px;color:#fff}
.lt136-lightbox-image{max-height:calc(100dvh - 160px)}
.lt136-lightbox-controls{display:flex;justify-content:flex-end;align-items:center;gap:22px;margin-top:20px;color:#cfa0a9}
body.lt-color-gold .lt136-lightbox-controls{color:#c5a66c}
.lt136-lightbox-controls button,.lt136-lightbox-close{appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;min-width:44px;min-height:44px}
.lt136-lightbox-controls button{font-size:26px}.lt136-lightbox-count{display:flex;align-items:flex-end;gap:5px;font-family:Georgia,serif;font-variant-numeric:tabular-nums}.lt136-lightbox-current{font-size:40px;line-height:1;color:#fff}.lt136-lightbox-total{font-size:13px;line-height:1.3;align-self:flex-end;margin-bottom:3px}.lt136-lightbox-close{position:absolute;right:20px;top:15px;font-size:30px;color:#fff}.lt136-lightbox-caption{font-size:13px;color:#c9c2c2;max-width:75ch;text-align:center;margin-top:8px}
@media(max-width:600px){.lt136-lightbox{padding:55px 12px 16px}.lt136-lightbox-controls{gap:8px;margin-top:12px}.lt136-lightbox-image{max-height:calc(100dvh - 180px)}}
/* Gutenberg editor previews for editorial block styles */
.editor-styles-wrapper .wp-block-heading.is-style-lt-heading-over::before{content:'';display:block;width:48px;height:0;border-top:2px solid var(--lt-editorial-accent,#b56f79);background:none;margin-bottom:17px}
.editor-styles-wrapper .wp-block-heading.is-style-lt-heading-plain::after{display:none!important}
.editor-styles-wrapper .wp-block-quote.is-style-lt-quote-open{font:italic 30px/1.45 Georgia,serif;text-align:center;border:0}
.editor-styles-wrapper .wp-block-paragraph.is-style-lt-note,.editor-styles-wrapper p.is-style-lt-note{border-left:2px solid #b56f79;padding:12px 0 12px 22px}
.editor-styles-wrapper p.is-style-lt-dropcap:first-letter{float:left;font:normal 3.5em/.8 Georgia,serif;color:#b56f79;margin:.08em .12em 0 0}
.editor-styles-wrapper hr.is-style-lt-rule-short{width:64px;border-top:1px solid #b56f79}

/* v0.13.7: editor fidelity and unified accent icons */
.editor-styles-wrapper h2.wp-block-heading:not(.is-style-lt-heading-plain):not(.is-style-lt-heading-over)::after{content:'';display:block;width:48px;height:0;border-top:2px solid var(--lt-editorial-accent,#b56f79);background:none;margin-top:17px}
.editor-styles-wrapper .wp-block-group.is-style-lt-note, .editor-styles-wrapper p.is-style-lt-note,body:is(.single-post,.page):where(:not(.home)) .wp-block-post-content .wp-block-group.is-style-lt-note{border-left:2px solid var(--lt-editorial-accent,#b56f79);padding:12px 0 12px 22px;background:transparent}
body.lt-color-gold :is(.lt113-clock,.lt114-clock,.lt119-clock){color:var(--lt-accent)!important;stroke:var(--lt-accent)!important}

/* v0.13.9: viewport-fixed image stage and controls: no movement between image formats. */
.lt136-lightbox{display:grid;grid-template-rows:minmax(0,1fr) auto auto;justify-items:center;align-items:center;padding:55px clamp(12px,3vw,40px) 22px;gap:0}
.lt136-lightbox-image{grid-row:1;grid-column:1;max-width:100%;max-height:100%;width:auto;height:auto;min-height:0;object-fit:contain;align-self:center}
.lt136-lightbox-caption{grid-row:2;grid-column:1;min-height:22px;margin:5px 0 0;max-height:38px;overflow:hidden}
.lt136-lightbox-controls{grid-row:3;grid-column:1;width:min(100%,1350px);height:65px;min-height:65px;margin:0;align-self:end}
.lt136-lightbox-close{z-index:2}
@media(max-width:600px){.lt136-lightbox{padding:55px 12px 12px}.lt136-lightbox-controls{height:58px;min-height:58px}}
/* Use the active palette consistently for category editorial quotations. */
body.lt-color-gold.category .lt119-thought::before{color:rgba(172,139,78,.16)}
body.lt-color-gold.category .lt119-thought-label,body.lt-color-gold.category .lt119-thought-bottom{color:var(--lt-deep)}
body.lt-color-gold.category .lt119-thought blockquote{color:var(--lt-deep)}
body.lt-color-gold.category .lt-chapter-thought .lt-thought-eyebrow,body.lt-color-gold.category .lt-chapter-thought .lt-thought-signature{color:var(--lt-accent)}
body.lt-color-gold.category .lt-chapter-thought blockquote{color:var(--lt-deep)}
body.lt-color-gold.category .lt119-clock{stroke:var(--lt-accent)}
body.lt-color-gold .lt113-meta-separator,body.lt-color-gold .lt114-card-dot{color:var(--lt-accent)}

/* v0.14.0: quiet warm lightbox with viewport-anchored controls. */
.lt136-lightbox{background:rgba(248,245,241,.97)!important;color:#38312e!important;box-sizing:border-box!important;display:block!important;padding:0!important}
.lt136-lightbox[hidden]{display:none!important}
.lt136-lightbox-image{position:absolute!important;left:50%!important;top:calc(50% - 20px)!important;transform:translate(-50%,-50%)!important;max-width:calc(100vw - 70px)!important;max-height:calc(100dvh - 165px)!important;width:auto!important;height:auto!important;object-fit:contain!important}
.lt136-lightbox-caption{position:fixed!important;bottom:83px!important;left:50%!important;transform:translateX(-50%)!important;width:min(75ch,calc(100vw - 50px))!important;color:#6c625e!important;margin:0!important;max-height:35px!important;overflow:hidden!important}
.lt136-lightbox-controls{position:fixed!important;right:clamp(16px,4vw,64px)!important;bottom:clamp(12px,2vh,25px)!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;min-width:165px!important;height:60px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;margin:0!important;padding:0!important;gap:14px!important;color:var(--lt-accent,#b77d86)!important}
.lt136-lightbox-current{color:#39322f!important}.lt136-lightbox-total{color:var(--lt-accent,#b77d86)!important}
.lt136-lightbox-close{position:fixed!important;right:clamp(16px,4vw,64px)!important;top:16px!important;color:var(--lt-deep,#514746)!important}
@media(max-width:600px){.lt136-lightbox-image{max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 150px)!important}.lt136-lightbox-caption{bottom:77px!important}.lt136-lightbox-controls{right:12px!important;bottom:8px!important;gap:7px!important}}

/* v0.14.4: gallery tile geometry is owned by the tile, not by image intrinsic sizes.
   This prevents an over-tall implicit CSS grid row from stretching the whole gallery. */
body.single-post .wp-block-post-content .wp-block-gallery,
body.single-post .wp-block-post-content .gallery {
  --lt-gallery-cols: 3;
  display: grid !important;
  grid-template-columns: repeat(var(--lt-gallery-cols), minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: max-content !important;
  grid-auto-flow: row !important;
  gap: clamp(7px, 1vw, 12px) !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: start !important;
  align-content: start !important;
  box-sizing: border-box !important;
}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-1{--lt-gallery-cols:1}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-2{--lt-gallery-cols:2}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-3{--lt-gallery-cols:3}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-4{--lt-gallery-cols:4}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-5{--lt-gallery-cols:5}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-6{--lt-gallery-cols:6}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-7{--lt-gallery-cols:7}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).columns-8{--lt-gallery-cols:8}
/* Explicit dimensions on every tile, including the sixth (+N) tile. */
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) > :is(figure,.gallery-item),
body.single-post .wp-block-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image {
  position: relative !important;
  display: block !important;
  float: none !important;
  flex: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) > :is(figure,.gallery-item) > a,
body.single-post .wp-block-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image > a {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) > :is(figure,.gallery-item) img,
body.single-post .wp-block-post-content .wp-block-gallery.has-nested-images > figure.wp-block-image img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
/* The natural style uses an uncropped image, centered within a predictable tile. */
body.single-post .wp-block-post-content .wp-block-gallery.is-style-lt-gallery-natural > figure img {object-fit: contain !important}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) > :is(figure,.gallery-item) figcaption {
  position: absolute !important;
  z-index: 2 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 8px 7px !important;
  background: linear-gradient(transparent,rgba(0,0,0,.45)) !important;
  color: white !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  pointer-events: none !important;
}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery).lt140-gallery-collapsed > .lt140-extra-tile {display: none !important}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) .lt140-more-tile {cursor: zoom-in !important}
body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery) .lt140-more-tile::after {
  content: ''; position: absolute; inset: 0; background: rgba(32,27,28,.36); pointer-events: none;
}
.lt140-more-label {position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font:normal clamp(15px,2vw,23px)/1.2 Georgia,serif;pointer-events:none;text-align:center}
@media(max-width:780px){body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery){--lt-gallery-cols:2!important}}
@media(max-width:420px){body.single-post .wp-block-post-content :is(.wp-block-gallery,.gallery){gap:7px!important}}
