/* Company pages and blog posts (About, Careers, Contact, Blog, Privacy, Terms, single posts).
   Loaded after system.css. Only classes set by build_company.py / migrate_posts.py. */

/* ---------------------------------------------------------------- blog posts (single.html)
   theme.css resets `.his-main > .wp-block-post-content > * + *` to 0, which wins over `.his-prose > * + *`:
   restore the prose rhythm for post bodies. */
.his-main > .wp-block-post-content.his-prose > * + * { margin-block-start: 1.1em; }
.his-main > .wp-block-post-content.his-prose > h2 { margin-block-start: 1.8em; }
.his-main > .wp-block-post-content.his-prose > h3 { margin-block-start: 1.4em; }
.his-main > .wp-block-post-content.his-prose > :is(h2, h3) + * { margin-block-start: .6em; }
.his-post-image img { width: 100%; height: auto; }

/* Pull quote with attribution (core Quote, class his-pullquote) */
.wp-block-quote.his-pullquote { border-left: 4px solid var(--his-green); background: var(--his-sage); padding: 26px 30px; margin-block: 2em !important; }
.wp-block-quote.his-pullquote p { font-family: var(--his-cond); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; color: var(--his-charcoal); margin: 0; }
.wp-block-quote.his-pullquote cite { display: block; margin-top: 14px; font-style: normal; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--his-green-text); font-variation-settings: "wdth" 80, "wght" 700; }

/* ---------------------------------------------------------------- careers benefit cards: icon at its own size */
.is-style-card > .wp-block-image.his-card-icon:first-child { margin: 0 0 6px !important; aspect-ratio: auto; background: none; border: 0; display: block; overflow: visible; width: 76px; height: 76px; }
.is-style-card > .wp-block-image.his-card-icon img { width: 76px; height: 76px; object-fit: contain; }

/* ---------------------------------------------------------------- about: intro columns keep both paragraphs on one edge */
.his-head.his-company-intro > .wp-block-column:last-child > p { max-width: 560px !important; margin-left: auto; }
@media (max-width: 820px) { .his-head.his-company-intro > .wp-block-column:last-child > p { margin-left: 0; } }
.his-company-list { gap: clamp(30px, 5vw, 80px) !important; }

/* ---------------------------------------------------------------- contact: toll-free figure and credit art */
.his-tollfree a { color: inherit; text-decoration: none; }
.his-tollfree a:hover { color: var(--his-green); }
.his-credit__art .wp-block-image { margin: 0; }
.his-credit__art .wp-block-image img { display: block; max-width: 220px; height: auto; margin: 0 auto; }
@media (max-width: 781px) { .his-credit__art .wp-block-image img { max-width: 160px; margin: 0; } }

/* ---------------------------------------------------------------- blog listing grid on the Blog page */
.his-blog-query { margin-top: clamp(28px, 4vw, 48px); }
.his-blog-query .wp-block-post-featured-image { margin: 0 0 14px; overflow: hidden; }
.his-blog-query .wp-block-post-featured-image img { transition: transform .4s var(--wp--custom--ease, ease); }
.his-blog-query .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.his-blog-query .wp-block-post-date { margin: 0 0 8px; }
.his-blog-query .wp-block-post-title { margin: 0 0 10px; }
.his-blog-query .wp-block-post-excerpt { color: var(--his-gray); font-size: .95rem; }
.his-blog-query .wp-block-query-pagination { margin-top: 32px; }
