/* Creator guide (/guide and /guide/<slug>). Built on circle.css; only what is specific to the guide. */
.jgd-head{padding-block:32px 28px}
.jc .jgd-head h1{max-width:14ch;margin-bottom:12px}
.jgd-head .jc-lead{margin:0}

/* index: the Watch card and the page tiles */
.jgd-video{flex-direction:row;align-items:center;gap:16px;text-decoration:none;padding:12px}
.jgd-video img{flex:0 0 90px;width:90px;height:160px;border-radius:var(--jc-r-s);object-fit:cover;background:var(--jh-panel-alt)}
.jgd-video__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.jgd-video__text b{font:600 19px/1.25 Fraunces,Georgia,serif;color:var(--jh-text)}
.jgd-video__text span{font-size:14px;color:var(--jh-muted)}
.jgd-video__text .jc-card__go{color:var(--jh-gold-soft);font-weight:600}
.jgd-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.jgd-tile{min-height:44px;text-decoration:none;gap:6px}
.jgd-tile b{font:600 19px/1.25 Fraunces,Georgia,serif;color:var(--jh-text)}
.jgd-tile span{font-size:14.5px;line-height:1.5;color:var(--jh-muted)}
.jc-sec>.jc-wrap>h2[id^=g-],.jc-sec>.jc-wrap>h2#watch-h{margin-bottom:16px}
@media(min-width:640px){.jgd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.jgd-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}

/* reading progress: CSS scroll-driven animation only; it stays hidden where that is not supported or motion is reduced */
.jgd-progress{display:none}
@supports (animation-timeline:scroll()){
  @media(prefers-reduced-motion:no-preference){
    .jgd-progress{display:block;position:sticky;top:64px;z-index:80;height:3px;margin-bottom:-3px;pointer-events:none}
    .jgd-progress span{display:block;height:100%;background:var(--jh-gold);transform-origin:0 50%;transform:scaleX(0);animation:jgd-fill linear both;animation-timeline:scroll(root block)}
    @media(min-width:481px){.jgd-progress{top:72px}}
  }
}
@keyframes jgd-fill{to{transform:scaleX(1)}}

