/*
 * Refresh: single news posts (inc/refresh-post.php), design C "Centred" (Aaron, Nov 21, 2026).
 * 01 Page   02 Band and title   03 Photo card   04 Story   05 Help box and previous / next   06 More news   07 Phones
 */

/* 01 Page */
body.pb-post-page { background: var(--pb-white); }
body.pb-post-page #content { padding-top: 0 !important; }
body.pb-post-page #primary { width: 100%; margin: 0 !important; padding: 0 !important; }
body.pb-post-page .pb-post, body.pb-post-page .pb-post-more { font-family: var(--pb-font); color: var(--pb-ink); }
body.pb-post-page .pb-post-wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
body.pb-post-page .pb-post-wide { max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
body.pb-post-page .pb-post a:focus-visible, body.pb-post-page .pb-post-more a:focus-visible { outline: 3px solid var(--pb-navy) !important; outline-offset: 3px; border-radius: 4px; }

/* 02 Band and title */
body.pb-post-page .pb-post-top { padding: 84px 0 150px; background: var(--pb-pale); text-align: center; }
body.pb-post-page .pb-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; color: var(--pb-navy); font-weight: 600; font-size: 15px; }
body.pb-post-page a.pb-post-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--pb-blue); color: var(--pb-white); font-weight: 800; font-size: 13px; line-height: 1.5; text-decoration: none; }
body.pb-post-page a.pb-post-pill:hover { background: var(--pb-navy); }
body.pb-post-page .pb-post-top h1.entry-title { max-width: 900px; margin: 0 auto; padding: 0; font-family: var(--pb-font-num, Bitter, serif); font-weight: 800; font-size: 52px; line-height: 1.12; color: var(--pb-navy); text-align: center; text-transform: none; }

/* 03 Photo card over the band */
body.pb-post-page .pb-post-hero { max-width: 980px; margin: -120px auto 0; padding: 0 20px; box-sizing: border-box; }
body.pb-post-page .pb-post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; box-shadow: 0 20px 50px rgba(15, 76, 117, .18); }

