.post-hero { padding-bottom: 44px; }
.post-hero h1 { max-width: 980px; }
.post-hero__rubric { display: inline-block; margin: 2px 0 14px; padding: 4px 12px; border-radius: var(--r-full); background: rgba(245,158,11,.16); color: #fbbf24; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.post-hero__rubric:hover, .post-hero__rubric:focus { background: rgba(245,158,11,.28); color: #fcd34d; text-decoration: none; }
.post-hero__meta { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }
.post-hero__author { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); }
.post-hero__author:hover, .post-hero__author:focus { color: #fff; border-bottom-color: #fff; text-decoration: none; }
.post-hero__dates { display: block; color: rgba(255,255,255,.66); }
.post-hero__draft { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-radius: var(--r-sm); background: #fde68a; color: #78350f; font-size: 14px; font-weight: 600; }

.post-section { padding-top: 48px; padding-bottom: 64px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.post-main { min-width: 0; max-width: 780px; }
.post-content.legal-content { max-width: none; margin: 0; }
.post-content h2 { scroll-margin-top: 110px; }
.post-content img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; }
.post-content th, .post-content td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.post-content th { background: var(--c-bg-alt); font-family: var(--font-heading); font-size: 15px; }
.post-content .table-wrap { overflow-x: auto; margin: 0 0 20px; }
.post-content .table-wrap table { margin: 0; min-width: 560px; }
.post-content figure { margin: 24px 0; }
.post-content figcaption { margin-top: 8px; font-size: 14px; color: var(--c-text-secondary); }
.post-content blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--c-primary-light); color: var(--c-text); }

