/* GRS theme — pain. Extracted 1:1 from reference/final-design.html (do not change values). */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pcard{border:1px solid var(--line);border-radius:var(--r);padding:30px;display:flex;flex-direction:column;background:#fff}
.pcard .ic{width:50px;height:50px;border-radius:12px;background:#E7F5EC;color:var(--btn);display:grid;place-items:center;margin-bottom:20px}
.pcard h3{font-size:20px;font-weight:600;line-height:1.3;margin-bottom:10px;white-space:nowrap}
.pcard .desc{color:var(--muted);font-size:15px;line-height:1.6;height:4.8em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pcard .more{display:none}
.pcard .foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:16px;border-top:1px dashed #DDD}
.pcard .foot b{font-weight:600;font-size:15px}
.pcard .foot b em{font-style:normal;color:#C0392B}
.bubble{font-size:12px;font-weight:600;color:#C0392B;background:#FDECEA;border-radius:999px;padding:5px 12px;white-space:nowrap}

/* responsive (from the reference RESPONSIVE block, original order) */
@media (min-width:721px) and (max-width:1180px){
  .pcard h3{white-space:normal}
  .pcard .desc{-webkit-line-clamp:unset;height:auto;flex:1}
}
@media (max-width:720px){
  .grid3{grid-template-columns:1fr;gap:14px}
  .pcard{padding:24px}
  .pcard .ic{display:none}
  .pcard h3{font-size:16px}
  .pcard .foot b{font-size:13px!important}
  .pcard .desc{-webkit-line-clamp:2;height:auto}
  .pcard.open .desc{display:block}
  .pcard .more{display:inline-block;align-self:flex-start;background:none;border:0;font:inherit;font-size:14px;font-weight:600;color:var(--btn);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px 0 0}
  .pcard .foot{margin-top:14px}
  .pcard .foot b{font-size:14px}
}

/* ===== Theme additions ===== */
.pcard .more:focus-visible{outline:2px solid var(--btn);outline-offset:3px}
