/* ScrollTeach theme. Colors come from theme.json presets. */
:root{--st-ink:var(--wp--preset--color--ink);--st-mute:var(--wp--preset--color--mute);--st-rule:var(--wp--preset--color--rule);--st-red:var(--wp--preset--color--accent);--st-slate:var(--wp--preset--color--slate);--st-panel:var(--wp--preset--color--panel);--st-night:var(--wp--preset--color--night);--st-r:12px;--st-shadow:0 1px 2px rgba(16,24,32,.06),0 8px 24px rgba(16,24,32,.06)}
body{overflow-x:clip}
a{transition:color .15s}
.st-i{width:16px;height:16px;fill:currentColor;flex:none}

/* top bar + header */
.st-topbar{background:var(--st-night);color:#c9d4db;font-size:13px}
.st-topbar>.alignwide{min-height:38px}
.st-topbar .st-social a{color:#c9d4db;width:28px;height:28px;border:0}
.st-topbar .st-social a:hover{color:#fff;background:rgba(255,255,255,.08)}
.st-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--st-rule)}
.admin-bar .st-header{top:32px}
.st-header .wp-block-site-title{font-family:var(--wp--preset--font-family--serif);font-weight:700;font-size:26px;letter-spacing:-.02em;margin:0;display:flex;align-items:center;gap:10px;white-space:nowrap}
.st-header .wp-block-site-title::before,.st-logo::before{content:"";display:inline-block;width:12px;height:26px;background:var(--st-red);border-radius:2px}
.st-header .wp-block-navigation{font-weight:500;font-size:15px}
.st-header .wp-block-navigation-item__content{padding-block:22px;border-bottom:2px solid transparent}
.st-header .wp-block-navigation-item__content:hover{border-color:var(--st-red);color:var(--st-red)}
.st-header .wp-block-navigation__submenu-container{border:1px solid var(--st-rule)!important;border-radius:10px;box-shadow:var(--st-shadow);padding:6px!important;min-width:190px!important}
.st-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:8px 12px;border:0;border-radius:6px}
.st-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:var(--st-panel)}
.st-search .wp-block-search__button{background:var(--st-panel);color:var(--st-ink);border-radius:50%;width:40px;height:40px;padding:0;display:grid;place-items:center;margin:0}
.st-search .wp-block-search__input{border-radius:99px;border:1px solid var(--st-rule);padding:8px 14px}
.st-header .wp-block-button__link{padding:9px 16px;font-size:14px;border-radius:99px}