.post-content .note { position: relative; margin: 22px 0; padding: 16px 18px 16px 52px; border-radius: var(--r-md); font-size: 16px; line-height: 1.6; }
.post-content .note::before { position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; font-family: var(--font-heading); font-weight: 800; font-size: 15px; line-height: 24px; text-align: center; }
.post-content .note--important { background: #fff7ed; border: 1px solid #fed7aa; }
.post-content .note--important::before { content: "!"; background: var(--c-cta); color: var(--c-dark); }
.post-content .note--tip { background: var(--c-primary-50); border: 1px solid var(--c-primary-light); }
.post-content .note--tip::before { content: "i"; background: var(--c-primary); color: #fff; }
.post-content .note--data { background: #f0fdf4; border: 1px solid #bbf7d0; }
.post-content .note--data::before { content: "#"; background: var(--c-success); color: #fff; }
.post-content .note > b:first-child { display: block; margin-bottom: 4px; font-family: var(--font-heading); }

.post-summary { margin: 0 0 28px; padding: 22px 24px; border-radius: var(--r-md); background: var(--c-bg); border: 1px solid var(--c-border); border-left: 4px solid var(--c-primary); }
.post-summary__title { margin: 0 0 10px; font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--c-dark); }
.post-summary ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; list-style: disc; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li::marker { color: var(--c-primary); }
.post-summary li { margin-bottom: 6px; }
.post-summary li:last-child { margin-bottom: 0; }

.post-toc__title { margin: 0 0 10px; font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--c-dark); text-transform: uppercase; letter-spacing: .04em; }
.post-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.post-toc li { counter-increment: toc; margin: 0; }
.post-toc a { display: block; position: relative; padding: 6px 8px 6px 30px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.4; color: var(--c-text); text-decoration: none; }
.post-toc a::before { content: counter(toc); position: absolute; left: 8px; top: 6px; color: var(--c-text-secondary); font-size: 13px; font-weight: 700; font-family: var(--font-heading); }
.post-toc a:hover, .post-toc a:focus { background: var(--c-bg-alt); color: var(--c-dark); text-decoration: none; }
.post-toc a.is-current { background: var(--c-primary-50); color: var(--c-primary-dark); font-weight: 600; }
.post-toc a.is-current::before { color: var(--c-primary); }

.post-toc-mobile { display: none; margin: 0 0 28px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.post-toc-mobile > summary { padding: 14px 18px; font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--c-dark); cursor: pointer; list-style: none; }
.post-toc-mobile > summary::-webkit-details-marker { display: none; }
.post-toc-mobile > summary::after { content: "+"; float: right; font-size: 20px; line-height: 1; color: var(--c-primary); }
.post-toc-mobile[open] > summary::after { content: "–"; }
.post-toc-mobile .post-toc { padding: 0 10px 12px; }
.post-toc-mobile .post-toc__title { display: none; }

.post-aside { position: relative; height: 100%; }
.post-aside__sticky { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 124px); }
.post-toc--aside { flex: 0 1 auto; min-height: 120px; overflow-y: auto; padding: 16px 12px 12px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.post-toc--aside a { font-size: 14px; padding-top: 5px; padding-bottom: 5px; }
.post-toc--aside a::before { top: 5px; }
.post-service--aside { flex: none; }

.post-service { padding: 20px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--c-dark) 0%, #1a2744 100%); color: #fff; }
.post-service__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fbbf24; }
.post-service__title { margin: 0 0 8px; font-family: var(--font-heading); font-size: 18px; font-weight: 800; line-height: 1.3; }
.post-service__title a { color: #fff; text-decoration: none; }
.post-service__title a:hover, .post-service__title a:focus { color: #bfdbfe; text-decoration: none; }
.post-service__text { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.post-service__price { margin: 0 0 14px; font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: #fff; }
.post-service__btn { width: 100%; padding: 12px 16px; font-size: 15px; }

.post-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0; padding: 22px 24px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%); color: #fff; }
.post-banner__title { margin: 0 0 6px !important; font-family: var(--font-heading); font-size: 19px; font-weight: 800; line-height: 1.3; color: #fff; }
.post-banner__desc { margin: 0 !important; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }
.post-banner__desc b { color: #fff; white-space: nowrap; }
.post-banner__actions { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.post-banner__actions .btn { padding: 12px 22px; font-size: 15px; }
.legal-content .post-banner__link { color: #fff; font-size: 14px; text-decoration: underline; }
.legal-content .post-banner__link:hover, .legal-content .post-banner__link:focus { color: #dbeafe; }

.post-download { margin: 32px 0 0; padding: 22px 24px; border: 2px dashed var(--c-primary-light); border-radius: var(--r-md); background: var(--c-primary-50); }
.post-download__title { margin: 0 0 6px; font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--c-dark); }
.post-download__text { margin: 0 0 14px; font-size: 15px; color: var(--c-text-secondary); }
.post-download__files { display: flex; flex-wrap: wrap; gap: 10px; }
.post-download__file { display: inline-flex; padding: 10px 16px; border-radius: var(--r-sm); background: var(--c-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 15px; text-decoration: none; }
.post-download__file:hover, .post-download__file:focus { background: var(--c-primary-dark); color: #fff; text-decoration: none; }

.post-method { margin: 36px 0 0; padding: 20px 22px; border-radius: var(--r-md); background: var(--c-bg); border: 1px solid var(--c-border); font-size: 15px; line-height: 1.6; }
.post-method p { margin: 0 0 8px; }
.post-method__title { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--c-dark); }
.post-method__sub { margin-top: 12px !important; font-weight: 700; color: var(--c-dark); }
.post-method ul { margin: 0; padding-left: 20px; list-style: disc; }
.post-method li { margin-bottom: 4px; }
.post-method a { color: var(--c-primary); text-decoration: underline; word-break: break-word; }
.post-method a:hover, .post-method a:focus { color: var(--c-primary-dark); }

.post-author { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 18px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.post-author__mark { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.post-author__name { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 17px; }
.post-author__name a { color: var(--c-dark); text-decoration: none; }
.post-author__name a:hover, .post-author__name a:focus { color: var(--c-primary); text-decoration: none; }
.post-author__role { margin: 2px 0 0; font-size: 15px; color: var(--c-text-secondary); }

.post-feedback { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin: 24px 0 0; }
.post-helpful__q, .post-share__title { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--c-dark); }
.post-helpful__btns { display: flex; gap: 10px; }
.post-helpful__btn { min-width: 76px; padding: 9px 18px; border-radius: var(--r-sm); border: 2px solid var(--c-border); background: #fff; color: var(--c-dark); font-family: var(--font-heading); font-weight: 700; font-size: 15px; cursor: pointer; }
.post-helpful__btn:hover, .post-helpful__btn:focus { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary-dark); }
.post-helpful__thanks { margin: 0; font-size: 15px; font-weight: 600; color: var(--c-success); }
.post-helpful__thanks[hidden], .post-helpful__btns[hidden] { display: none; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 420px; }
.post-share__title { flex: 0 0 100%; }
.post-share__btn { display: inline-flex; padding: 8px 14px; border-radius: var(--r-full); border: 1px solid var(--c-border); background: #fff; color: var(--c-text); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: var(--font-body); }
.post-share__btn:hover, .post-share__btn:focus { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary-dark); text-decoration: none; }

.post-block-title { margin: 0 0 24px; font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--c-dark); }
.post-services { padding: 56px 0; }
.post-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-services__card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.post-services__card:hover, .post-services__card:focus { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; text-decoration: none; }
.post-services__name { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--c-dark); }
.post-services__text { flex: 1; font-size: 15px; line-height: 1.5; color: var(--c-text-secondary); }
.post-services__price { font-family: var(--font-heading); font-weight: 800; color: var(--c-primary); }

.post-related { padding: 56px 0 64px; }
.post-related__all { margin: 24px 0 0; text-align: center; }
.post-related__all a { font-family: var(--font-heading); font-weight: 700; color: var(--c-primary); }
.post-related__all a:hover, .post-related__all a:focus { color: var(--c-primary-dark); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--c-border); background: #fff; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__cover { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, var(--c-dark) 0%, #1e3a8a 100%); overflow: hidden; }
.post-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__cover-empty { display: flex; align-items: center; justify-content: center; height: 100%; padding: 16px; color: rgba(255,255,255,.7); font-family: var(--font-heading); font-weight: 700; text-align: center; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.post-card__rubric { align-self: flex-start; margin-bottom: 10px; padding: 3px 10px; border-radius: var(--r-full); background: var(--c-primary-50); color: var(--c-primary); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.post-card__title { margin: 0 0 8px; font-family: var(--font-heading); font-size: 18px; font-weight: 800; line-height: 1.3; }
.post-card__title a { color: var(--c-dark); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__title a:hover, .post-card__title a:focus { color: var(--c-primary); text-decoration: none; }
.post-card__excerpt { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-text-secondary); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--c-border); font-size: 13px; color: var(--c-text-secondary); }
.post-card__meta > * + * { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--c-border); }
.post-card__draft { color: #b45309; font-weight: 700; }
.post-card--wide { grid-column: 1 / -1; flex-direction: row; }
.post-card--wide .post-card__cover { flex: 0 0 58%; }
.post-card--wide .post-card__body { padding: 28px 30px; justify-content: center; }
.post-card--wide .post-card__title { font-size: 26px; }
.post-card--wide .post-card__excerpt { flex: 0 0 auto; font-size: 17px; }

.blog-index { padding-top: 56px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.blog-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-full); border: 2px solid var(--c-border); background: #fff; color: var(--c-dark); font-family: var(--font-heading); font-size: 14px; font-weight: 700; text-decoration: none; }
.blog-chip span { color: var(--c-text-secondary); font-weight: 600; }
.blog-chip:hover, .blog-chip:focus { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }
.blog-chip.is-active { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.blog-chip.is-active span { color: rgba(255,255,255,.8); }
.blog-empty { padding: 40px 0; text-align: center; color: var(--c-text-secondary); }
.post-card.is-hidden { display: none; }
.post-grid.is-filtered .post-card--wide { grid-column: auto; flex-direction: column; }
.post-grid.is-filtered .post-card--wide .post-card__cover { flex: 0 0 auto; }
.post-grid.is-filtered .post-card--wide .post-card__body { padding: 18px 20px 16px; justify-content: flex-start; }
.post-grid.is-filtered .post-card--wide .post-card__title { font-size: 18px; }
.post-grid.is-filtered .post-card--wide .post-card__excerpt { flex: 1; font-size: 15px; }

@media (max-width: 1199px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-main { max-width: 820px; margin: 0 auto; width: 100%; }
  .post-aside { display: none; }
  .post-toc-mobile { display: block; }
}
@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--wide { flex-direction: column; }
  .post-card--wide .post-card__cover { flex: 0 0 auto; }
  .post-card--wide .post-card__body { padding: 20px 22px 18px; }
  .post-card--wide .post-card__title { font-size: 22px; }
}
@media (max-width: 767px) {
  .post-hero h1 { font-size: 28px; }
  .post-hero__meta { font-size: 14px; }
  .post-section { padding-top: 32px; padding-bottom: 48px; }
  .post-grid, .post-services__grid { grid-template-columns: minmax(0, 1fr); }
  .post-banner { flex-direction: column; align-items: stretch; padding: 20px; }
  .post-banner__actions { align-items: stretch; }
  .post-summary { padding: 18px 18px 18px 16px; }
  .post-block-title { font-size: 23px; }
  .post-feedback { flex-direction: column; }
  .post-content .note { padding: 14px 14px 14px 46px; }
  .post-content .note::before { left: 12px; top: 13px; }
}

.post-author__certs { margin: 4px 0 0; font-size: 14px; }
.post-author__certs a { color: var(--c-primary); text-decoration: underline; }
.post-author__certs a:hover, .post-author__certs a:focus { color: var(--c-primary-dark); }
.post-helpful__report { margin: 10px 0 0; font-size: 14px; color: var(--c-text-secondary); }
.post-helpful__report a { color: var(--c-primary); text-decoration: underline; }
.post-helpful__report a:hover, .post-helpful__report a:focus { color: var(--c-primary-dark); }
.post-case { margin: 36px 0 0; }
.post-case__title { margin: 0 0 14px; font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--c-dark); }
.post-case__more { margin: 12px 0 0; font-size: 15px; }
.post-case__more a { color: var(--c-primary); font-weight: 600; }
.post-case__more a:hover, .post-case__more a:focus { color: var(--c-primary-dark); }

.author-hero__grid { display: flex; align-items: center; gap: 28px; margin-top: 6px; }
.author-hero__photo { flex: 0 0 112px; width: 112px; height: 112px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 38px; display: flex; align-items: center; justify-content: center; border: 4px solid rgba(255,255,255,.18); }
.author-hero__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.author-hero__role { margin: 10px 0 0; font-size: 18px; color: rgba(255,255,255,.85); }
.author-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.author-hero__facts span { padding: 5px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.1); color: #fff; font-size: 14px; font-weight: 600; }
.author-about { padding-top: 48px; padding-bottom: 32px; }
.author-text { margin: 0; max-width: 820px; }
.author-certs__lead { margin: -8px 0 24px; color: var(--c-text-secondary); font-size: 16px; }
.author-certs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.author-cert { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.author-cert__img { display: block; background: var(--c-bg-alt); aspect-ratio: 4 / 3; overflow: hidden; }
.author-cert__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.author-cert figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.author-cert__issuer { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-primary); }
.author-cert__name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--c-dark); }
.author-cert__meta { font-size: 13px; color: var(--c-text-secondary); }
.author-cert__verify { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--c-primary); text-decoration: underline; }
.author-cert__verify:hover, .author-cert__verify:focus { color: var(--c-primary-dark); }
.author-posts { padding-top: 56px; }
@media (max-width: 1023px) { .author-certs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .author-hero__grid { flex-direction: column; align-items: flex-start; gap: 16px; }
  .author-hero__photo { width: 84px; height: 84px; flex-basis: 84px; font-size: 28px; }
  .author-certs__grid { grid-template-columns: minmax(0, 1fr); }
}
.author-cert figcaption, .author-cert__name, .author-cert__issuer { font-style: normal; }
img.post-author__mark { display: block; object-fit: cover; object-position: 50% 30%; background: var(--c-bg-alt); }
.author-hero__photo img { object-position: 50% 30%; }
.author-facts { display: grid; gap: 12px; margin: 0 0 16px; }
.author-facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; }
.author-facts dt { font-weight: 700; color: var(--c-dark); }
.author-facts dd { margin: 0; }
.legal-content .author-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.legal-content .author-tools li { margin: 0; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: var(--r-full); background: #fff; font-size: 15px; }
@media (max-width: 767px) { .author-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
