/* WeMove Pittsburgh: blog listing, cards, article layout. */
.wm-blog-hero h1, .wm-blog-hero .wp-block-query-title { color: var(--wm-white); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -0.05em; max-width: 16ch; }
.wm-blog-hero { background: var(--wm-ink) radial-gradient(120% 90% at 85% 0%, rgb(242 193 7 / .14), transparent 55%); }

/* cards */
.wm-post-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.wm-post-cards > li { margin: 0 !important; display: flex; }
.wm-post-card { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--wm-white); box-shadow: 0 0 0 1px var(--wm-rule); transition: box-shadow .4s var(--wm-ease); }
.wm-post-card > * { margin: 0 !important; }
.wm-post-card__media { overflow: hidden; margin: 0 !important; }
.wm-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--wm-ease-out); }
.wm-post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 30px; }
.wm-post-card__body > * { margin: 0 !important; }
.wm-post-card__date { font-family: var(--wm-mono); font-size: .75rem; letter-spacing: .04em; color: var(--wm-text); text-transform: uppercase; }
.wm-post-card__title { font-size: 1.25rem !important; line-height: 1.25; letter-spacing: -0.02em; }
.wm-post-card__title a { text-decoration: none; color: var(--wm-ink); }
.wm-post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wm-post-card__excerpt { font-size: .9375rem; line-height: 1.55; }
.wm-post-card__excerpt p { margin: 0; }
@media (hover: hover) {
	.wm-post-card:hover { box-shadow: 0 0 0 1px var(--wm-ink), 0 28px 50px -30px rgb(17 19 23 / .4); z-index: 2; }
	.wm-post-card:hover .wm-post-card__media img { transform: scale(1.05); }
}
.wm-post-card:focus-within { box-shadow: 0 0 0 2px var(--wm-gold); }
.wm-pagination { margin-top: 56px !important; gap: 6px; justify-content: flex-start !important; font-family: var(--wm-mono); font-size: .875rem; }
.wm-pagination a, .wm-pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--wm-line); text-decoration: none; color: var(--wm-ink); }
.wm-pagination .current { background: var(--wm-ink); color: var(--wm-white); border-color: var(--wm-ink); }
@media (max-width: 1023px) { .wm-post-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .wm-post-cards { grid-template-columns: 1fr; gap: 16px; } }

/* article */
.wm-post-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); }
.wm-post-hero .wm-hero__media::after { background: linear-gradient(0deg, rgb(17 19 23 / .92) 0%, rgb(17 19 23 / .6) 55%, rgb(17 19 23 / .5) 100%); }
.wm-post-meta { gap: 6px 18px; font-family: var(--wm-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--wm-on-dark-2); }
.wm-post-meta > * { margin: 0 !important; }
.wm-post-meta a { color: var(--wm-on-dark); text-decoration: none; }
.wm-post-meta a:hover { color: var(--wm-gold); }
.wm-post-body .wm-frame { padding-block: 96px 120px; }
.wm-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.wm-post__content { grid-column: 1 / span 3; max-width: 760px; padding-right: 48px; font-size: 1.0625rem; line-height: 1.7; }
.wm-post__content > * { margin-block: 0; }
.wm-post__content > * + * { margin-top: 1.15em !important; }
.wm-post__content > h2 { margin-top: 2.2em !important; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; }
.wm-post__content > h3 { margin-top: 1.8em !important; font-size: 1.375rem; }
.wm-post__content > :is(h2, h3) + * { margin-top: .75em !important; }
.wm-post__content .wm-faq { margin-top: 1.4em !important; }
.wm-post__content > .wp-block-image img { width: 100%; }
.wm-post-aside { grid-column: 4; position: sticky; top: calc(var(--wm-header-top) + var(--wm-header-h) + 24px); padding-left: 24px; }
.wm-post-card-cta { background: var(--wm-ink); color: var(--wm-on-dark-2); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.wm-post-card-cta > * { margin: 0 !important; }
.wm-post-card-cta .wm-eyebrow { color: var(--wm-on-dark); }
.wm-post-card-cta__title { color: var(--wm-on-dark); font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; }
.wm-post-card-cta .wp-block-buttons { flex-direction: column; align-items: stretch; }
.wm-post-card-cta .wp-block-button__link { width: 100%; justify-content: space-between; }
.wm-post-card-cta .is-style-wm-ghost .wp-block-button__link { --wm-btn-fg: var(--wm-white); --wm-btn-fill: var(--wm-white); --wm-btn-fill-fg: var(--wm-ink); border-color: rgb(255 255 255 / .4); }
@media (max-width: 1023px) {
	.wm-post-grid { grid-template-columns: 1fr; }
	.wm-post__content { grid-column: 1; padding-right: 0; }
	.wm-post-aside { grid-column: 1; position: static; padding: 0; margin-top: 56px !important; max-width: 520px; }
	.wm-post-body .wm-frame { padding-block: 64px 80px; }
}

/* the article column: only edge rules (inner rules cut through reading text) */
.wm-post-body::before { background: linear-gradient(var(--wm-rule), var(--wm-rule)) 0 0 / 1px 100% no-repeat, linear-gradient(var(--wm-rule), var(--wm-rule)) right 0 / 1px 100% no-repeat; }
.wm-post__content > * { width: auto !important; margin-left: 0 !important; }
.wm-post__content > .wm-related-label { margin-top: 48px !important; }
.wm-page-thank-you h1 { max-width: 16ch; }
