/* Общий компонент: обложка без полос, один эффект всей карточки и один Tab-фокус. */
.pdf-card-image,.post-card .post-card__image{aspect-ratio:1200/630;padding:0;line-height:0;border-radius:3px 3px 0 0;overflow:hidden}
.pdf-card-image img,.post-card .post-card__image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;margin:0}
:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact){transition:transform .18s ease,box-shadow .18s ease}
:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact):focus-within{outline:none}
:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact) a:is(:focus,:focus-visible){outline:none;box-shadow:none}
:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact):has(a:focus-visible){outline:2px solid #0665ff;outline-offset:3px}
:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact) h3 a:hover,:is(.pdf-card,.post-card,.pdf-lead) h2 a:hover{color:inherit}
@media(hover:hover){:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact):hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(25,49,91,.12)}}
.pdf-featured .pdf-compact{display:flex;padding:12px;gap:14px;align-items:center}
.pdf-compact-image{position:relative;align-self:stretch;flex:0 0 132px;min-height:64px;overflow:hidden;border-radius:4px}
.pdf-compact-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.pdf-compact>div:not(.pdf-compact-image){flex:1;min-width:0}
.pdf-card-grid{align-items:stretch}
.pdf-card--text{height:auto}
.pdf-card--text .pdf-card-body{min-height:0}
.pdf-card--text .pdf-meta{margin-top:12px}
/* Только целиком текстовый ряд: высота по содержимому, смешанный тянется до соседа. */
.pdf-card-grid .pdf-card--text .pdf-card-body{flex:0 0 auto}
.pdf-card--text h3{font-size:18px;line-height:1.3}
.pdf-card--text p{margin-bottom:0}
.pdf-card--text h3>a{-webkit-line-clamp:4}
.article-pdf .related-posts__grid .pdf-card{height:auto}
.article-pdf .related-posts__grid .pdf-card-body{min-height:0}
.article-pdf .related-posts__grid .pdf-card p{max-height:none}
@media(min-width:768px) and (max-width:1100px){.pdf-featured-side{grid-template-columns:1fr}.pdf-compact-image{flex-basis:160px;min-height:78px}.pdf-featured .pdf-compact h3{margin-bottom:0}}
@media(max-width:767px){.pdf-compact-image{flex-basis:112px;min-height:76px}.pdf-featured .pdf-compact{padding:12px;gap:12px}.pdf-card--text h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){:is(.pdf-card,.post-card,.pdf-lead,.pdf-compact){transition:none!important;transform:none!important}}
