/*
Theme Name: Statewell Consulting
Theme URI: https://statewell.ink/
Author: Statewell Consulting LLC
Description: The blog at statewell.ink/blog. Pulls the main site's stylesheet, fonts, logo and menu so the blog matches everything else.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: statewell-consulting
*/

/* the real styles come from /assets/style.css on the main site (see functions.php).
   this file is only the stuff the main site never needed: long-form post text */

.prose{max-width:42.5rem;font-size:1.0625rem;line-height:1.75;color:var(--fg)}
.prose p{margin:0 0 1.25em}
.prose h2{font-size:clamp(1.4rem,2vw,1.75rem);margin:2em 0 .6em}
.prose h3{font-size:1.2rem;margin:1.8em 0 .5em}
.prose h4{font-size:1.05rem;margin:1.6em 0 .4em}
.prose > :first-child{margin-top:0}
.prose a{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.prose strong{color:var(--fg-strong);font-weight:600}
.prose ul,.prose ol{margin:0 0 1.25em;padding-left:1.3em}
.prose li{margin:.35em 0}
.prose blockquote{margin:1.8em 0;padding:.1em 0 .1em 1.4em;border-left:2px solid var(--hair);
  font-family:var(--serif);font-style:italic;font-size:1.2rem;line-height:1.55;color:var(--fg-strong)}
.prose blockquote p:last-child{margin-bottom:0}
.prose blockquote cite{display:block;margin-top:.7em;font-family:var(--sans);font-style:normal;font-size:.8125rem;color:var(--muted)}
.prose figure{margin:1.8em 0}
.prose figcaption{font-size:.8125rem;color:var(--muted);margin-top:.6em}
.prose hr{border:0;border-top:1px solid var(--hair);margin:2.4em 0}
.prose code{font-size:.9em;background:var(--plate);padding:.1em .3em}
.prose .aligncenter{margin-left:auto;margin-right:auto}
.prose .has-text-align-center{text-align:center}
.prose .has-text-align-right{text-align:right}

/* article look (1.1): opening paragraph set larger, photos and charts can run wider than the
   text, captions carry the photo credits, sources at the end set small */
.prose > p:first-of-type:not(.is-byline){font-family:var(--serif);font-size:1.375rem;line-height:1.5;color:var(--fg-strong);font-weight:300}
.prose .wp-block-image{margin:2.2em 0}
.prose .wp-block-image img{display:block;width:100%;height:auto}
.prose .wp-block-image figcaption,.prose figcaption{font-size:.75rem;line-height:1.5;color:var(--muted);margin-top:.7em;text-align:left}
.prose .wp-block-image figcaption a{color:inherit}
@media (min-width:1100px){
  .prose .alignwide{margin-left:-7rem;margin-right:-7rem;max-width:none}
}
/* charts ("exhibits") get a hairline frame so they read as a figure, not a photo */
.prose .is-exhibit img{border:1px solid var(--hair)}
.prose .wp-block-pullquote{margin:2.4em 0;padding:1.4em 0 1.4em 1.6em;border:0;border-left:3px solid var(--ruby);text-align:left}
.prose .wp-block-pullquote blockquote{margin:0;padding:0;border:0;font-family:var(--serif);font-style:normal;font-weight:300;font-size:clamp(1.4rem,2.4vw,1.85rem);line-height:1.35;color:var(--fg-strong)}
.prose .wp-block-pullquote p{margin:0}
.prose .is-sources{font-size:.8125rem;line-height:1.6;color:var(--muted);padding-left:1.1em}
.prose .is-sources a{color:inherit}
.prose .is-note{font-size:.875rem;color:var(--muted)}

/* byline + the "In brief" box at the top of a post, same look as the slides on the main site */
.prose .is-byline{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 1.4em}
.prose .is-summary{margin:0 0 2.4em;padding:24px 28px 22px 34px;position:relative;color:#F1E9DE;
  background-color:var(--espresso);background-image:linear-gradient(rgba(244,239,230,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(244,239,230,.055) 1px,transparent 1px);background-size:28px 28px}
.prose .is-summary::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--ruby)}
.prose .is-summary .is-summary__label{font-size:.6875rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:rgba(250,246,240,.72);margin:0 0 .6em}
.prose .is-summary ul{margin:0;padding-left:1.1em}
.prose .is-summary li{font-size:.9375rem;line-height:1.55;margin:.45em 0}
.prose .is-summary li::marker{color:var(--ruby)}

/* "Blogs" link above a post title */
.pagehead__kicker a{color:inherit;text-decoration:none;border-bottom:1px solid var(--hair)}
.pagehead__kicker a:hover{color:var(--fg-strong)}

.post-back{margin-top:3rem;padding-top:16px;border-top:1px solid var(--hair);max-width:42.5rem;font-size:.875rem}

/* page numbers under the list, only shows up once there are enough posts */
.pagination{margin-top:2rem;font-size:.875rem}
.pagination .nav-links{display:flex;gap:14px;flex-wrap:wrap}
.pagination .page-numbers{text-decoration:none;color:var(--muted)}
.pagination .page-numbers.current,.pagination a.page-numbers:hover{color:var(--fg-strong)}
