/* Shared editorial interior-page design. Keeps existing Pagelayer content and plugins. */
body.claylab-refresh.page:not(.home){background:#fff!important;color:#171717!important}
body.claylab-refresh.page:not(.home) .cl-interior-hero{
 background:#111214;
 color:#fff;
 border-bottom:1px solid #292929;
 margin:0;
 overflow:hidden;
 position:relative;
 isolation:isolate;
}
body.claylab-refresh.page:not(.home) .cl-interior-hero::before{
 content:"";position:absolute;inset:0;z-index:-1;
 background-image:linear-gradient(100deg,rgba(10,10,10,.92),rgba(10,10,10,.72) 68%,rgba(10,10,10,.55)),url('https://claylabusa.com/wp-content/uploads/2026/08/Website-Header-The-Clay-Lab-2.jpg');
 background-position:center center;background-size:cover;
 filter:grayscale(1);opacity:.70;
}
body.claylab-refresh.page:not(.home) .cl-interior-hero-inner{
 max-width:1240px;margin:auto;padding:55px 28px 62px;
}
body.claylab-refresh.page:not(.home) .cl-interior-eyebrow{
 display:block;font:800 11px/1.45 'DM Sans',sans-serif;
 letter-spacing:.18em;color:#d6d6d6!important;text-transform:uppercase;margin:0 0 14px;
}
body.claylab-refresh.page:not(.home) .cl-interior-parent{
 display:inline-block;font:700 12px/1.5 'DM Sans',sans-serif;
 color:#ececec!important;text-decoration:none!important;margin-bottom:17px;
}
body.claylab-refresh.page:not(.home) .cl-interior-hero h1{
 color:#fff!important;font:800 clamp(34px,4.6vw,62px)/1.12 'DM Sans',sans-serif!important;
 letter-spacing:-.045em!important;margin:0 0 17px!important;text-transform:none!important;
 text-align:left!important;
}
body.claylab-refresh.page:not(.home) .cl-interior-hero p{
 color:#ebebeb!important;font:400 clamp(15px,1.35vw,18px)/1.65 'DM Sans',sans-serif!important;
 max-width:770px;margin:0!important;
}
body.claylab-refresh.page:not(.home) #primary.site-main{
 max-width:1240px!important;width:100%;margin:0 auto!important;padding:32px 28px 88px!important;
 overflow:visible;
}
body.claylab-refresh.page:not(.home) #primary .entry-content{
 width:100%;min-width:0;max-width:100%;overflow-wrap:break-word;
 font-family:'DM Sans',Arial,sans-serif;color:#242424;
}
body.claylab-refresh.page:not(.home) #primary .entry-header{
 display:none!important;
}
/* Avoid repeating the former page-builder title below the new top introduction. */
body.claylab-refresh.page:not(.home) #primary .entry-content > .pagelayer-post_props + .pagelayer-row .pagelayer-heading-holder > :is(h1,h2,h3,h4,h5){
 display:none!important;
}
body.claylab-refresh.page:not(.home) #primary .entry-content > .pagelayer-post_props + .pagelayer-row{
 margin-bottom:4px!important;
}
body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-row-holder,
body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-col-holder{
 max-width:100%;min-width:0;
}
body.claylab-refresh.page:not(.home) #primary .entry-content h1,
body.claylab-refresh.page:not(.home) #primary .entry-content h2,
body.claylab-refresh.page:not(.home) #primary .entry-content h3,
body.claylab-refresh.page:not(.home) #primary .entry-content h4,
body.claylab-refresh.page:not(.home) #primary .entry-content h5{
 font-family:'DM Sans',Arial,sans-serif!important;color:#171717!important;
 font-style:normal!important;text-transform:none!important;
 letter-spacing:-.025em!important;line-height:1.23!important;
 text-shadow:none!important;
}
body.claylab-refresh.page:not(.home) #primary .entry-content h2{font-size:clamp(25px,2.6vw,37px)!important;font-weight:800!important}
body.claylab-refresh.page:not(.home) #primary .entry-content h3{font-size:clamp(20px,2vw,27px)!important;font-weight:800!important}
body.claylab-refresh.page:not(.home) #primary .entry-content h4,
body.claylab-refresh.page:not(.home) #primary .entry-content h5{font-size:clamp(18px,1.7vw,23px)!important;font-weight:750!important}
body.claylab-refresh.page:not(.home) #primary .entry-content p,
body.claylab-refresh.page:not(.home) #primary .entry-content li{
 font-family:'DM Sans',Arial,sans-serif!important;
 font-size:clamp(14px,1.1vw,16px);line-height:1.75!important;color:#404040;
}
body.claylab-refresh.page:not(.home) #primary .entry-content a{
 color:#252525;text-underline-offset:3px;
}
body.claylab-refresh.page:not(.home) #primary .entry-content a:hover{color:#666}
body.claylab-refresh.page:not(.home) #primary .entry-content img{
 max-width:100%;height:auto;
}
body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-btn-holder,
body.claylab-refresh.page:not(.home) #primary .entry-content .wp-block-button__link{
 border-radius:5px!important;text-decoration:none!important;
 transition:transform .2s,box-shadow .2s;
}
body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-btn-holder:hover{
 transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.12);
}
body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-image img{
 border-radius:6px;
}
body.claylab-refresh.page:not(.home) #primary .entry-content .wp-block-columns,
body.claylab-refresh.page:not(.home) #primary .entry-content .wp-block-group{
 gap:clamp(15px,2vw,28px);
}
body.claylab-refresh.page:not(.home) #primary .entry-content .wp-block-separator{border-color:#ddd}
body.claylab-refresh.page:not(.home) #primary .entry-content input:not([type=radio]):not([type=checkbox]):not([type=submit]),
body.claylab-refresh.page:not(.home) #primary .entry-content textarea,
body.claylab-refresh.page:not(.home) #primary .entry-content select{
 border:1px solid #cfcfcf!important;border-radius:5px!important;background:#fff!important;
 color:#171717!important;padding:11px 13px;max-width:100%;
}
body.claylab-refresh.page:not(.home) #primary .entry-content input:focus-visible,
body.claylab-refresh.page:not(.home) #primary .entry-content textarea:focus-visible{outline:2px solid #555;outline-offset:2px}
/* Preserve third-party podcast, YouTube and Spreadshop controls. */
body.claylab-refresh.page-id-640 #primary .pp-podcast,
body.claylab-refresh.page-id-1082 #primary #myShop,
body.claylab-refresh.page-id-753 #primary .sby_items_wrap{
 max-width:100%!important;
}
body.claylab-refresh.page-id-640 #primary .pp-podcast{
 border:1px solid #e3e3e3!important;border-radius:9px;overflow:hidden;
 box-shadow:0 3px 20px rgba(0,0,0,.045);
}
body.claylab-refresh.page-id-1082 #primary{max-width:1400px!important}
body.claylab-refresh.page-id-1082 #primary .entry-content{padding:0!important}
body.claylab-refresh.page-id-1082 #primary #myShop{width:100%!important}
body.claylab-refresh.page-id-753 #primary .sby_item .sby_inner_item{
 border-radius:8px;overflow:hidden;border:1px solid #dedede;box-shadow:0 3px 12px rgba(0,0,0,.055);
}
body.claylab-refresh.page-id-28 #primary .entry-content .pagelayer-btn-holder{background:#111;color:#fff!important}
@media(max-width:760px){
 body.claylab-refresh.page:not(.home) .cl-interior-hero-inner{padding:38px 22px 44px}
 body.claylab-refresh.page:not(.home) #primary.site-main{padding:22px 20px 62px!important}
 body.claylab-refresh.page:not(.home) .cl-interior-hero h1{font-size:clamp(31px,7vw,44px)!important}
 body.claylab-refresh.page:not(.home) #primary .entry-content .pagelayer-row-holder{
  flex-wrap:wrap;
 }
 body.claylab-refresh.page:not(.home) #primary .entry-content iframe{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 body.claylab-refresh.page:not(.home) #primary .pagelayer-btn-holder{transition:none!important}
}
