/* video button heart beat */
.ct-pulse 
{ border-radius: 50%; -webkit-animation:pulse 2s ease-out infinite; animation:pulse 2s  ease-out infinite }
@keyframes pulse { 
0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); }
80% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
}

/* ===== Homepage hero — rigid white layout + scroll shadow ===== */
.entry-content .stk-242acad{background-color:#ffffff !important;padding-left:24px !important;padding-right:24px !important;}
.entry-content .stk-242acad>.stk-row{max-width:1140px !important;margin-left:auto !important;margin-right:auto !important;}
@media screen and (min-width: 1024px){
  .entry-content .stk-242acad>.stk-row{column-gap:48px !important;row-gap:0 !important;}
  .entry-content .stk-656155e{flex:0 0 40% !important;max-width:40% !important;}
  .entry-content .stk-df3537e{flex:0 0 60% !important;max-width:60% !important;padding-top:48px !important;}
}
@media screen and (max-width: 767px){
  .entry-content .stk-242acad{padding-left:20px !important;padding-right:20px !important;}
}
/* book image: fixed size, left-aligned */
.entry-content .stk-656155e .wp-block-image{margin:0 auto 0 0;display:block;}
.entry-content .stk-656155e .wp-block-image img{width:100%;max-width:430px;height:auto;display:block;}
@media screen and (max-width: 1023px){.entry-content .stk-656155e .wp-block-image img{max-width:400px;}}
/* text column: left-aligned reading, handwriting right */
.entry-content .stk-df3537e .stk-inner-blocks{text-align:left;}
.entry-content .stk-df3537e .stk-block-button-group .stk-inner-blocks{justify-content:flex-start;}
.entry-content .stk-df3537e .stk-block-3bad419{margin-bottom:16px !important;}
.entry-content .stk-df3537e .stk-block-81505a5{margin-bottom:28px !important;}
.entry-content .stk-df3537e .stk-block-137f217{margin-bottom:0 !important;}
.entry-content .stk-df3537e .wp-block-image{margin:0;display:block;}
.entry-content .stk-df3537e .wp-block-image img{width:100%;max-width:440px;height:auto;display:block;}
@media screen and (max-width: 1023px){.entry-content .stk-df3537e .wp-block-image img{max-width:400px;}}
/* stack on tablet/mobile: centre everything */
@media screen and (max-width: 1023px){
  .entry-content .stk-656155e{flex:1 1 100% !important;max-width:100% !important;margin-bottom:40px !important;}
  .entry-content .stk-656155e .wp-block-image{margin-left:auto !important;margin-right:auto !important;}
  .entry-content .stk-656155e .wp-block-image img{max-width:380px;}
  .entry-content .stk-df3537e .stk-inner-blocks{text-align:center;}
  .entry-content .stk-df3537e .stk-block-button-group .stk-inner-blocks{justify-content:center;}
  .entry-content .stk-df3537e .wp-block-image{margin-left:auto !important;margin-right:auto !important;}
  .entry-content .stk-df3537e .wp-block-image img{max-width:400px;}
}
@media screen and (max-width: 767px){
  .entry-content .stk-df3537e .wp-block-image{margin:0 auto;}
  .entry-content .stk-df3537e .wp-block-image img{max-width:320px;}
}
/* button text stays white on the navy pill */
.entry-content .stk-f55ba43 .stk-button{color:#ffffff !important;}
.entry-content .stk-f55ba43 .stk-button:hover{color:#ffffff !important;}
/* scroll-driven shadow under the book */
.entry-content .stk-656155e .wp-block-image img{filter:drop-shadow(0 12px 18px rgba(16,33,54,.22));}
@supports (animation-timeline: view()){
  .entry-content .stk-656155e .wp-block-image img{
    animation:book-lift linear both;
    animation-timeline:view();
    animation-range:exit 0% exit 60%;
  }
  @keyframes book-lift{
    from{transform:none;filter:drop-shadow(0 12px 18px rgba(16,33,54,.22));}
    to{transform:translateY(-18px) rotate(-1.2deg);filter:drop-shadow(0 58px 52px rgba(16,33,54,.45));}
  }
}