/* 04 Story: a reading column */
body.pb-post-page .pb-post-body { max-width: 800px; margin: 0 auto; padding: 44px 20px 0; box-sizing: border-box; font-size: 18px; line-height: 1.75; }
body.pb-post-page .pb-post-top + .pb-post-body { padding-top: 0; margin-top: -90px; } /* no photo: the story starts under the band */
body.pb-post-page .pb-post-body p { margin: 0 0 20px; font-size: 18px; line-height: 1.75; color: var(--pb-ink); }
body.pb-post-page .pb-post-body a:not(.wp-block-button__link) { color: var(--pb-blue); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pb-sky); text-underline-offset: 3px; text-decoration-thickness: 2px; }
/* Buttons in a news post: the site's blue button (white on #1b6da0 5.0:1), not the blue link colour (was blue on blue). */
body.pb-post-page .pb-post-body .wp-block-button__link { display: inline-block; padding: 16px 30px; border: 0; border-radius: 18px; background: var(--pb-blue); color: #fff; box-shadow: 0 5px 0 var(--pb-navy); font-family: var(--pb-font); font-weight: 900; font-size: 19px; line-height: 1.2; text-decoration: none; transition: transform 0.1s ease; }
body.pb-post-page .pb-post-body .wp-block-button__link:hover { transform: translateY(-2px); color: #fff; }
body.pb-post-page .pb-post-body .wp-block-button__link:focus-visible { outline: 3px solid var(--pb-navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { body.pb-post-page .pb-post-body .wp-block-button__link:hover { transform: none; } }
body.pb-post-page .pb-post-body a:hover { color: var(--pb-navy); }
body.pb-post-page .pb-post-body :is(h2, h3, h4) { margin: 36px 0 12px; padding: 0; font-family: var(--pb-font-num, Bitter, serif); font-weight: 800; line-height: 1.25; color: var(--pb-navy); text-transform: none; }
body.pb-post-page .pb-post-body h2 { font-size: 30px; }
body.pb-post-page .pb-post-body h3 { font-size: 24px; }
body.pb-post-page .pb-post-body :is(h2, h3, h4)::before { display: none; }
body.pb-post-page .pb-post-body :is(ul, ol) { margin: 0 0 20px; padding-left: 26px; }
body.pb-post-page .pb-post-body li { margin: 0 0 8px; font-size: 18px; line-height: 1.6; }
body.pb-post-page .pb-post-body img { max-width: 100%; height: auto; border-radius: 18px; }
body.pb-post-page .pb-post-body figure { margin: 28px 0; }
body.pb-post-page .pb-post-body :is(figcaption, .wp-element-caption) { margin-top: 8px; font-size: 15px; font-style: italic; text-align: center; color: #47525c; }
body.pb-post-page .pb-post-body iframe { max-width: 100%; }
body.pb-post-page .pb-post-body blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 6px solid var(--pb-sky); font-family: var(--pb-font-num, Bitter, serif); font-size: 22px; line-height: 1.5; color: var(--pb-navy); }

/* 05 Help box and previous / next */
body.pb-post-page .pb-post-help { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; max-width: 760px; margin: 40px auto 0; padding: 24px 26px; border-radius: 24px; background: var(--pb-pale); box-sizing: border-box; }
body.pb-post-page .pb-post-help__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pb-blue); color: var(--pb-white); }
body.pb-post-page .pb-post-help p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--pb-ink); }
body.pb-post-page .pb-post-help p.pb-post-help__h { margin: 0; font-weight: 900; font-size: 20px; color: var(--pb-navy); }
body.pb-post-page .pb-post-help p.pb-post-help__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
body.pb-post-page a.pb-post-btn { display: inline-block; padding: 12px 20px; border-radius: 16px; border-bottom: 5px solid var(--pb-navy); background: var(--pb-blue); color: var(--pb-white) !important; font-weight: 800; text-decoration: none; white-space: nowrap; }
body.pb-post-page a.pb-post-btn:hover { background: var(--pb-navy); }
body.pb-post-page a.pb-post-btn--o { border: 2px solid var(--pb-blue); background: var(--pb-white); color: var(--pb-blue) !important; }
body.pb-post-page a.pb-post-btn--o:hover { background: var(--pb-pale); }
body.pb-post-page .pb-post-nav { display: flex; justify-content: space-between; gap: 20px; max-width: 760px; margin: 36px auto 0; padding: 22px 0 0; border-top: 2px solid var(--pb-pale); }
body.pb-post-page .pb-post-nav a { max-width: 48%; color: var(--pb-blue); font-weight: 800; font-size: 16px; line-height: 1.35; text-decoration: none; }
body.pb-post-page .pb-post-nav a:hover { text-decoration: underline; }
body.pb-post-page .pb-post-nav small { display: block; margin-bottom: 2px; color: #5c6670; font-weight: 600; font-size: 14px; }
body.pb-post-page .pb-post-nav__next { margin-left: auto; text-align: right; }

/* 06 More news */
body.pb-post-page .pb-post-more { margin: 56px 0 0; padding: 44px 0 64px; background: #f5fafd; }
body.pb-post-page .pb-post-more h2 { margin: 0 0 20px; padding: 0; font-family: var(--pb-font-num, Bitter, serif); font-weight: 800; font-size: 30px; color: var(--pb-navy); text-transform: none; }
body.pb-post-page .pb-post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
body.pb-post-page .pb-post-cards li { margin: 0; }
body.pb-post-page a.pb-post-card { display: block; height: 100%; overflow: hidden; border-radius: 20px; background: var(--pb-white); box-shadow: 0 8px 24px rgba(15, 76, 117, .08); color: var(--pb-ink); text-decoration: none; }
body.pb-post-page a.pb-post-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
body.pb-post-page .pb-post-card__b { display: block; padding: 14px 18px 18px; }
body.pb-post-page .pb-post-card__b small { color: #5c6670; font-weight: 600; font-size: 14px; }
body.pb-post-page .pb-post-card__b strong { display: block; margin-top: 4px; font-weight: 900; font-size: 18px; line-height: 1.3; color: var(--pb-blue); }
body.pb-post-page a.pb-post-card:hover strong { text-decoration: underline; }

/* 07 Phones and tablets */
@media (max-width: 900px) {
	body.pb-post-page .pb-post-top { padding: 60px 0 90px; }
	body.pb-post-page .pb-post-top h1.entry-title { font-size: 30px; }
	body.pb-post-page .pb-post-hero { margin-top: -70px; }
	body.pb-post-page .pb-post-top + .pb-post-body { margin-top: -50px; }
	body.pb-post-page .pb-post-body { padding-top: 30px; }
	body.pb-post-page .pb-post-help { grid-template-columns: auto minmax(0, 1fr); margin-left: 20px; margin-right: 20px; }
	body.pb-post-page .pb-post-help p.pb-post-help__btns { grid-column: 1 / -1; }
	body.pb-post-page .pb-post-nav { margin-left: 20px; margin-right: 20px; }
	body.pb-post-page .pb-post-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Room around a row of buttons in a post (Aaron, Nov 22: text sat right under the button). */
body.pb-post-page .pb-post-body .wp-block-buttons { margin: 32px 0 36px; }
