/* The built-in page templates share a grid. Keep the photograph generous
   and size the lettering to fit the actual width of the text panel. */
body.page-id-12088 {--intro-paper:#f7dcc8}
body.page-id-12090 {--intro-paper:#f9e3c8}
body.page-id-12092 {--intro-paper:#f5d5c9}
body.page-id-12094 {--intro-paper:#eee2f2}
body.page-id-12099 {--intro-paper:#dae8dd}
body.page-id-12102 {--intro-paper:#f6e3b7}
body.page-id-12105 {--intro-paper:#e1e8d6}
html#afterglow-site body.page article[id] section.jl-hero {
  background:var(--intro-paper,#f7ead8)!important;color:#1e382e;
  padding-block:clamp(34px,4.8vw,78px)!important;
}
html#afterglow-site body.page article[id] .jl-hero .jl-hero-grid {
  display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  align-items:center;gap:clamp(30px,5vw,84px)!important;
}
html#afterglow-site body.page article[id] .jl-hero-grid > * {min-width:0}
html#afterglow-site body.page article[id] :is(.jl-hero,.overview-hero) h1 {
  font-size:clamp(42px,4.6vw,70px)!important;line-height:1.04!important;
  max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance;
  margin-block:.18em .35em!important;
}
html#afterglow-site body.page article[id] .jl-hero .jl-lead {max-width:46ch;line-height:1.52!important}
html#afterglow-site body.page article[id] .jl-hero :is(.jl-hero-media,.jl-re-hero-media) {
  overflow:hidden;border-radius:clamp(32px,5vw,80px) 14px clamp(32px,5vw,80px) 14px!important;
}
html#afterglow-site body.page article[id] .jl-hero .jl-actions a,
html#afterglow-site body.page article[id] .overview-hero .overview-actions a {
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px!important;
  font-size:16px!important;line-height:1.2!important;
}
html#afterglow-site :is(a,button,summary,input,select,textarea):focus-visible {
  outline:3px solid #562f68!important;outline-offset:3px;box-shadow:0 0 0 3px #fff4dc!important;
}
html#afterglow-site .studio-contact-email a,
html#afterglow-site .jlp-story-body :is(p,li) a {text-decoration:underline;text-underline-offset:.18em}
html#afterglow-site .jlp-journal.jlp-archive-layout {padding:clamp(28px,4.2vw,66px) max(5%,calc((100% - 1210px)/2)) 6vw}
html#afterglow-site .studio-archive-heading {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 22px;margin:0 0 clamp(20px,3vw,36px)}
html#afterglow-site .jlp-journal .studio-archive-heading h1 {
  font-size:clamp(32px,4vw,60px)!important;line-height:1.05!important;margin:0!important;color:#213c30;overflow-wrap:anywhere
}
html#afterglow-site .studio-archive-heading a, html#afterglow-site .jlp-read-story {
  color:#284a38!important;font-size:16px!important;font-weight:600;text-decoration:underline;text-underline-offset:4px
}
html#afterglow-site .jlp-archive-inner .jlp-story-grid {gap:clamp(18px,2.3vw,34px)}
html#afterglow-site .jlp-archive-inner .jlp-story-card {
  background:#fffcf6;border:1px solid #ded5c7;border-radius:18px 18px 12px 12px;overflow:hidden;
}
html#afterglow-site .jlp-archive-inner .jlp-card-image {aspect-ratio:3/2}
html#afterglow-site .jlp-archive-inner .jlp-card-text {margin:clamp(16px,1.5vw,23px)}
html#afterglow-site .jlp-archive-inner .jlp-card-text h2 {font-size:clamp(22px,2vw,29px)!important;line-height:1.1!important}
html#afterglow-site .jlp-archive-inner .jlp-card-text p {margin-top:10px;line-height:1.5}
html#afterglow-site .jlp-archive-inner .jlp-read-story {padding-block:14px 5px}
html#afterglow-site .jlp-story-body > :is(p,h2,h3,ul,ol) {max-width:68ch;margin-inline:auto}
html#afterglow-site .jlp-story-body > p {line-height:1.62!important}
html#afterglow-site .jlp-story-body > figure.studio-story-opener {
  margin:clamp(18px,2.5vw,32px) auto!important;overflow:hidden;border-radius:15px;
}
html#afterglow-site .jlp-story-body > .studio-story-opener img {margin:auto}
html#afterglow-site body #article-12035 #collections .jlp-filter {padding:0!important;margin-block:6px 20px!important}
html#afterglow-site body #article-12035 #collections .jlp-filter-choices {display:flex;flex-wrap:wrap;gap:7px}
html#afterglow-site body #article-12035 #collections .jlp-filter-choices button {min-height:44px;padding:6px 16px!important}
html#afterglow-site body #article-12035 #collections .jlp-filter-status {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:800px){
  html#afterglow-site body.page article[id] .jl-hero .jl-hero-grid {grid-template-columns:minmax(0,1fr)!important;gap:23px!important}
  html#afterglow-site body.page article[id] :is(.jl-hero,.overview-hero) h1 {font-size:clamp(30px,8.6vw,53px)!important}
  html#afterglow-site body.page article[id] .jl-hero .jl-actions {margin-bottom:0!important}
  html#afterglow-site body #article-12035 #collections .jlp-filter-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  html#afterglow-site body #article-12035 #collections .jlp-filter-choices button {width:100%;max-width:none!important}
}
html#afterglow-site body #article-12394 .after-hero .after-hero-copy .alt-actions a {
  min-height:44px;padding:11px 20px!important;display:inline-flex;align-items:center;justify-content:center;
  font-size:16px!important;line-height:1.2!important;
}
html#afterglow-site body #article-12394 .after-hero .after-hero-copy .alt-actions a:last-child {
  background:#294438!important;color:#fff9f0!important;border:1px solid #f5e9d4!important;
}
html#afterglow-site body #article-12394 .after-hero .after-hero-copy .alt-actions a:focus-visible,
html#afterglow-site body #article-12394 .after-hero .after-hero-copy .alt-actions a:hover {
  text-decoration:underline;text-underline-offset:3px;
}
@media(max-width:800px){
  html#afterglow-site body #article-12035 #collections .jlp-filter .jlp-filter-choices {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
html#afterglow-site body #jlp-draft-navigation :is(.jlp-submenu,.jlp-panel) a:has(.studio-staff-name),
html#afterglow-site body #jlp-draft-footer details a:has(.studio-staff-name) {
  display:block!important;text-align:left;white-space:normal;line-height:1.45!important;
}
html#afterglow-site #article-12035 #faith-extras .jlp-extras-grid {
  grid-template-columns:minmax(0,1fr);max-width:72ch;margin-inline:auto;
}
html#afterglow-site #article-12094 .studio-fai-portrait img {
  object-position:85% 54%!important;
  scale:1.35;
  transform-origin:91% 60%;
}
/* The FAQ cards sit side by side with their copy at tablet widths. */
@media (600px < width <= 900px) {
  html#afterglow-site #article-12094 .studio-fai-portrait img {scale:1}
}