/* shared bits */
.st-pills{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.st-pills a,.st-pill{display:inline-block;background:var(--st-red);color:#fff!important;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:4px 10px;border-radius:99px;line-height:1.3}
.st-pills .wp-block-post-terms__separator{display:none}
.st-pills-sm a{background:transparent;color:var(--st-red)!important;padding:0;font-size:11px}
.st-sechead{border-top:0!important;border-bottom:1px solid var(--st-rule);padding:0 0 12px!important;margin-bottom:24px!important;position:relative}
.st-sechead::after{content:"";position:absolute;left:0;bottom:-1px;width:64px;height:3px;background:var(--st-red);border-radius:2px}
.st-sechead h2{margin:0}
.st-sechead p{margin:0}
.st-sechead a{color:var(--st-slate);font-weight:600;font-size:14px}
.st-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:13px;color:var(--st-mute)}
.st-meta-av img{border-radius:50%;display:block}
.st-meta-by a{color:var(--st-ink);font-weight:600}
.st-meta-item{display:inline-flex;align-items:center;gap:5px}
.st-meta-item .st-i{width:14px;height:14px}

/* cards */
.st-card{display:flex;flex-direction:column;gap:10px}
.st-card .wp-block-post-featured-image{margin:0;overflow:hidden;border-radius:var(--st-r)}
.st-card .wp-block-post-featured-image img,.st-lcard .wp-block-post-featured-image img{border-radius:var(--st-r);object-fit:cover;transition:transform .5s ease}
.st-card:hover .wp-block-post-featured-image img,.st-lcard:hover .wp-block-post-featured-image img{transform:scale(1.04)}
.st-lcard .wp-block-post-featured-image{margin:0;overflow:hidden;border-radius:var(--st-r)}
.st-card .wp-block-post-title,.st-lcard .wp-block-post-title{margin:0}
.st-card .wp-block-post-title a:hover,.st-lcard .wp-block-post-title a:hover,.st-latest .wp-block-post-title a:hover{color:var(--st-red)}
.st-card .wp-block-post-excerpt,.st-lcard .wp-block-post-excerpt{margin:0}
.st-card .wp-block-post-excerpt__excerpt,.st-lcard .wp-block-post-excerpt__excerpt{margin:0;font-size:15px;color:var(--st-mute)}
.st-card-lead .wp-block-post-title{font-size:clamp(28px,3.6vw,42px)}
.st-lcard{gap:24px!important;padding-bottom:24px;margin-bottom:24px!important;border-bottom:1px solid var(--st-rule);align-items:center!important}
.st-lcard .wp-block-column{display:flex;flex-direction:column;gap:8px}
.st-lcard .wp-block-post-title{font-size:22px}
.st-list>li{margin:0}
.st-latest-col{border-left:1px solid var(--st-rule);padding-left:28px}
.st-latest li.wp-block-post{padding-block:14px;border-bottom:1px dashed var(--st-rule);margin:0;display:flex;flex-direction:column;gap:4px}
.st-latest li.wp-block-post:first-child{padding-top:4px}
.st-latest .wp-block-post-title{font-size:18px;line-height:1.3;margin:0}
.st-dark{background:var(--st-night);color:#eef1f3}
.st-dark .st-sechead{border-color:#263640}
.st-dark .st-sechead a{color:#7cc3e3}
.st-dark .st-meta,.st-dark .wp-block-post-excerpt__excerpt{color:#a9b6bf}
.st-dark .st-meta-by a{color:#fff}

/* breadcrumbs */
.st-crumbs{font-size:13px;color:var(--st-mute);display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:14px}
.st-crumbs a{color:var(--st-mute)}.st-crumbs a:hover{color:var(--st-red)}
.st-crumbs .sep{opacity:.5}
.st-crumbs [aria-current]{color:var(--st-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}

/* article head */
.st-article-head{padding-top:28px;max-width:900px;display:flex;flex-direction:column;gap:14px}
.st-title{font-size:clamp(32px,4.6vw,52px);margin:0}
.st-dek{font-size:20px;line-height:1.5;color:var(--st-mute)}
.st-dek p{margin:0}
.st-byline{border-block:1px solid var(--st-rule);padding-block:14px!important;margin-top:6px}
.st-hero{margin-top:28px!important}
.st-hero .wp-block-post-featured-image{margin:0}
.st-hero img{border-radius:16px;width:100%;object-fit:cover}
.st-figcap{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:var(--st-mute);font-style:italic;margin:10px 0 0;padding-bottom:10px;border-bottom:1px solid var(--st-rule)}
.st-figcap .st-i{margin-top:3px;font-style:normal}

/* layout with sidebar */
.st-layout{gap:48px!important;margin-top:36px!important}
.st-side-col{position:relative}
.st-sidebar{position:sticky;top:96px;display:flex;flex-direction:column;gap:28px}
.st-widget{border:1px solid var(--st-rule);border-radius:var(--st-r);padding:20px!important}
.st-widget-title{font-family:var(--wp--preset--font-family--sans)!important;font-size:13px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 14px!important;display:flex;align-items:center;gap:8px}
.st-widget-title::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--st-red)}
.st-about-widget{background:var(--st-panel);border-color:transparent}
.st-about-widget p{margin:0 0 12px;font-size:15px;color:var(--st-mute)}
.st-about-widget .st-logo{color:var(--st-ink)}
.st-widget-nl{background:var(--st-night);color:#eef1f3;border-color:transparent}
.st-widget-nl p{color:#a9b6bf;font-size:15px}
.st-mini{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.st-mini li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center}
.st-mini-img{position:relative;display:block}
.st-mini-img img{width:72px;height:72px;object-fit:cover;border-radius:10px;display:block}
.st-mini-n{position:absolute;top:-6px;left:-6px;width:22px;height:22px;border-radius:50%;background:var(--st-red);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}
.st-mini-t{font-family:var(--wp--preset--font-family--serif);font-weight:600;font-size:16px;line-height:1.3;display:block}
.st-mini-t:hover{color:var(--st-red)}
.st-mini-m{font-size:12.5px;color:var(--st-mute)}
.st-cats{list-style:none;margin:0;padding:0}
.st-cats a{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px dashed var(--st-rule);font-size:15px}
.st-cats li:last-child a{border:0}
.st-cats a:hover{color:var(--st-red)}
.st-count{background:var(--st-panel);border-radius:99px;font-size:12px;padding:1px 9px;color:var(--st-mute)}

/* article body */
.single .st-content{font-size:18px;line-height:1.75}
.single .st-content>*{max-width:none}
.single .st-content h2{margin-top:2.4rem;scroll-margin-top:100px}
.single .st-content h3{margin-top:1.8rem}
.single .st-content>p:first-of-type::first-letter{font-family:var(--wp--preset--font-family--serif);float:left;font-size:3.6em;line-height:.9;font-weight:700;margin:6px 10px 0 0;color:var(--st-red)}
.st-content a:not(.wp-element-button){color:var(--st-slate);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.st-content .wp-block-image img{border-radius:var(--st-r)}
.wp-block-image figcaption,.wp-element-caption{font-size:14px;color:var(--st-mute);font-style:italic;text-align:left;padding:8px 0 10px;border-bottom:1px solid var(--st-rule);margin-top:8px}
.st-content blockquote,.st-content .wp-block-quote{border-left:4px solid var(--st-red);background:var(--st-panel);border-radius:0 var(--st-r) var(--st-r) 0;padding:20px 24px;margin:28px 0;font-family:var(--wp--preset--font-family--serif);font-size:21px;font-style:italic}
.st-content .wp-block-quote cite{display:block;font-family:var(--wp--preset--font-family--sans);font-style:normal;font-size:14px;color:var(--st-mute);margin-top:8px}
.st-content pre,.st-content .wp-block-code{background:#0f1a20;color:#e6edf1;border-radius:10px;padding:16px 18px;font-size:14px;line-height:1.6;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:0}
.st-content code{font-size:.9em}
.st-content :not(pre)>code{background:var(--st-panel);padding:2px 6px;border-radius:4px}
.st-content ol,.st-content ul{padding-left:1.3em}
.st-content li{margin-bottom:6px}

/* tip / warning boxes */
.st-box{border-radius:var(--st-r);padding:18px 20px 18px 56px!important;position:relative;font-size:16px;line-height:1.6;margin-block:28px!important}
.st-box::before{content:"";position:absolute;left:18px;top:20px;width:24px;height:24px;background-repeat:no-repeat;background-size:24px}
.st-box p{margin:0}
.st-box .st-box-title{font-weight:700;margin-bottom:2px}
.st-tip{background:var(--st-panel)}
.st-tip::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e6f8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V16h8v-1.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E")}
.st-warn{background:var(--wp--preset--color--warn);border-left:4px solid #e08a00}
.st-warn::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 21h20L12 3z'/%3E%3Cpath d='M12 10v5M12 18h.01'/%3E%3C/svg%3E")}

/* CTA banner */
.st-cta{background:var(--st-night);color:#eef1f3;border-radius:var(--st-r);padding:24px 26px!important;position:relative;overflow:hidden;margin-block:32px!important}
.st-cta::after{content:"";position:absolute;right:-40px;top:-40px;width:140px;height:140px;border-radius:50%;border:24px solid var(--st-red);opacity:.35;pointer-events:none}
.st-cta .st-cta-title{font-family:var(--wp--preset--font-family--serif);font-size:22px;font-weight:700;line-height:1.2;margin:0}
.st-cta p{color:#a9b6bf;margin:0}
.st-cta .wp-block-buttons{position:relative;z-index:1}
.st-content .st-cta a.wp-element-button{text-decoration:none}

/* read also */
.st-also{border:1px solid var(--st-rule);border-radius:var(--st-r);padding:12px!important;margin-block:28px!important;transition:border-color .15s,box-shadow .15s}
.st-also:hover{border-color:var(--st-ink);box-shadow:var(--st-shadow)}
.st-also .wp-block-media-text__media img{aspect-ratio:1;object-fit:cover;border-radius:8px}
.st-also .wp-block-media-text__content{padding:0 0 0 16px!important}
.st-also .st-also-label{color:var(--st-red);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:0}
.st-also .st-also-title{font-family:var(--wp--preset--font-family--serif);font-size:19px;line-height:1.3;font-weight:700;margin:2px 0 0}
.st-content .st-also a{text-decoration:none;color:var(--st-ink)}

/* share */
.st-share{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.st-share-label{font-size:13px;font-weight:600;color:var(--st-mute);margin-right:2px}
.st-share a,.st-share button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#fff;border:0;cursor:pointer;position:relative;transition:transform .15s,filter .15s;padding:0}
.st-share a:hover,.st-share button:hover{transform:translateY(-2px);filter:brightness(1.1)}
.st-share-fb{background:#1877f2}.st-share-x{background:#111}.st-share-li{background:#0a66c2}.st-share-wa{background:#25d366}
.st-share-link{background:var(--st-panel)!important;color:var(--st-ink)!important}
.st-copied{position:absolute;top:-30px;left:50%;transform:translateX(-50%);background:var(--st-ink);color:#fff;font-size:12px;padding:3px 8px;border-radius:6px;white-space:nowrap;pointer-events:none}
.st-copied:empty{display:none}
.st-share-end{background:var(--st-panel);border-radius:var(--st-r);padding:16px 20px!important;margin-top:28px!important}
.st-share-end p{margin:0}

/* tags */
.st-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:32px}
.st-tags-label{font-weight:700;font-size:14px;margin-right:4px}
.st-tags a{font-size:13px;padding:5px 12px;border:1px solid var(--st-rule);border-radius:99px;color:var(--st-ink);text-decoration:none!important}
.st-tags a:hover{border-color:var(--st-red);color:var(--st-red)}
.st-tags-cloud{margin:0}

/* author box */
.st-author{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;align-items:start;border:1px solid var(--st-rule);border-radius:var(--st-r);padding:24px;margin-top:32px}
.st-author-av img{border-radius:50%;display:block;width:88px;height:88px}
.st-author p{margin:0}
.st-author-kicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--st-mute);font-weight:600}
.st-author-name{font-family:var(--wp--preset--font-family--serif);font-size:22px;font-weight:700;margin:2px 0 6px!important}
.st-author-bio{color:var(--st-mute);font-size:15px;margin-bottom:10px!important}
.st-author-all{font-size:14px;font-weight:600;color:var(--st-red)!important;text-decoration:none!important}

/* prev / next */
.st-postnav{margin-top:28px!important;gap:16px!important}
.st-postnav .post-navigation-link-previous,.st-postnav .post-navigation-link-next{border:1px solid var(--st-rule);border-radius:var(--st-r);padding:14px 18px;font-family:var(--wp--preset--font-family--serif);font-weight:600;font-size:16px;line-height:1.35}
.st-postnav .post-navigation-link-previous:hover,.st-postnav .post-navigation-link-next:hover{border-color:var(--st-ink)}
.st-postnav .wp-block-post-navigation-link__arrow-previous,.st-postnav .wp-block-post-navigation-link__arrow-next{color:var(--st-red)}

/* comments */
.st-comments{margin-top:40px}
.st-comments .wp-block-comments-title,.st-comments .comment-reply-title{font-size:22px}
.st-comments input[type=text],.st-comments input[type=email],.st-comments input[type=url],.st-comments textarea{border:1px solid var(--st-rule);border-radius:10px;padding:10px 12px;font:inherit;width:100%}
.st-comments .form-submit input{background:var(--st-red);color:#fff;border:0;border-radius:99px;padding:11px 22px;font-weight:600;cursor:pointer}

/* related */
.st-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.st-rcard{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.st-rcard-img{display:block;overflow:hidden;border-radius:var(--st-r);width:100%}
.st-rcard-img img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;transition:transform .5s}
.st-rcard:hover img{transform:scale(1.04)}
.st-rcard h3{font-size:19px;margin:0;line-height:1.3}
.st-rcard h3 a:hover{color:var(--st-red)}

/* newsletter */
.st-nl{background:var(--st-panel);border-radius:16px;padding:clamp(24px,3.5vw,40px)!important}
.st-nl p{color:var(--st-mute)}
.st-nl .wp-element-button{border-radius:99px}

/* archive head */
.st-archive-head{padding-block:8px 4px}
.st-archive-head .wp-block-query-title{font-size:clamp(30px,4vw,44px);margin:0}
.st-archive-head .wp-block-term-description p{color:var(--st-mute);margin:6px 0 0}

/* social */
.st-social{display:flex;gap:6px}
.st-social a{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--st-rule);color:var(--st-ink)}
.st-social a:hover{border-color:var(--st-red);color:var(--st-red)}
.st-social .st-i{width:15px;height:15px}

/* footer */
.st-footer{background:#f6f8f9;border-top:1px solid var(--st-rule);font-size:15px;color:var(--st-mute)}
.st-footer p{margin:0 0 14px}
.st-foot-title{font-family:var(--wp--preset--font-family--sans)!important;font-size:13px!important;text-transform:uppercase;letter-spacing:.08em;color:var(--st-ink);margin:4px 0 14px!important}
.st-foot-links{list-style:none;padding:0;margin:0}
.st-foot-links li{margin:0 0 8px}
.st-foot-links a:hover,.st-footer a:hover{color:var(--st-red)}
.st-foot-bottom{border-top:1px solid var(--st-rule);margin-top:32px!important;padding-top:18px;font-size:13px}
.st-foot-bottom p{margin:0}
.st-logo{font-family:var(--wp--preset--font-family--serif);font-weight:700;font-size:24px;color:var(--st-ink);display:flex;align-items:center;gap:10px}

/* ad slots */
.st-ad{display:grid;place-items:center;text-align:center;background:repeating-linear-gradient(45deg,#f6f8f9,#f6f8f9 10px,#eff2f4 10px,#eff2f4 20px);border:1px dashed #cfd6db;border-radius:var(--st-r);color:var(--st-mute);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.st-ad p{margin:0}
.st-ad-wide{min-height:100px;margin-top:40px!important}
.st-ad-side{min-height:250px}

@media(max-width:1000px){.st-layout{flex-wrap:wrap!important}.st-layout>.wp-block-column{flex-basis:100%!important}.st-sidebar{position:static}.st-latest-col{border-left:0;padding-left:0}.st-related{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:781px){.admin-bar .st-header{top:0}.st-hide-m{display:none!important}.st-topbar .st-today{font-size:12px}}
@media(max-width:600px){.st-related{grid-template-columns:minmax(0,1fr)}.st-lcard .wp-block-column:first-child{flex-basis:36%!important}.st-lcard .wp-block-post-title{font-size:17px}.st-lcard .wp-block-post-excerpt{display:none}.st-author{grid-template-columns:56px minmax(0,1fr);padding:18px}.st-author-av img{width:56px;height:56px}.st-hero img{aspect-ratio:16/10!important;border-radius:10px}.single .st-content{font-size:17px}.st-postnav{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* v0.2.1 fixes */
.st-author{display:flex;gap:20px;align-items:flex-start}
.st-author-av{flex:0 0 88px}
.st-author>div{flex:1;min-width:0}
.st-author br{display:none}
.st-cta .st-cta-title,.st-cta h2,.st-cta h3{color:#fff!important}
.st-postnav>*:empty{display:none}
.st-postnav .post-navigation-link-next:only-child{grid-column:2}
.st-also .wp-block-media-text__media{display:block;min-width:72px}
.st-also .wp-block-media-text__media img{width:100%!important;height:auto;display:block}
@media(max-width:600px){.st-author-av{flex-basis:56px}}
.st-rcard-img{display:block;margin-bottom:12px}.st-rcard-img img{width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;border-radius:10px;display:block}
