/* =========================================================================
   Healthcare Ethics Australia — blog post (guide) template and article body
   Used by single.php and the imported articles (.hec-au-post).
   ========================================================================= */

.hec-post-crumb { background: var(--wash); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.hec-post-crumb .hec-wrap { display: flex; gap: 8px; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; align-items: center; color: var(--grey); }
.hec-post-crumb a { color: var(--grey); text-decoration: none; }
.hec-post-crumb a:hover { color: var(--navy-lt); text-decoration: underline; }

.hec-post-head { background: var(--navy-dk); color: #fff; padding: 48px 0 40px; }
.hec-post-head .hec-wrap { max-width: 860px; }
.hec-post-eyebrow { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 12px; }
.hec-post-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.18; color: #fff; margin: 0 0 16px; letter-spacing: -0.01em; }
.hec-post-lede { font-size: 17px; line-height: 1.6; color: #D7E3DB; margin: 0 0 18px; max-width: 760px; }
.hec-post-by { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: #BFD3C6; margin: 0; }
.hec-post-by span + span::before { content: '·'; margin-right: 18px; color: #6E8F7A; }

.hec-post-wrap { max-width: 860px; }
.hec-post-body { padding-top: 40px; padding-bottom: 56px; }

/* ---- article body ------------------------------------------------------ */
.hec-au-post { font-size: 17px; line-height: 1.75; color: var(--ink); }
.hec-au-post > * + * { margin-top: 1.1em; }
.hec-au-post h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.25; color: var(--navy); margin-top: 2em; }
.hec-au-post h3 { font-weight: 600; font-size: 1.12rem; line-height: 1.35; color: var(--navy); margin-top: 1.7em; }
.hec-au-post h2 + h3, .hec-au-post h2 + p, .hec-au-post h3 + p { margin-top: .6em; }
.hec-au-post p { margin-bottom: 0; }
.hec-au-post a { color: var(--navy-lt); text-decoration: underline; text-underline-offset: 2px; }
.hec-au-post a:hover { color: var(--navy-dk); }
.hec-au-post ul, .hec-au-post ol { padding-left: 1.35em; }
.hec-au-post li + li { margin-top: .45em; }
.hec-au-post li > ul, .hec-au-post li > ol { margin-top: .45em; }
.hec-au-post strong { font-weight: 600; color: var(--ink); }
.hec-au-post blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--wash); border-radius: 0 var(--r) var(--r) 0; font-style: italic; color: #2E3A33; }
.hec-au-post blockquote p { margin: 0; }
.hec-au-post em { font-style: italic; }

.hec-au-post .hec-post-intro { background: var(--green-pale); border-radius: var(--r); padding: 18px 22px; font-size: 17.5px; }
.hec-au-post .hec-post-intro p + p { margin-top: .8em; }

.hec-au-post .hec-post-callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.hec-au-post .hec-post-callout.warning { background: #FFF4F0; border-color: #F3C9BD; }
.hec-au-post .hec-post-callout.muted { background: #F6F7F6; border-color: var(--line-2); }
.hec-au-post .hec-post-callout-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-lt); margin-bottom: 6px; }
.hec-au-post .hec-post-callout p { margin: 0; }
.hec-au-post .hec-post-callout p + p, .hec-au-post .hec-post-callout ul { margin-top: .6em; }

.hec-au-post .hec-post-takeaways { background: var(--navy-dk); color: #fff; border-radius: var(--r); padding: 20px 24px; }
.hec-au-post .hec-post-takeaways h3 { color: var(--gold); margin: 0 0 10px; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.hec-au-post .hec-post-takeaways ul { margin: 0; }
.hec-au-post .hec-post-takeaways li { color: #E6EFE9; }
.hec-au-post .hec-post-takeaways strong { color: #fff; }
.hec-au-post .hec-post-takeaways a { color: var(--gold-soft); }

.hec-au-post ol.hec-post-steps { list-style: none; padding: 0; counter-reset: step; }
.hec-au-post ol.hec-post-steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 56px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.hec-au-post ol.hec-post-steps li + li { margin-top: 10px; }
.hec-au-post ol.hec-post-steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-dk); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hec-au-post ol.hec-post-steps strong { display: block; color: var(--navy); margin-bottom: 2px; }

.hec-au-post .hec-post-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hec-au-post table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.hec-au-post th, .hec-au-post td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line-2); }
.hec-au-post th { background: var(--green-pale); color: var(--navy); font-weight: 600; }
.hec-au-post tr:nth-child(even) td { background: var(--wash); }

/* FAQ — same pattern as the page designs (one open at a time via main.js) */
.hec-au-post .hec-post-faq { margin-top: 2.4em; }
.hec-au-post .hec-post-faq h2 { margin-top: 0; }
.hec-au-post .hec-post-faq details { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; margin-top: 10px; }
.hec-au-post .hec-post-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; }
.hec-au-post .hec-post-faq summary::-webkit-details-marker { display: none; }
.hec-au-post .hec-post-faq summary h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.hec-au-post .hec-post-faq summary::after { content: '+'; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green-pale); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.hec-au-post .hec-post-faq details[open] summary::after { content: '–'; }
.hec-au-post .hec-post-faq .a { padding: 0 18px 16px; color: #2E3A33; }
.hec-au-post .hec-post-faq .a p { margin: 0; }

/* CTA box — the only commercial block in an article */
.hec-au-post .hec-post-cta { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--r); padding: 22px 24px; margin-top: 2.4em; }
.hec-au-post .hec-post-cta-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-lt); font-weight: 600; margin: 0 0 6px; }
.hec-au-post .hec-post-cta h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.hec-au-post .hec-post-cta > p { margin: 0 0 12px; font-size: 16px; }
.hec-au-post .hec-post-cta-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.hec-au-post .hec-post-cta-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; }
.hec-au-post .hec-post-cta-list li a { text-decoration: none; font-weight: 500; color: var(--navy); }
.hec-au-post .hec-post-cta-list li span { color: var(--grey); white-space: nowrap; font-size: 13.5px; }
.hec-au-post .hec-post-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.hec-au-post .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border-radius: 10px; font-family: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; }
.hec-au-post .btn-gold { background: var(--gold); color: var(--navy-dk); }
.hec-au-post .btn-gold:hover { background: var(--gold-soft); color: var(--navy-dk); }
.hec-au-post .btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.hec-au-post .btn-ghost:hover { background: var(--green-pale); }

.hec-au-post .hec-post-disc { font-size: 13.5px; color: var(--grey); border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 2em; }

.hec-post-back { margin: 28px 0 0; font-size: 14.5px; }
.hec-post-back a { color: var(--navy-lt); text-decoration: none; }
.hec-post-back a:hover { text-decoration: underline; }

@media (max-width: 760px) {
	.hec-post-head { padding: 32px 0 28px; }
	.hec-post-body { padding-top: 26px; padding-bottom: 40px; }
	.hec-au-post { font-size: 16.5px; }
	.hec-au-post .hec-post-cta-list li { flex-direction: column; gap: 2px; }
	.hec-au-post .hec-post-cta-btns .btn { flex: 1 1 100%; }
	.hec-post-by span + span::before { margin-right: 10px; }
	.hec-post-by { gap: 6px 10px; }
}
