/* [aob_post_*] — single blog post (CPT blog). No Figma frame: built from the site's tokens and the badge/title/card language of
   the home page. Hero dark, article light, FAQ dark (accordion like [aob_why_us]), CTA light with a dark panel, related light-2. */
:not(#_) .aob-post-hero, :not(#_) .aob-post-article, :not(#_) .aob-post-faq, :not(#_) .aob-post-cta, :not(#_) .aob-post-related { position: relative; font-family: var(--aob-font-body); }
:not(#_) .aob-post-article, :not(#_) .aob-post-faq, :not(#_) .aob-post-cta, :not(#_) .aob-post-related { overflow: hidden; overflow: clip; }

/* ---- shared ---- */
:not(#_) .aob-post-head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: var(--aob-section-gap); text-align: center; }
:not(#_) .aob-post-badge { padding: 6px 8px; border: 1px solid var(--aob-gold-soft); border-radius: 44px; background: var(--aob-gold-faint); box-shadow: var(--aob-shadow-button-secondary); font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
:not(#_) .aob-post-title { max-width: 760px; margin: 0; font-family: var(--aob-font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 400; line-height: 1.2; text-wrap: balance; }

/* ---- hero ---- */
:not(#_) .aob-post-hero { overflow: hidden; background: var(--aob-black-3); color: var(--aob-white); }
:not(#_) .aob-post-hero__bg { position: absolute; inset: 0; pointer-events: none; }
:not(#_) .aob-post-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
:not(#_) .aob-post-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 16, 14, 0.8) 0%, rgba(17, 16, 14, 0.7) 55%, rgba(17, 16, 14, 0.96) 100%); }
:not(#_) .aob-post-hero__inner { position: relative; padding-top: 56px; padding-bottom: 64px; }
:not(#_) .aob-post-hero--offset .aob-post-hero__inner { padding-top: 120px; }
:not(#_) .aob-post-hero__stack { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 900px; text-align: center; }
:not(#_) .aob-post-hero .aob-post-badge { color: var(--aob-white); }
:not(#_) .aob-post-hero__title { margin: 0; font-family: var(--aob-font-display); font-size: clamp(34px, 5vw, 58px); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; color: var(--aob-white); }
:not(#_) .aob-post-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin: 0; font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aob-light-2); }
:not(#_) .aob-post-hero__meta > * + *::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 16px 2px 0; border-radius: 50%; background: var(--aob-brand); }
:not(#_) .aob-post-hero__lead { max-width: 720px; margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; text-wrap: pretty; color: var(--aob-light-2); }
@media (min-width: 768px) {
	:not(#_) .aob-post-hero__inner { padding-top: 72px; padding-bottom: 88px; }
	:not(#_) .aob-post-hero--offset .aob-post-hero__inner { padding-top: 150px; }
}

/* ---- article ---- */
:not(#_) .aob-post-article { background: var(--aob-light-1); color: var(--aob-black-3); }
:not(#_) .aob-post-article__layout { display: grid; justify-content: center; gap: 32px; grid-template-columns: minmax(0, 760px); }
:not(#_) .aob-post-aside { align-self: start; min-width: 0; }
@media (min-width: 1100px) {
	:not(#_) .aob-post-article__layout.aob-has-toc { grid-template-columns: 260px minmax(0, 760px); gap: 72px; }
	:not(#_) .aob-post-article__layout.aob-has-toc .aob-post-aside { position: sticky; top: 120px; }
}

/* table of contents (filled by post.js; hidden without JS or with fewer than two headings) */
:not(#_) .aob-post-toc[hidden] { display: none; }
:not(#_) .aob-post-toc { box-sizing: border-box; padding: 20px; border: 1px solid rgba(17, 16, 14, 0.08); border-radius: var(--aob-radius); background: #fff; box-shadow: 0 10px 30px rgba(17, 16, 14, 0.06); }
:not(#_) .aob-post-toc__title { cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; list-style: none; }
:not(#_) .aob-post-toc__title::-webkit-details-marker { display: none; }
:not(#_) .aob-post-toc__title::after { content: ""; float: right; width: 8px; height: 8px; margin: 4px 4px 0 0; border-right: 2px solid var(--aob-brand-2); border-bottom: 2px solid var(--aob-brand-2); transform: rotate(45deg); transition: transform 0.3s; }
:not(#_) .aob-post-toc__details[open] > .aob-post-toc__title::after { transform: rotate(-135deg); margin-top: 8px; }
:not(#_) .aob-post-toc__title:focus-visible, :not(#_) .aob-post-toc__link:focus-visible { outline: 2px solid var(--aob-brand); outline-offset: 3px; }
:not(#_) .aob-post-toc__list { margin: 14px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--aob-gold-soft); }
:not(#_) .aob-post-toc__item { margin: 0; }
:not(#_) .aob-post-toc__link { display: block; margin-left: -1px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.35; color: #5c564f; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
:not(#_) .aob-post-toc__item--sub .aob-post-toc__link { padding-left: 28px; font-size: 14px; }
:not(#_) .aob-post-toc__link:hover { color: var(--aob-black-3); }
:not(#_) .aob-post-toc__link.aob-is-active { border-left-color: var(--aob-brand); color: var(--aob-black-3); font-weight: 600; }

:not(#_) .aob-post-cover { overflow: hidden; margin: 0 0 40px; aspect-ratio: 16 / 9; border-radius: var(--aob-radius); background: var(--aob-light-2); box-shadow: 0 10px 30px rgba(17, 16, 14, 0.1); }
:not(#_) .aob-post-cover__img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* body typography (the HTML comes from a wysiwyg field) */
:not(#_) .aob-post-body { font-size: 18px; line-height: 1.75; color: #3a3631; overflow-wrap: anywhere; }
:not(#_) .aob-post-body > :first-child { margin-top: 0; }
:not(#_) .aob-post-body p { margin: 0 0 1.25em; }
:not(#_) .aob-post-body h2, :not(#_) .aob-post-body h3, :not(#_) .aob-post-body h4 { scroll-margin-top: 110px; font-family: var(--aob-font-display); font-weight: 400; color: var(--aob-black-3); text-wrap: balance; }
:not(#_) .aob-post-body h2 { position: relative; margin: 2.2em 0 0.6em; padding-top: 22px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
:not(#_) .aob-post-body h2::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: linear-gradient(90deg, var(--aob-brand), var(--aob-brand-2)); }
:not(#_) .aob-post-body > h2:first-child { margin-top: 0; }
:not(#_) .aob-post-body h3 { margin: 1.8em 0 0.5em; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
:not(#_) .aob-post-body h4 { margin: 1.6em 0 0.4em; font-family: var(--aob-font-body); font-size: 18px; font-weight: 700; line-height: 1.4; }
:not(#_) .aob-post-body a { color: var(--aob-brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:not(#_) .aob-post-body a:hover { color: #c24a00; }
:not(#_) .aob-post-body strong { font-weight: 700; color: var(--aob-black-3); }
:not(#_) .aob-post-body ul, :not(#_) .aob-post-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
:not(#_) .aob-post-body li { margin: 0 0 0.5em; padding-left: 0.3em; }
:not(#_) .aob-post-body li::marker { color: var(--aob-brand-2); font-weight: 700; }
:not(#_) .aob-post-body blockquote { margin: 2em 0; padding: 24px 28px; border: 1px solid rgba(17, 16, 14, 0.08); border-left: 4px solid var(--aob-brand); border-radius: var(--aob-radius); background: #fff; font-family: var(--aob-font-display); font-size: clamp(21px, 2.2vw, 26px); font-style: normal; line-height: 1.4; box-shadow: 0 10px 30px rgba(17, 16, 14, 0.06); }
:not(#_) .aob-post-body blockquote p { margin: 0; }
:not(#_) .aob-post-body img { display: block; max-width: 100%; height: auto; margin: 2em auto; border-radius: var(--aob-radius); }
:not(#_) .aob-post-body p > img:only-child { margin: 0.4em auto; }
:not(#_) .aob-post-body figure { margin: 2em 0; }
:not(#_) .aob-post-body figure img { margin: 0 auto; }
:not(#_) .aob-post-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; text-align: center; color: #5c564f; }
:not(#_) .aob-post-body hr { height: 1px; margin: 2.4em 0; border: 0; background: var(--aob-gold-border); }
:not(#_) .aob-post-body table { display: table; width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
@media (max-width: 639px) { :not(#_) .aob-post-body table { display: block; overflow-x: auto; } }
:not(#_) .aob-post-body th, :not(#_) .aob-post-body td { min-width: 110px; padding: 12px 16px; border: 1px solid rgba(17, 16, 14, 0.12); overflow-wrap: normal; text-align: left; }
:not(#_) .aob-post-body th { background: var(--aob-light-2); font-weight: 700; color: var(--aob-black-3); }
:not(#_) .aob-post-body iframe, :not(#_) .aob-post-body video { display: block; max-width: 100%; margin: 2em 0; border: 0; border-radius: var(--aob-radius); }

/* share */
:not(#_) .aob-post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--aob-gold-border); }
:not(#_) .aob-post-share__label { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
:not(#_) .aob-post-share__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
:not(#_) .aob-post-share__list li { margin: 0; }
:not(#_) .aob-post-share__link { display: inline-block; padding: 9px 16px; border: 1px solid var(--aob-gold-border); border-radius: 44px; background: #fff; color: var(--aob-black-3); font: inherit; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background-color 0.25s, color 0.25s, transform 0.25s; }
:not(#_) .aob-post-share__link:focus-visible { outline: 2px solid var(--aob-brand); outline-offset: 3px; }
:not(#_) .aob-post-share__status { flex-basis: 100%; min-height: 1.2em; font-size: 14px; color: #5c564f; }
@media (hover: hover) { :not(#_) .aob-post-share__link:hover { background: var(--aob-black-3); color: var(--aob-white); transform: translateY(-2px); } }

/* ---- FAQ (dark accordion) ---- */
:not(#_) .aob-post-faq { background: var(--aob-black-3); color: var(--aob-light-1); }
:not(#_) .aob-post-faq .aob-post-badge, :not(#_) .aob-post-faq .aob-post-title { color: var(--aob-white); }
:not(#_) .aob-post-faq__inner { max-width: 860px; }
:not(#_) .aob-post-faq__item { border-bottom: 1px solid rgba(245, 242, 237, 0.15); }
:not(#_) .aob-post-faq__heading { margin: 0; }
:not(#_) .aob-post-faq__trigger { display: flex; align-items: center; gap: 16px; width: 100%; box-sizing: border-box; margin: 0; padding: var(--aob-pad-y) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
:not(#_) .aob-post-faq__trigger:focus-visible { outline: 2px solid var(--aob-white); outline-offset: -2px; border-radius: var(--aob-radius); }
:not(#_) .aob-post-faq__num { display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box; width: 42px; height: 42px; border: 1px solid var(--aob-brand); border-radius: 900px; background: var(--aob-black-2); font-family: var(--aob-font-display); font-size: 16px; color: var(--aob-white); }
:not(#_) .aob-post-faq__question { flex: 1; min-width: 0; font-size: 21px; font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; color: var(--aob-white); }
:not(#_) .aob-post-faq__chevron { flex: none; width: 10px; height: 10px; margin: 0 8px; border-right: 2px solid var(--aob-brand-2); border-bottom: 2px solid var(--aob-brand-2); transform: rotate(45deg); transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1); }
:not(#_) .aob-post-faq__item.aob-is-open .aob-post-faq__chevron { transform: rotate(-135deg); }
:not(#_) .aob-post-faq__panel { display: grid; grid-template-rows: 1fr; }
:not(#_) .aob-post-faq__panel-inner { min-height: 0; overflow: hidden; }
:not(#_) .aob-post-faq__answer { margin: 0; padding: 0 0 var(--aob-pad-y) 58px; font-size: 16px; line-height: 1.65; color: var(--aob-light-2); }
:not(#_) .aob-post-faq__list.aob-is-ready .aob-post-faq__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s linear 0.45s; }
:not(#_) .aob-post-faq__list.aob-is-ready .aob-post-faq__item.aob-is-open .aob-post-faq__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
@media (max-width: 767px) { :not(#_) .aob-post-faq__answer { padding-left: 0; } :not(#_) .aob-post-faq__question { font-size: 19px; } }

/* ---- CTA (dark panel on the light section) ---- */
:not(#_) .aob-post-cta { background: var(--aob-light-1); color: var(--aob-black-3); }
:not(#_) .aob-post-cta__panel { position: relative; display: grid; gap: 28px; align-items: center; box-sizing: border-box; padding: 32px var(--aob-pad-x); overflow: hidden; border: 1px solid var(--aob-gold-border); border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, rgba(242, 106, 10, 0.22), transparent 55%), linear-gradient(180deg, var(--aob-black-2), var(--aob-black-3)); box-shadow: 0 24px 60px rgba(17, 16, 14, 0.25); color: var(--aob-light-1); }
:not(#_) .aob-post-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
:not(#_) .aob-post-cta__title { color: var(--aob-white); font-size: clamp(26px, 3vw, 38px); }
:not(#_) .aob-post-cta__lead { max-width: 560px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--aob-light-2); }
@media (min-width: 900px) { :not(#_) .aob-post-cta__panel { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding: 48px 56px; } }

/* ---- related ---- */
:not(#_) .aob-post-related { background: var(--aob-light-2); color: var(--aob-black-3); }
:not(#_) .aob-post-related__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
:not(#_) .aob-post-related__card { position: relative; display: flex; flex: 0 0 100%; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(17, 16, 14, 0.08); border-radius: var(--aob-radius); background: #fff; box-shadow: 0 10px 30px rgba(17, 16, 14, 0.06); transition: transform 0.3s, box-shadow 0.3s; }
:not(#_) .aob-post-related__card { flex-basis: 100%; }
@media (min-width: 700px) { :not(#_) .aob-post-related__card { flex-basis: calc((100% - 32px) / 2); } }
@media (min-width: 1024px) { :not(#_) .aob-post-related__card { flex-basis: calc((100% - 64px) / 3); } }
:not(#_) .aob-post-related__media { overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 2px solid var(--aob-brand-2); background: var(--aob-light-2); }
:not(#_) .aob-post-related__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
:not(#_) .aob-post-related__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: var(--aob-pad-y) var(--aob-pad-x); }
:not(#_) .aob-post-related__date { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #5c564f; }
:not(#_) .aob-post-related__card-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
:not(#_) .aob-post-related__link { color: var(--aob-black-3); text-decoration: none; }
:not(#_) .aob-post-related__link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
:not(#_) .aob-post-related__link:focus-visible { outline: 2px solid var(--aob-brand); outline-offset: 4px; }
:not(#_) .aob-post-related__excerpt { flex: 1; margin: 0; font-size: 16px; line-height: 1.6; color: #5c564f; }
:not(#_) .aob-post-related__more { font-size: 16px; font-weight: 600; color: var(--aob-brand); }
@media (hover: hover) {
	:not(#_) .aob-post-related__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 16, 14, 0.12); }
	:not(#_) .aob-post-related__card:hover .aob-post-related__img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
	:not(#_) .aob-post-related__card, :not(#_) .aob-post-related__img, :not(#_) .aob-post-share__link, :not(#_) .aob-post-faq__chevron, :not(#_) .aob-post-toc__link { transition: none; }
	:not(#_) .aob-post-related__card:hover, :not(#_) .aob-post-related__card:hover .aob-post-related__img, :not(#_) .aob-post-share__link:hover { transform: none; }
	:not(#_) .aob-post-faq__list.aob-is-ready .aob-post-faq__panel { transition: none; }
}
