/* The Light in the Window — V4.1 core-page refinement
   Scoped to Privacy Policy, Support the Story, and The 57 only. */
body.litw-v4-core-page{
  --litw-v4-deep:#172538;
  --litw-v4-navy:#24364d;
  --litw-v4-cream:#f7f3ed;
  --litw-v4-white:#fffdf8;
  --litw-v4-gold:#d4a52c;
  --litw-v4-gold2:#e7bd68;
  --litw-v4-red:#8f3530;
  --litw-v4-ink:#172538;
  background:var(--litw-v4-cream);
  color:var(--litw-v4-ink);
}
body.litw-v4-core-page main{background:var(--litw-v4-cream)}
body.litw-v4-core-page .wp-block-post-title,
body.litw-v4-core-page .wp-block-post-content h1,
body.litw-v4-core-page .wp-block-post-content h2,
body.litw-v4-core-page .wp-block-post-content h3{
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.1;
  text-wrap:balance;
}
body.litw-v4-core-page .wp-block-post-content{line-height:1.78}
body.litw-v4-core-page .wp-block-post-content p,
body.litw-v4-core-page .wp-block-post-content li{font-size:1.04rem}
body.litw-v4-core-page .wp-block-post-content a{text-underline-offset:.2em}
body.litw-v4-core-page .wp-block-button__link{
  font-weight:800;
  transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease;
  box-shadow:0 8px 22px rgba(23,37,56,.14);
}
@media(hover:hover){
  body.litw-v4-core-page .wp-block-button__link:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(23,37,56,.18);
  }
}
body.litw-v4-core-page .wp-block-separator{border-color:var(--litw-v4-gold);opacity:1}

/* Two story/legacy cards already contain approved colors; V4.1 adds depth. */
body.litw-v4-page-support-the-story .wp-block-post-content > .wp-block-group,
body.litw-v4-page-the-57 .wp-block-post-content > .wp-block-group{
  border:1px solid rgba(212,165,44,.22);
  box-shadow:0 24px 60px rgba(23,37,56,.13);
  overflow:hidden;
}
body.litw-v4-page-support-the-story .wp-block-post-content > .wp-block-group{
  background-image:radial-gradient(circle at 88% 12%,rgba(212,165,44,.13),transparent 24%);
}
body.litw-v4-page-the-57 .wp-block-post-content > .wp-block-group{
  background-image:linear-gradient(180deg,rgba(255,253,248,.58),rgba(247,243,237,.35));
}

/* Privacy is the one published page that was still plain core blocks. */
body.litw-v4-page-privacy-policy .wp-block-post-content{
  width:min(880px,calc(100% - 40px));
  margin:3.5rem auto 5rem;
  padding:clamp(1.5rem,5vw,3.5rem);
  background:var(--litw-v4-white);
  border:1px solid rgba(36,54,77,.11);
  border-top:5px solid var(--litw-v4-gold);
  border-radius:.8rem;
  box-shadow:0 22px 55px rgba(23,37,56,.10);
}
body.litw-v4-page-privacy-policy .wp-block-post-title{
  color:var(--litw-v4-deep);
  font-size:clamp(2.8rem,6vw,5rem);
}
body.litw-v4-page-privacy-policy .wp-block-post-content h2{
  color:var(--litw-v4-navy);
  margin-top:2.2rem;
  font-size:clamp(1.6rem,3vw,2.2rem);
}
body.litw-v4-page-privacy-policy .wp-block-post-content strong{color:var(--litw-v4-deep)}
body.litw-v4-page-privacy-policy .wp-block-post-content a{color:var(--litw-v4-red);font-weight:700}

@media(max-width:760px){
  body.litw-v4-core-page .wp-block-post-content p,
  body.litw-v4-core-page .wp-block-post-content li{font-size:1rem}
  body.litw-v4-page-privacy-policy .wp-block-post-content{margin-top:1.5rem;margin-bottom:3rem}
}
@media(prefers-reduced-motion:reduce){
  body.litw-v4-core-page .wp-block-button__link{transition:none!important;transform:none!important}
}