/* article page */
.jc-guide{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-block:24px 64px}
.jc-guide>*{min-width:0}
.jc-crumbs{font-size:14px;color:var(--jh-faint);margin:0 0 10px}
.jc-crumbs a{color:var(--jh-muted);display:inline-flex;align-items:center;min-height:44px}
.jc-menu{border:1px solid var(--jc-hair);border-radius:var(--jc-r);background:var(--jh-panel);padding:0 16px}
.jc-menu summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:600;list-style:none}
.jc-menu summary::-webkit-details-marker{display:none}
.jc-menu summary::after{content:'';margin-left:auto;width:9px;height:9px;margin-top:-5px;border-right:2px solid var(--jh-gold);border-bottom:2px solid var(--jh-gold);transform:rotate(45deg);transition:transform .25s ease}
.jc-menu[open] summary::after{transform:rotate(225deg)}
.jc-menu-d{display:none}
.jc-menu h2{font:600 15px Inter,system-ui,sans-serif!important;color:var(--jh-gold-soft);margin:16px 0 4px!important;max-width:none!important}
.jc-menu ul{list-style:none;margin:0 0 8px;padding:0}
.jc-menu a{display:flex;align-items:center;min-height:44px;color:var(--jh-muted);text-decoration:none;font-size:15px}
.jc-menu a:hover{color:var(--jh-text)}
.jc-menu a[aria-current=page]{color:var(--jh-text);font-weight:600}
.jc-prose{max-width:68ch;font-size:16.5px;line-height:1.75;color:var(--jh-muted)}
.jc .jc-prose h1{font-size:clamp(32px,8vw,48px);max-width:18ch;color:var(--jh-text)}
.jc .jc-prose h2{font-size:24px;margin:34px 0 10px;max-width:none;color:var(--jh-text);scroll-margin-top:96px}
.jc-prose p,.jc-prose ul,.jc-prose ol{margin:0 0 16px}
.jc-prose li{margin:0 0 8px}
.jc-prose strong{color:var(--jh-text)}
.jc-prose a{color:var(--jh-gold-soft);text-underline-offset:4px}
.jc-prose .jc-sum{font-size:18px;color:var(--jh-text);margin:0 0 16px}
.jc-key{margin:0 0 24px!important;padding:0!important}.jc-key li{margin:0!important}
.jc-prose blockquote{margin:0 0 16px;padding:12px 16px;border-left:3px solid var(--jh-gold);background:var(--jh-panel);border-radius:0 var(--jc-r-s) var(--jc-r-s) 0;color:var(--jh-text)}
.jc-table-wrap{overflow-x:auto;max-width:100%;margin:0 0 18px;border:1px solid var(--jc-hair);border-radius:var(--jc-r-s)}
.jc-table-wrap:focus-visible{outline:2px solid var(--jh-gold);outline-offset:2px}
.jc-prose .jc-table{margin:0;border-collapse:collapse;width:100%;min-width:34rem;font-size:15px;line-height:1.55}
.jc-table caption{caption-side:top;text-align:left;padding:12px 14px 8px;font-weight:600;color:var(--jh-text)}
.jc-table th,.jc-table td{padding:10px 14px;text-align:left;vertical-align:top;border-top:1px solid var(--jc-hair);overflow-wrap:anywhere}
.jc-table thead th{color:var(--jh-text);font-weight:600;white-space:nowrap}
.jc-table tbody th{color:var(--jh-text);font-weight:600;min-width:7rem;overflow-wrap:normal}
.jc-steps-list li{padding-left:4px}
.jc-q{border-top:1px solid var(--jc-hair)}
.jc-q:last-of-type{border-bottom:1px solid var(--jc-hair);margin-bottom:18px}
.jc-q summary{min-height:48px;display:flex;align-items:center;cursor:pointer;color:var(--jh-text);font-weight:600;padding:10px 0}
.jc-q p{margin:0 0 14px}

/* on this page: one scrolling row of links */
.jgd-otp{margin:0 0 24px}
.jgd-otp p{margin:0 0 6px;font-size:14px;font-weight:600;color:var(--jh-text)}
.jgd-otp ul{display:flex;gap:8px;margin:0;padding:2px 0;list-style:none;overflow-x:auto;scrollbar-width:none}
.jgd-otp ul::-webkit-scrollbar{display:none}
.jgd-otp li{flex:0 0 auto;margin:0}
.jgd-otp a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--jc-hair);border-radius:999px;color:var(--jh-text);font-size:14px;text-decoration:none;white-space:nowrap}
.jgd-otp a:hover{border-color:var(--jc-gold-60)}

/* the embedded video */
.jgd-watch{margin:0 0 28px}
.jc .jgd-watch h2{margin:8px 0 16px}
.jgd-watch .jc-phone-wrap{grid-template-columns:minmax(0,1fr)}
@media(min-width:760px){.jgd-watch .jc-phone-wrap{grid-template-columns:240px minmax(0,1fr);gap:28px}.jgd-watch .jc-phone{width:240px}}

.jc-pn{display:grid;gap:12px;margin-top:40px}
.jc-pn a{display:block;padding:14px 16px;border:1px solid var(--jc-hair);border-radius:var(--jc-r);text-decoration:none;color:var(--jh-text)}
.jc-pn a:hover{border-color:var(--jc-gold-60)}
.jc-pn small{display:block;color:var(--jh-faint);font-size:13px}
.jc-meta{font-size:14px;color:var(--jh-faint);margin-top:28px}
@media(min-width:680px){.jc-pn{grid-template-columns:1fr 1fr}.jc-pn .next{text-align:right}}
@media(min-width:901px){
  .jc-guide{grid-template-columns:250px minmax(0,1fr);gap:56px;padding-block:44px 88px}
  .jc-menu-m{display:none}
  .jc-menu-d{display:block;position:sticky;top:96px;align-self:start;border:0;background:none;padding:0}
}
