/* Blog and News & Events pages. Colours match the site: green headings #0f3e21, maroon accents #710d0f. Font is inherited (Alata). */

/* ---------- page banner (clears the fixed header, matches the site's banner band) ---------- */
/* same 1920x600 proportions as the site's other page banners, so height matches on every screen size */
.page-banner { aspect-ratio: 1920 / 600; min-height: 230px; display: flex; align-items: flex-end; justify-content: center; padding: 0 15px 7%; text-align: center; color: #fff; background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.3)), url(../images/blog/blog-banner.webp) center / cover no-repeat; }
.page-banner span { display: inline-block; font-size: 32px; letter-spacing: 3px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid #fff; }
@media (max-width: 767px) { .page-banner { aspect-ratio: auto; width: 100%; min-height: 210px; padding-bottom: 28px; } .page-banner span { font-size: 22px; } }

.page-banner-title { padding: 125px 15px 6%; }
.page-banner-title h1 { margin: 0 auto; width: 100%; max-width: 1000px; overflow-wrap: break-word; color: #fff; font-size: 38px; line-height: 1.25; font-weight: bold; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.page-banner-title h1::after { content: ""; display: block; width: 70px; height: 3px; background: #fff; margin: 14px auto 0; }
@media (max-width: 991px) { .page-banner-title h1 { font-size: 30px; } }
@media (max-width: 767px) { .page-banner-title { padding: 112px 16px 26px; } .page-banner-title h1 { font-size: 22px; } }

/* ---------- hubs ---------- */
.hub-intro { max-width: 760px; margin: 6px auto 20px; font-size: 16px; line-height: 1.6; color: #444; }

.post-card { display: block; height: 100%; padding: 22px 22px 18px; background: #fff; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); text-decoration: none; color: #333; border-top: 3px solid #0f3e21; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.22); }
.post-card-img { display: block; width: calc(100% + 44px); max-width: none; height: auto; margin: -22px -22px 14px; }
.post-card h2, .post-card h3 { font-size: 19px; line-height: 1.35; font-weight: bold; color: #0f3e21; margin: 6px 0 10px; }
.post-card p { font-size: 15px; line-height: 1.55; color: #444; margin: 0 0 12px; }
.post-card-meta { display: block; font-size: 13px; color: #710d0f; font-weight: bold; }
.post-card-sm { padding: 16px 18px; }
.post-card-sm h3 { font-size: 16px; margin: 4px 0 0; }
.post-kicker { display: block; font-size: 12px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; color: #710d0f; margin: 0 0 4px; }

/* ---------- article ---------- */
.blog-post article { max-width: 820px; margin: 0 auto; }
.post-meta { font-size: 14px; color: #666; margin: 0 0 22px; }
.post-figure { margin: 0 0 22px; }
.post-figure img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); }
.post-lead { font-size: 19px; line-height: 1.65; color: #222; margin: 0 0 22px; }

.post-toc { background: #f4f4f4; border-left: 4px solid #710d0f; padding: 16px 22px; margin: 0 0 28px; }
.post-toc strong { display: block; font-size: 15px; margin-bottom: 6px; color: #0f3e21; }
.post-toc ol { margin: 0; padding-left: 20px; }
.post-toc li { font-size: 15px; line-height: 1.8; }
.post-toc a { color: #333; text-decoration: none; }
.post-toc a:hover { color: #710d0f; text-decoration: underline; }

.post-body h2 { font-size: 26px; line-height: 1.3; color: #0f3e21; margin: 38px 0 14px; scroll-margin-top: 110px; }
.post-body h3 { font-size: 19px; line-height: 1.4; color: #222; margin: 26px 0 8px; }
.post-body p, .post-body li { font-size: 16px; line-height: 1.75; color: #333; }
.post-body p { margin: 0 0 16px; text-align: left; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: #710d0f; text-decoration: underline; }

.post-table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 15px; }
.post-table th, .post-table td { border: 1px solid #ddd; padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.5; }
.post-table thead th { background: #0f3e21; color: #fff; font-weight: bold; }
.post-table tbody tr:nth-child(even) { background: #f7f7f7; }

.post-note { background: #fbf3f3; border-left: 4px solid #710d0f; padding: 14px 18px; margin: 24px 0; font-size: 15px; line-height: 1.65; color: #333; }
.post-source { font-size: 14px; color: #555; margin-top: 22px; }

.post-cta { background: #f4f4f4; border-top: 4px solid #0f3e21; padding: 26px 26px 20px; margin: 40px 0 18px; text-align: center; }
.post-cta h2 { font-size: 24px; color: #0f3e21; margin: 0 0 8px; }
.post-cta p { font-size: 16px; line-height: 1.6; color: #333; margin: 0 0 14px; }
.post-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.post-cta .btn-one { margin-top: 0; }
.post-cta .btn-ghost { background-color: #fff !important; color: #710d0f !important; border: 1px solid #710d0f; }

.post-disclaimer { font-size: 13px; line-height: 1.6; color: #777; margin: 0 0 8px; }

.post-related { max-width: 820px; margin: 36px auto 0; }
.post-related h2 { font-size: 22px; color: #0f3e21; margin: 0 0 14px; }

/* ---------- news & events hub (tabs replaced by stacked sections) ---------- */
.ne-hub .ne-h2 { font-size: 28px; color: #0f3e21; font-weight: bold; margin: 34px 0 6px; padding-bottom: 8px; border-bottom: 2px solid #eee; scroll-margin-top: 110px; }
.ne-hub .ne-section { padding: 16px 0 6px; }
.ne-jump { margin: 0 0 6px; }
.ne-jump a { display: inline-block; margin: 4px 6px; padding: 8px 18px; border: 1px solid #710d0f; border-radius: 30px; color: #710d0f; font-size: 14px; text-decoration: none; }
.ne-jump a:hover { background: #710d0f; color: #fff; }
.ne-hub .news-txt .btn-story { margin-right: 10px; }
.ne-hub .news-txt .btn-one + .btn-one { background-color: #fff !important; color: #710d0f !important; border: 1px solid #710d0f; }
.ne-hub .row + .row { margin-top: 16px; }

@media (max-width: 767px) {
  .post-head h1 { font-size: 26px; }
  .post-lead { font-size: 17px; }
  .post-body h2 { font-size: 22px; }
  .post-table th, .post-table td { padding: 8px 9px; font-size: 14px; }
  .ne-hub .ne-h2 { font-size: 23px; }
}
