.cpi-program-card {display:flex;flex-direction:column;height:100%}
.cpi-program-card .cpi-program-body {height:auto;flex:1;min-width:0}
.cpi-program-card .cpi-program-summary {margin-bottom:20px}
.cpi-program-facts {
  display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
  gap:14px 18px;margin-top:auto;padding-block:17px 20px;border-top:1px solid #60071f18;
}
.cpi-program-facts dt {color:#70645e;font-size:.6875rem;font-weight:500;line-height:1.6;margin-bottom:4px}
.cpi-program-facts dd {color:#38252a;font-size:.8125rem;font-weight:600;line-height:1.7;margin:0;overflow-wrap:anywhere}
.cpi-program-fact-duration {grid-column:1/-1}
.cpi-program-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.cpi-program-actions .cpi-program-more,
.cpi-program-enquire {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:52px;margin:0;padding:13px 16px;font-size:.8125rem;font-weight:650;
  border-radius:9px;line-height:1.7;text-decoration:none;
}
.cpi-program-enquire {background:#60071f;color:#fff7eb;border:1px solid #60071f;transition:background .2s ease,box-shadow .2s ease}
.cpi-program-enquire:hover {background:#7a1731;box-shadow:0 6px 18px #60071f20}
.cpi-program-actions .cpi-program-more:hover {color:#fff8ec;background:#60071f;border-color:#60071f}
.cpi-program-actions a:focus-visible {outline:2px solid #8f5f34;outline-offset:4px}
.cpi-program-enquire>span:last-child {font-size:1.2rem;line-height:1}
.cpi-detail-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.cpi-contact-form {scroll-margin-top:124px}
.cpi-inquiry-context {display:flex;flex-direction:column;gap:7px;margin-top:22px;padding:17px 20px;border-inline-start:3px solid #bd935d;border-radius:4px 10px 10px 4px;background:#60071f06;overflow-wrap:anywhere}
html[dir=rtl] .cpi-inquiry-context {border-radius:10px 4px 4px 10px}
.cpi-inquiry-context>span {font-size:.75rem;color:#796959}
.cpi-inquiry-context>strong {font-size:1rem;line-height:1.8;color:#60071f;font-weight:600}
@media(max-width:380px){.cpi-program-actions .cpi-program-more,.cpi-program-enquire{padding-inline:12px;font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.cpi-program-enquire{transition:none}}

.cpi-detail-actions .cpi-detail-back {color:#fff3df;background:#fff3df0a;border:1px solid #fff3df4d;padding:12px 18px;min-height:44px;border-radius:999px}
.cpi-detail-actions .cpi-detail-back:hover {color:#fff;background:#fff3df18}