html#afterglow-site body article[id] a .studio-button-label :is(.studio-staff-name,[aria-hidden]) {
  display:inline!important;margin:0!important;padding:0!important;
}
/* Keep action labels readable across the site's different page templates. */
@layer studioActions {
  :is(.alt-button,.jl-btn,.overview-button,.james-button,.james-cinema-button,.mak-button,.faith-button,
      .jlp-button,.room-button,.jlp-nav-contact,.jlp-footer-contact,.jlp-instagram-follow,
      .collection-inquiry a,.rate-inquiry a,.jlp-link-copy > a,.jlp-extra-card > a,button[type="submit"],input[type="submit"]) {
    box-sizing:border-box;
    min-height:54px!important;max-width:100%;
    padding:14px clamp(20px,2.4vw,32px)!important;
    font-size:clamp(1.125rem,1.5vw,1.375rem)!important;font-weight:700!important;line-height:1.25!important;
    white-space:normal;text-align:center;
  }
  .jlp-filter-choices button,.faith-video-toggle {
    min-height:48px!important;padding:9px 15px!important;
    font-size:1.0625rem!important;font-weight:650!important;line-height:1.25!important;
  }
  @media(max-width:480px) {
    .jlp-nav-contact {min-height:46px!important;padding:9px 15px!important;font-size:1.0625rem!important}
  }
}
html#afterglow-site #jlp-draft-footer .studio-footer-hello::before {
  content:"";display:inline-block;flex:none;width:27px;height:25px;
  background:url("/studio-works/value-heart.svg") center/contain no-repeat;
}
html#afterglow-site :is(#pricing-faq .james-label,#article-12094 .jl-hero .jl-eyebrow,#article-12092 .jl-hero .jl-eyebrow)::after {
  content:"";display:inline-block;width:64px;height:28px;vertical-align:middle;margin-inline-start:8px;
  background:url("/studio-works/fairy-dust.svg") center/contain no-repeat;
}
