/* Post card (includes/post_card.php). Load after style.css. */
.exam-card.pcard{ padding:0; gap:0; overflow:hidden; }
.pcard .pc-media{ display:block; position:relative; aspect-ratio:16 / 6; overflow:hidden; flex:none;
  background:linear-gradient(135deg, rgba(var(--brand-rgb),0.55), rgba(var(--brand-rgb),0.95)); }
.pcard .pc-media img{ display:block; width:100%; height:100%; object-fit:cover; }
/* fade the bottom of the image into the card colour (follows dark mode through --paper-raised) */
.pcard .pc-media::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:65%; pointer-events:none;
  background:linear-gradient(to bottom, transparent, var(--paper-raised) 85%); }
/* beats style.css ".exam-card > *:last-child{margin-top:auto}" so the title can sit on the fade */
.exam-card.pcard > .pc-body{ position:relative; flex:1; min-width:0; margin-top:-22px; padding:0 16px 16px; display:flex; flex-direction:column; gap:8px; }
.exam-card.pcard.pc-noimg > .pc-body{ margin-top:0; padding-top:16px; }
.pcard .pc-body > h3{ margin:0; line-height:1.3; padding-right:0; }
.pcard .pc-excerpt{ margin:0; font-size:12.5px; line-height:1.55; color:var(--slate); }
.pcard .pc-excerpt a{ color:var(--green); font-weight:600; white-space:nowrap; }
.pcard .exam-meta{ margin-top:auto; padding-top:4px; }
.pcard .share-btn{ box-shadow:0 1px 4px rgba(0,0,0,0.18); }
.pcard.pc-noimg .pc-body > h3{ padding-right:36px; }